diff options
| author | thomas <noreply@maennchen1.de> | 2016-04-11 15:08:33 +0000 |
|---|---|---|
| committer | thomas <noreply@maennchen1.de> | 2016-04-11 15:08:33 +0000 |
| commit | 209ec298b7653e203a00942ffe92d8d8596a36e8 (patch) | |
| tree | 3f1e4be4521adcb5516d3adf4e881e4394a8c75d | |
| parent | c3b1ff987a791957aab7537df218d81d3db4b427 (diff) | |
- Aboprodukte und Füllmenge in Produktbackend
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5456 0d5edaf7-2b12-4e95-93f4-047927463d4b
| -rw-r--r-- | views/css/admin.css | 2 | ||||
| -rw-r--r-- | views/mods/mod_abo/produkt_addedit_content.phtml (renamed from views/mods/mod_abo/produkt_edit_content.phtml) | 0 | ||||
| -rw-r--r-- | views/mods/mod_fuellmenge/produkt_edit_sidebar.phtml | 8 |
3 files changed, 9 insertions, 1 deletions
diff --git a/views/css/admin.css b/views/css/admin.css index 264ba6a..cdbe36b 100644 --- a/views/css/admin.css +++ b/views/css/admin.css @@ -82,7 +82,7 @@ .wpsg_admin_wrap { position:relative; }
.wpsg_admin_submenu { width:180px; float:left; }
.wpsg_admin_content { padding-left:20px; width:800px; float:left; }
-.wpsg_admin_content h3 { margin-top:0px; margin-bottom:25px; }
+.wpsg_admin_content h3 { margin:20px; }
.wpsg_admin_content h3.panel-title { margin-bottom:0px; }
.wpsg_admin_submenu .list-group-item { padding:5px 10px; }
.list-group { margin-bottom:15px !important; }
diff --git a/views/mods/mod_abo/produkt_edit_content.phtml b/views/mods/mod_abo/produkt_addedit_content.phtml index a4d0b67..a4d0b67 100644 --- a/views/mods/mod_abo/produkt_edit_content.phtml +++ b/views/mods/mod_abo/produkt_addedit_content.phtml diff --git a/views/mods/mod_fuellmenge/produkt_edit_sidebar.phtml b/views/mods/mod_fuellmenge/produkt_edit_sidebar.phtml index c21c496..bdd6746 100644 --- a/views/mods/mod_fuellmenge/produkt_edit_sidebar.phtml +++ b/views/mods/mod_fuellmenge/produkt_edit_sidebar.phtml @@ -14,4 +14,12 @@ <?php echo wpsg_drawForm_Select('feinheit', __('Einheit', 'wpsg'), $this->view['data']['arFeinheiten'], $this->view['data']['feinheit']); ?>
<?php echo wpsg_drawForm_Input('fmenge', __('Füllmenge', 'wpsg'), wpsg_tf($this->view['data']['fmenge'])); ?>
</div>
+
+ <?php echo wpsg_drawForm_Input('wpsg_mod_fuellmenge_einheit', __('Mögliche Einheiten (Kommagetrennt)', 'wpsg'), $this->get_option('wpsg_mod_fuellmenge_einheit'), array('help' => 'wpsg_mod_fuellmenge_einheit')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_fuellmenge_bezug', __('Bezugsgröße', 'wpsg'), $this->get_option('wpsg_mod_fuellmenge_bezug'), array('help' => 'wpsg_mod_fuellmenge_bezug')); ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_fuellmenge_showAjaxDialog', __('In der Warenkorb-Lightbox anzeigen', 'wpsg'), $this->get_option('wpsg_mod_fuellmenge_showAjaxDialog'), array('help' => 'wpsg_mod_fuellmenge_showAjaxDialog')); ?>
+ <?php if ($this->hasMod('wpsg_mod_productindex')) { ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_fuellmenge_showProductindex_fmenge', __('Füllmenge auf Produktübersichtsseiten anzeigen', 'wpsg'), $this->get_option('wpsg_mod_fuellmenge_showProductindex_fmenge'), array('help' => 'wpsg_mod_fuellmenge_showProductindex_fmenge')); ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_fuellmenge_showProductindex_grundpreis', __('Grundpreis auf Produktübersichtsseiten anzeigen', 'wpsg'), $this->get_option('wpsg_mod_fuellmenge_showProductindex_grundpreis'), array('help' => 'wpsg_mod_fuellmenge_showProductindex_grundpreis')); ?>
+ <?php } ?>
</div>
\ No newline at end of file |
