summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorthomas <noreply@maennchen1.de>2018-09-03 08:46:38 +0000
committerthomas <noreply@maennchen1.de>2018-09-03 08:46:38 +0000
commit8fc7a3c2001543789eec3eecd3f48c7fff1bcc2b (patch)
tree1ebb7b626b923d33ace47815c550c67d26172d08 /views
parent2cbe90ad2f7fbeaaf7c44ae0a41c1d79d37b2d1a (diff)
- Darstellungsoptionen
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7120 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views')
-rw-r--r--views/mods/mod_productvars/settings_edit.phtml42
-rw-r--r--views/mods/mod_produktattribute/settings_edit.phtml64
2 files changed, 61 insertions, 45 deletions
diff --git a/views/mods/mod_productvars/settings_edit.phtml b/views/mods/mod_productvars/settings_edit.phtml
index 4e48db1..4011320 100644
--- a/views/mods/mod_productvars/settings_edit.phtml
+++ b/views/mods/mod_productvars/settings_edit.phtml
@@ -45,28 +45,30 @@
</script>
<br />
-
-<div class="wpsg_productvars_form">
- <?php echo wpsg_drawForm_Checkbox('wpsg_mod_productvars_showProduct', __('Produktvariable(n) im Produkttemplate abfragen', 'wpsg'), $this->get_option('wpsg_mod_productvars_showProduct'), array('help' => 'wpsg_mod_productvars_showProduct')); ?>
-</div>
-
-<br />
-<div class="wpsg_admin_box">
-
- <div class="head">
- <div class="title">
- <div class="fulltab">
-
+<div>
+ <ul class="nav nav-tabs">
+ <li role="presentation" class="active"><a href="#tab1" role="tab" data-toggle="tab"><?php echo __('Globale Produktvarianten', 'wpsg'); ?></a></li>
+ <li role="presentation"><a href="#tab2" role="tab" data-toggle="tab"><?php echo __('Einstellungen', 'wpsg'); ?></a></li>
+ </ul>
+ <div class="tab-content">
+ <div id="tab1" role="tabpanel" class="tab-pane active">
+ <div class="content" id="wpsg_pv_list">
+ <?php echo $this->mod->pv_list(); ?>
</div>
- </div>
- </div>
- <div class="content" id="wpsg_pv_list">
- <?php echo $this->mod->pv_list(); ?>
- </div>
- <br />
+ <br />
- <a title="<?php echo __('Neue Produktvariable anlegen', 'wpsg'); ?>" href="" class="" onclick="return wpsg_addPV();"><span class="glyphicon wpsg-glyphicon glyphicon-plus"></span><?php echo __('Neue Produktvariable anlegen.', 'wpsg'); ?></a>
-
+ <a title="<?php echo __('Neue Produktvariable anlegen', 'wpsg'); ?>" href="" class="" onclick="return wpsg_addPV();"><span class="glyphicon wpsg-glyphicon glyphicon-plus"></span><?php echo __('Neue Produktvariable anlegen.', 'wpsg'); ?></a>
+
+ </div>
+ <div id="tab2" role="tabpanel" class="tab-pane">
+
+ <div class="wpsg_productvars_form">
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_productvars_showProduct', __('Produktvariable(n) im Produkttemplate abfragen', 'wpsg'), $this->get_option('wpsg_mod_productvars_showProduct'), array('help' => 'wpsg_mod_productvars_showProduct')); ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_productvars_showBasket', __('Produktvariable(n) im Warenkorbtemplate darstellen', 'wpsg'), $this->get_option('wpsg_mod_productvars_showBasket'), array('help' => 'wpsg_mod_productvars_showBasket')); ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_productvars_showOverview', __('Produktvariable(n) im Bestellübersichtstemplate darstellen', 'wpsg'), $this->get_option('wpsg_mod_productvars_showOverview'), array('help' => 'wpsg_mod_productvars_showOverview')); ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_productvars_showMail', __('Produktvariable(n) im Mailtemplate darstellen', 'wpsg'), $this->get_option('wpsg_mod_productvars_showMail'), array('help' => 'wpsg_mod_productvars_showMail')); ?>
+ </div>
+ </div>
</div> \ No newline at end of file
diff --git a/views/mods/mod_produktattribute/settings_edit.phtml b/views/mods/mod_produktattribute/settings_edit.phtml
index fab13ac..1d0e672 100644
--- a/views/mods/mod_produktattribute/settings_edit.phtml
+++ b/views/mods/mod_produktattribute/settings_edit.phtml
@@ -84,30 +84,44 @@
/* ]]> */</script>
-<!-- Modal für Codeanzeige -->
-<div class="modal fade" id="wpsg_code_dialog" tabindex="-1" role="dialog">
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
- <h4 class="modal-title" id="myModalLabel"><?php echo __('HTML Code Block', 'wpsg'); ?></h4>
- </div>
- <div class="modal-body">
-
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo __('Schließen', 'wpsg'); ?></button>
- </div>
- </div>
- </div>
-</div>
-
-<div class="content" id="wpsg_pa_list">
- <?php $this->mod->pa_listAction(); ?>
-</div>
-
-<div class="clear"></div>
-
<br />
-<a href="#" onclick="return wpsg_addPA();"><span class="wpsg-glyphicon glyphicon glyphicon-plus"></span><?php echo __('Neues Produktattribut anlegen', 'wpsg'); ?></a>
+<div>
+ <ul class="nav nav-tabs">
+ <li role="presentation" class="active"><a href="#tab1" role="tab" data-toggle="tab"><?php echo __('Globale Produktattribute', 'wpsg'); ?></a></li>
+ <li role="presentation"><a href="#tab2" role="tab" data-toggle="tab"><?php echo __('Einstellungen', 'wpsg'); ?></a></li>
+ </ul>
+ <div class="tab-content">
+ <div id="tab1" role="tabpanel" class="tab-pane active">
+ <!-- Modal für Codeanzeige -->
+ <div class="modal fade" id="wpsg_code_dialog" tabindex="-1" role="dialog">
+ <div class="modal-dialog" role="document">
+ <div class="modal-content">
+ <div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
+ <h4 class="modal-title" id="myModalLabel"><?php echo __('HTML Code Block', 'wpsg'); ?></h4>
+ </div>
+ <div class="modal-body"></div>
+ <div class="modal-footer"><button type="button" class="btn btn-default" data-dismiss="modal"><?php echo __('Schließen', 'wpsg'); ?></button></div>
+ </div>
+ </div>
+ </div>
+
+ <div class="content" id="wpsg_pa_list"><?php $this->mod->pa_listAction(); ?></div>
+
+ <div class="clear"></div>
+
+ <br />
+
+ <a href="#" onclick="return wpsg_addPA();"><span class="wpsg-glyphicon glyphicon glyphicon-plus"></span><?php echo __('Neues Produktattribut anlegen', 'wpsg'); ?></a>
+ </div>
+ <div id="tab2" role="tabpanel" class="tab-pane">
+
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_produktattribute_showProduct', __('Produktattribut(e) im Produkttemplate anzeigen', 'wpsg'), $this->get_option('wpsg_mod_produktattribute_showProduct'), array('help' => 'wpsg_mod_produktattribute_showProduct')); ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_produktattribute_showBasket', __('Produktattribut(e) im Warenkorbtemplate anzeigen', 'wpsg'), $this->get_option('wpsg_mod_produktattribute_showBasket'), array('help' => 'wpsg_mod_produktattribute_showBasket')); ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_produktattribute_showOverview', __('Produktattribut(e) im Bestellübersichtstemplate anzeigen', 'wpsg'), $this->get_option('wpsg_mod_produktattribute_showOverview'), array('help' => 'wpsg_mod_produktattribute_showOverview')); ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_produktattribute_showMail', __('Produktattribut(e) in Mailemplates anzeigen', 'wpsg'), $this->get_option('wpsg_mod_produktattribute_showMail'), array('help' => 'wpsg_mod_produktattribute_showMail')); ?>
+
+ </div>
+ </div>
+</div> \ No newline at end of file