summaryrefslogtreecommitdiff
path: root/views/mods/mod_deliverytime/settings_edit.phtml
diff options
context:
space:
mode:
authorthomas <noreply@maennchen1.de>2018-03-27 07:54:37 +0000
committerthomas <noreply@maennchen1.de>2018-03-27 07:54:37 +0000
commit4cdb669c4a193c4a321f348742b6886f29058393 (patch)
treeae01e2ad0543953e63bc678092dea10bdef62bb4 /views/mods/mod_deliverytime/settings_edit.phtml
parent9ed9c3cffbd3a771c78548cd342e8244c74e3144 (diff)
- Urlaubsfunktion für die Lieferzeit
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6954 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_deliverytime/settings_edit.phtml')
-rw-r--r--views/mods/mod_deliverytime/settings_edit.phtml16
1 files changed, 16 insertions, 0 deletions
diff --git a/views/mods/mod_deliverytime/settings_edit.phtml b/views/mods/mod_deliverytime/settings_edit.phtml
index d1b8d13..e206c65 100644
--- a/views/mods/mod_deliverytime/settings_edit.phtml
+++ b/views/mods/mod_deliverytime/settings_edit.phtml
@@ -40,6 +40,15 @@
<br /><br />
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_deliverytime_holiday', __('Urlaubzeit', 'wpsg'), $this->get_option('wpsg_mod_deliverytime_holiday'), array('help' => 'wpsg_mod_deliverytime_holiday')); ?>
+<div class="wpsg_mod_deliverytime_holiday_activ" style="display:none;">
+<?php echo wpsg_drawForm_Input('wpsg_mod_deliverytime_holidayStart', __('Urlaubsbeginn', 'wpsg'), $this->get_option('wpsg_mod_deliverytime_holidayStart'), array('datepicker' => true, 'help' => 'wpsg_mod_deliverytime_holidayStart')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_deliverytime_holidayEnd', __('Urlaubsende', 'wpsg'), $this->get_option('wpsg_mod_deliverytime_holidayEnd'), array('datepicker' => true, 'help' => 'wpsg_mod_deliverytime_holidayEnd')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_deliverytime_holidaytext', __('Urlaubsgruß', 'wpsg'), $this->get_option('wpsg_mod_deliverytime_holidaytext'), array('help' => 'wpsg_mod_deliverytime_holidaytext')); ?>
+</div>
+
+<br /><br />
+
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_deliverytime_show_product', __('Im Produkt anzeigen', 'wpsg'), $this->get_option('wpsg_mod_deliverytime_show_product'), array('help' => 'wpsg_mod_deliverytime_show_product')); ?>
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_deliverytime_show_basket', __('Im Warenkorb anzeigen', 'wpsg'), $this->get_option('wpsg_mod_deliverytime_show_basket'), array('help' => 'wpsg_mod_deliverytime_show_basket')); ?>
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_deliverytime_show_overview', __('In Bestellzusammenfassung anzeigen', 'wpsg'), $this->get_option('wpsg_mod_deliverytime_show_overview'), array('help' => 'wpsg_mod_deliverytime_show_overview')); ?>
@@ -80,6 +89,13 @@
else jQuery('.wpsg_mod_deliverytime_delay_activ').hide();
} ).change();
+
+ jQuery('#wpsg_mod_deliverytime_holiday').bind('change', function() {
+
+ if (jQuery(this).is(':checked')) jQuery('.wpsg_mod_deliverytime_holiday_activ').show();
+ else jQuery('.wpsg_mod_deliverytime_holiday_activ').hide();
+
+ } ).change();
} );