summaryrefslogtreecommitdiff
path: root/views/mods/mod_ordercondition
diff options
context:
space:
mode:
authorhartmut <noreply@maennchen1.de>2017-05-17 11:11:46 +0000
committerhartmut <noreply@maennchen1.de>2017-05-17 11:11:46 +0000
commitce00007e22a06e6768036c4e9fe4aed84dfba3d4 (patch)
treecdbdda622cd7478c347c7bf35603a7cd26573941 /views/mods/mod_ordercondition
parent5c0571997769470c77acf47970d09a9f6081013d (diff)
Bestellbedingungen und Korrektur Varianten
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6268 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_ordercondition')
-rw-r--r--views/mods/mod_ordercondition/produkt_edit_sidebar.phtml13
1 files changed, 5 insertions, 8 deletions
diff --git a/views/mods/mod_ordercondition/produkt_edit_sidebar.phtml b/views/mods/mod_ordercondition/produkt_edit_sidebar.phtml
index fc70b85..d1d0350 100644
--- a/views/mods/mod_ordercondition/produkt_edit_sidebar.phtml
+++ b/views/mods/mod_ordercondition/produkt_edit_sidebar.phtml
@@ -5,14 +5,11 @@
*/
?>
-<div class="postbox" id="wpsg_ordercondition">
- <h3 class="wpsg_handlediv">
- <span title="<?php echo __('Zum Ein/Ausklappen hier klicken', 'wpsg'); ?>" class="handlediv"><br /></span>
- <span><?php echo __('Bestellbedingungen', 'wpsg'); ?></span>
- </h3>
- <div class="inside">
+<?php if ($this->hasMod('wpsg_mod_ordercondition')) { ?>
+
+<?php echo wpsg_drawForm_AdminboxStart(__('Bestellbedingungen', 'wpsg')); ?>
<?php foreach ($this->view['wpsg_mod_ordercondition']['data'] as $oc) { ?>
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_ordercondition['.$oc['id'].']', __($oc['name'], 'wpsg'), $oc['selected']); ?>
<?php } ?>
- </div>
-</div> \ No newline at end of file
+<?php echo wpsg_drawForm_AdminboxEnd(); ?>
+<?php } ?> \ No newline at end of file