summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2019-08-01 09:06:59 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2019-08-01 09:06:59 +0000
commitdebf2216a471559260a23832106ed4de24591af0 (patch)
treef0a970c9ba4b216c553b3daf078c95c62f1cb7fc
parente96b183e33afb4038b2e39868f32ebf94a59ba83 (diff)
- Unklare Felder raus
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7491 0d5edaf7-2b12-4e95-93f4-047927463d4b
-rw-r--r--views/mods/mod_abo/produkt_addedit_content.phtml42
-rw-r--r--views/mods/mod_abo/settings_edit.phtml14
2 files changed, 1 insertions, 55 deletions
diff --git a/views/mods/mod_abo/produkt_addedit_content.phtml b/views/mods/mod_abo/produkt_addedit_content.phtml
index e5e9fe5..d6e0acd 100644
--- a/views/mods/mod_abo/produkt_addedit_content.phtml
+++ b/views/mods/mod_abo/produkt_addedit_content.phtml
@@ -52,50 +52,10 @@
<?php echo wpsg_drawForm_Input('wpsg_mod_abo_url', __('URL Benachrichtigung', 'wpsg'), $this->view['product']['wpsg_mod_abo_url'], array('hint' => wpsg_translate(__('nohspc_Wird hier nichts angegeben, so wird die URL aus der <a href="#1#">Modulkonfiguration</a> bei Ablauf/Verlängerung benachrichtigt.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_abo'), 'help' => 'wpsg_mod_abo_url')); ?>
<div class="wpsg_clear"></div>
-
-
- <?php /* TODO: Prüfung auf Mehrfachbestellung für das spezielle Produkt */?>
- <?php /* Option: Mehrfachbestellung möglich */ ?>
- <?php echo wpsg_drawForm_Checkbox('wpsg_mod_abo_moreorder_product', __('Mehrfachbestellung möglich', 'wpsg'), $this->get_option('wpsg_mod_abo_moreorder_product'), array ('help' => 'wpsg_mod_abo_moreorder_product')); ?>
-
- <?php /* Hinweistext: Mehrfachbestellung ja*/ ?>
- <div class="wpsg_mod_expiremode_moreorder__productactiv" style="display:none;">
-
- <?php echo wpsg_drawForm_Input('wpsg_mod_abo_moreorder_producttext', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_abo_moreorder_text_product'), array('help' => 'wpsg_mod_abo_moreorder_product_text'));?>
-
- </div>
-
- <?php /* Hinweistext: Mehrfachbestellung nein */ ?>
- <div class="wpsg_mod_expiremode_moreorder_productdeactiv">
-
- <?php echo wpsg_drawForm_Input('wpsg_mod_abo_nomoreorder_product_text', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_abo_nomoreorder_product_text'), array('help' => 'wpsg_mod_abo_nomoreorder_product_text'));?>
-
- </div>
-
+
</div>
<a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_abo"><span class="wpsg-glyphicon glyphicon glyphicon-wrench"></span><?php echo __('Zur Konfiguration des Abo-Moduls', 'wpsg'); ?></a>
</div>
</div>
-<script type="text/javascript">/* <![CDATA[ */
-
- jQuery(document).ready(function() {
-
- jQuery('#wpsg_mod_abo_moreorder_product').bind('change', function() {
-
- if (jQuery(this).is(':checked')) jQuery('.wpsg_mod_expiremode_moreorder__productactiv').show();
- else jQuery('.wpsg_mod_expiremode_moreorder__productactiv').hide();
-
- } ).change();
-
- jQuery('#wpsg_mod_abo_moreorder_product').bind('change', function() {
-
- if (jQuery(this).is(':checked')) jQuery('.wpsg_mod_expiremode_moreorder_productdeactiv').hide();
- else jQuery('.wpsg_mod_expiremode_moreorder_productdeactiv').show();
-
- } ).change();
-
- } );
-
-/* ]]> */</script> \ No newline at end of file
diff --git a/views/mods/mod_abo/settings_edit.phtml b/views/mods/mod_abo/settings_edit.phtml
index 23022d0..d134aaf 100644
--- a/views/mods/mod_abo/settings_edit.phtml
+++ b/views/mods/mod_abo/settings_edit.phtml
@@ -80,20 +80,6 @@
} );
- jQuery('#wpsg_mod_abo_moreorder').bind('change', function() {
-
- if (jQuery(this).is(':checked')) jQuery('.wpsg_mod_expiremode_moreorder_activ').show();
- else jQuery('.wpsg_mod_expiremode_moreorder_activ').hide();
-
- } ).change();
-
- jQuery('#wpsg_mod_abo_moreorder').bind('change', function() {
-
- if (jQuery(this).is(':checked')) jQuery('.wpsg_mod_expiremode_moreorder_deactiv').hide();
- else jQuery('.wpsg_mod_expiremode_moreorder_deactiv').show();
-
- } ).change();
-
jQuery('#wpsg_mod_abo_autoexpire_information').bind('change', function() {
if (jQuery(this).is(':checked')) jQuery('.wpsg_mod_abo_autoexpire_informationactiv').show();