From 6025e7638c2e7cb385a6feae0893c64a014a2d06 Mon Sep 17 00:00:00 2001 From: florian Date: Fri, 10 Aug 2018 07:40:47 +0000 Subject: git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7094 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/admin/emailconf.phtml | 165 +++++++++++++++++++++++++++++++---------- views/admin/presentation.phtml | 55 +++++++------- 2 files changed, 155 insertions(+), 65 deletions(-) (limited to 'views/admin') diff --git a/views/admin/emailconf.phtml b/views/admin/emailconf.phtml index 4e2d9e7..fb2c857 100644 --- a/views/admin/emailconf.phtml +++ b/views/admin/emailconf.phtml @@ -8,51 +8,124 @@
- - view['arSubAction'] as $k => $v) { ?> - + + view['arSubAction'] as $k => $v) { ?> + -
- -
+ +
- + - get_option('wpsg_htmlmail')); ?> + + + get_option('wpsg_htmlmail') + ); ?> + + + - + - + - + - + - + callMods('admin_emailconf'); ?>
- +

- +
@@ -65,25 +138,25 @@ { var wpsg_mail_open = Array(); - + jQuery('.wpsg_email_box .panel-body:visible').each(function() { wpsg_mail_open.push(jQuery(this).prev().attr("id")); - + } ); jQuery.cookie('wpsg_mail', wpsg_mail_open.join(',')); - + } // function wpsg_mail_save_cookie() jQuery(document).ready(function() { jQuery('.wpsg_email_box .panel-heading').bind('click', function() { - - jQuery(this).next().toggle(); - + + jQuery(this).next().toggle(); + wpsg_mail_save_cookie(); - + } ).css( { 'cursor': 'pointer' } ).disableSelection().next().hide(); if (jQuery.cookie('wpsg_mail') != null) @@ -93,14 +166,30 @@ for (var i = 0; i < arOpen.length; i ++) { - + jQuery('#' + arOpen[i]).next().show(); - jQuery('#' + arOpen[i]).css('border-bottom', '0px'); - + jQuery('#' + arOpen[i]).css('border-bottom', '0px'); + } - - } - + + } + + jQuery("#wpsg_htmlmail").click(function() { + + if(jQuery("#wpsg_htmlmail")[0].checked == false) jQuery(".col-emaillogo").css("display", "none"); + else $(".col-emaillogo").css("display", "block"); + + }); + if(jQuery("#wpsg_htmlmail")[0].checked == false) jQuery(".col-emaillogo").css("display", "none"); + + jQuery("#wpsg_email_logo_watermark").click(function() { + + if(jQuery("#wpsg_email_logo_watermark")[0].checked == true) jQuery(".col-logo-alignment").hide(); + else jQuery(".col-logo-alignment").show() + + }); + if(jQuery("#wpsg_email_logo_watermark")[0].checked == true) jQuery(".col-logo-alignment").hide(); + } ); -/* ]]> */ \ No newline at end of file + /* ]]> */ \ No newline at end of file diff --git a/views/admin/presentation.phtml b/views/admin/presentation.phtml index 859ce0c..b3f3a03 100644 --- a/views/admin/presentation.phtml +++ b/views/admin/presentation.phtml @@ -8,45 +8,46 @@
- - view['arSubAction'] as $k => $v) { ?> - + + view['arSubAction'] as $k => $v) { ?> + -
- +
+ - +
- -
-
-

-
-
- - __('Serverseitig', 'wpsg'), - '1' => __('Serverseitig + Javascript V1', 'wpsg'), - '2' => __('Serverseitig + Javascript V2', 'wpsg') - ), $this->get_option('wpsg_form_validation')); ?> - + +
+
+

+
+
+ + __('Serverseitig', 'wpsg'), + '1' => __('Serverseitig + Javascript V1', 'wpsg'), + '2' => __('Serverseitig + Javascript V2', 'wpsg') + ), $this->get_option('wpsg_form_validation')); ?> + get_option('wpsg_imagehandler_basketimage')); ?> get_option('wpsg_imagehandler_overviewimage')); ?> - + callMods('admin_presentation'); ?> - + get_option('wpsg_showMwstAlways')); ?> - get_option('wpsg_showArticelnumber')); ?> - get_option('wpsg_hideBasketCountrySelect')); ?> + get_option('wpsg_showArticelnumber')); ?> + get_option('wpsg_hideBasketCountrySelect')); ?> -
+
- get_option('wpsg_v3DesignMode'), array('help' => 'wpsg_v3DesignMode')); ?> + get_option('wpsg_alternativeProductDetailDesign'), array('help' => 'alternativeProductDetailDesign')); ?> + get_option('wpsg_alternativeOrderDesign'), array('help' => 'alternativeOrderDesign')); ?> -
+
- +

-- cgit v1.2.3