diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2016-03-22 13:59:16 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2016-03-22 13:59:16 +0000 |
| commit | 0fc69ce3ad89844dd5fb2f87532e7b6fca55923d (patch) | |
| tree | b89a251b26e0726a80c4c24eb0b726f1bbaeea62 /views/admin/presentation.phtml | |
| parent | c14a7c20ec8c489a37412cebb524e367679f5a60 (diff) | |
- sync
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5439 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/admin/presentation.phtml')
| -rw-r--r-- | views/admin/presentation.phtml | 54 |
1 files changed, 24 insertions, 30 deletions
diff --git a/views/admin/presentation.phtml b/views/admin/presentation.phtml index 10958eb..54ac5ad 100644 --- a/views/admin/presentation.phtml +++ b/views/admin/presentation.phtml @@ -7,43 +7,37 @@ ?>
<div class="wpsg_admin_submenu">
- <div class="head">
- <div class="title"><?php echo __("Einstellungen", "wpsg"); ?></div>
- <div style="clear:both;"></div>
- </div>
-
- <ul>
- <?php foreach ($this->view['arSubAction'] as $k => $v) { ?>
- <li class="<?php echo (($k == $this->view['subAction'])?'current':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&subaction=<?php echo $k; ?>"><?php echo $v['Menutext']; ?></a></li>
+ <div class="list-group">
+ <span class="list-group-head list-group-item"><?php echo __('Konfiguration'); ?></span>
+ <?php foreach ($this->view['arSubAction'] as $k => $v) { ?>
+ <a class="list-group-item <?php echo (($k == $this->view['subAction'])?'active':''); ?>" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&subaction=<?php echo $k; ?>"><?php echo $v['Menutext']; ?></a>
<?php } ?>
- </ul>
+ </div>
</div>
-<div style="padding:0px; margin:0px; float:left;">
+<div class="wpsg_admin_content form-horizontal">
<form name="form1" method="post" enctype="multipart/form-data" action="<?php echo wpsg_hspc(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=presentation&noheader=1'); ?>">
- <?php echo wpsg_drawForm_Checkbox('wpsg_showMwstAlways', __('MwSt. Spalte auch bei einem Satz zeigen', 'wpsg'), $this->get_option('wpsg_showMwstAlways')); ?>
- <?php echo wpsg_drawForm_Checkbox('wpsg_showArticelnumber', __('Artikelnummer im Produkttemplate anzeigen', 'wpsg'), $this->get_option('wpsg_showArticelnumber')); ?>
- <?php echo wpsg_drawForm_Select('wpsg_form_validation', __('Formular Validierung', 'wpsg'), array(
- '0' => __('Serverseitig', 'wpsg'),
- '1' => __('Serverseitig + Javascript V1', 'wpsg'),
- '2' => __('Serverseitig + Javascript V2', 'wpsg')
- ), $this->get_option('wpsg_form_validation')); ?>
- <?php echo wpsg_drawForm_Checkbox('wpsg_hideBasketCountrySelect', __('Länderauswahl im Warenkorb verbergen', 'wpsg'), $this->get_option('wpsg_hideBasketCountrySelect')); ?>
-
- <?php $this->callMods('admin_presentation'); ?>
+ <div class="panel panel-default">
+ <div class="panel-heading clearfix">
+ <h3 class="panel-title"><?php echo __('Einstellungen', 'wpsg'); ?></h3>
+ </div>
+ <div class="panel-body">
- <script type="text/javascript">
-
- jQuery(document).ready(function() {
-
- jQuery('.wpsg_form_help').tipTip();
-
- } );
-
- </script>
-
+ <?php echo wpsg_drawForm_Select('wpsg_form_validation', __('Formular Validierung', 'wpsg'), array(
+ '0' => __('Serverseitig', 'wpsg'),
+ '1' => __('Serverseitig + Javascript V1', 'wpsg'),
+ '2' => __('Serverseitig + Javascript V2', 'wpsg')
+ ), $this->get_option('wpsg_form_validation')); ?>
+ <?php $this->callMods('admin_presentation'); ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_showMwstAlways', __('MwSt. Spalte auch bei einem Satz zeigen', 'wpsg'), $this->get_option('wpsg_showMwstAlways')); ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_showArticelnumber', __('Artikelnummer im Produkttemplate anzeigen', 'wpsg'), $this->get_option('wpsg_showArticelnumber')); ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_hideBasketCountrySelect', __('Länderauswahl im Warenkorb verbergen', 'wpsg'), $this->get_option('wpsg_hideBasketCountrySelect')); ?>
+
+ </div>
+ </div>
+
<p class="submit"><input type="submit" value="<?php echo __('Einstellungen speichern', 'wpsg'); ?>" class="button-primary" id="submit" name="submit" /></p>
</form>
|
