From ad405c7045c6e242080ec9d3ce4c9e586b517c4f Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Thu, 14 Jan 2016 14:55:36 +0000 Subject: - Testweise 4 git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5261 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_discount/basket_top.phtml | 14 ++ views/mods/mod_discount/customergroup_edit.phtml | 16 ++ .../productgroups_addedit_sidebar.phtml | 19 +++ views/mods/mod_discount/produkt_edit_sidebar.phtml | 19 +++ views/mods/mod_discount/settings_edit.phtml | 175 +++++++++++++++++++++ 5 files changed, 243 insertions(+) create mode 100644 views/mods/mod_discount/basket_top.phtml create mode 100644 views/mods/mod_discount/customergroup_edit.phtml create mode 100644 views/mods/mod_discount/productgroups_addedit_sidebar.phtml create mode 100644 views/mods/mod_discount/produkt_edit_sidebar.phtml create mode 100644 views/mods/mod_discount/settings_edit.phtml (limited to 'views/mods/mod_discount') diff --git a/views/mods/mod_discount/basket_top.phtml b/views/mods/mod_discount/basket_top.phtml new file mode 100644 index 0000000..049e916 --- /dev/null +++ b/views/mods/mod_discount/basket_top.phtml @@ -0,0 +1,14 @@ + +
+

view['wpsg_mod_discount']['value'], $this->get_option('wpsg_currency')), + wpsg_ff($this->view['wpsg_mod_discount']['discount'], $this->get_option('wpsg_currency')), + wpsg_ff($this->view['wpsg_mod_discount']['discountdifference'], $this->get_option('wpsg_currency'))); ?>

+
\ No newline at end of file diff --git a/views/mods/mod_discount/customergroup_edit.phtml b/views/mods/mod_discount/customergroup_edit.phtml new file mode 100644 index 0000000..f826a2e --- /dev/null +++ b/views/mods/mod_discount/customergroup_edit.phtml @@ -0,0 +1,16 @@ + +
+

+

+ +

+
+ view['wpsg_mod_discount']['discount'])); ?> +
+
\ No newline at end of file diff --git a/views/mods/mod_discount/productgroups_addedit_sidebar.phtml b/views/mods/mod_discount/productgroups_addedit_sidebar.phtml new file mode 100644 index 0000000..1f85b65 --- /dev/null +++ b/views/mods/mod_discount/productgroups_addedit_sidebar.phtml @@ -0,0 +1,19 @@ + +
+

+

+ +

+
+ view['wpsg_mod_discount']['data'][0]); ?> + view['wpsg_mod_discount']['data'][1])); ?> + view['wpsg_mod_discount']['data'][2])); ?> + view['wpsg_mod_discount']['data'][3])); ?> +
+
\ No newline at end of file diff --git a/views/mods/mod_discount/produkt_edit_sidebar.phtml b/views/mods/mod_discount/produkt_edit_sidebar.phtml new file mode 100644 index 0000000..a2c272a --- /dev/null +++ b/views/mods/mod_discount/produkt_edit_sidebar.phtml @@ -0,0 +1,19 @@ + +
+

+
+ +

+
+ view['wpsg_mod_discount']['data'][0]); ?> + view['wpsg_mod_discount']['data'][1])); ?> + view['wpsg_mod_discount']['data'][2])); ?> + view['wpsg_mod_discount']['data'][3])); ?> +
+
\ No newline at end of file diff --git a/views/mods/mod_discount/settings_edit.phtml b/views/mods/mod_discount/settings_edit.phtml new file mode 100644 index 0000000..c33a6b9 --- /dev/null +++ b/views/mods/mod_discount/settings_edit.phtml @@ -0,0 +1,175 @@ + + +
+
+
+
+
+
+
+
+
+
+
+ +
+ + get_option('wpsg_mod_discount_productdiscount'), array('help' =>'wpsg_mod_discount_productdiscount')); ?> + + get_option('wpsg_mod_discount_universal'), array('help' => 'wpsg_mod_discount_universal')); ?> + +
+
 
+
+
+
+ +
+
+
+ +
+
+
+ +
+
+

+
+ + hasMod('wpsg_mod_productgroups')) { ?> + get_option('wpsg_mod_discount_productgroupdiscount'), array('help' => 'wpsg_mod_discount_productgroupdiscount')); ?> + + + hasMod('wpsg_mod_customergroup')) { ?> + get_option('wpsg_mod_discount_customergroup'), array('help' => 'wpsg_mod_discount_customergroup')); ?> + + + get_option('wpsg_mod_discount_show'), array ('help' => 'wpsg_mod_discount_show')); ?> + +
+
+
+ +
+
+ +
    + view['wpsg_mod_discount']['hierarchie'] as $discount_typ) { ?> +
  • + + get_option('wpsg_mod_discount_hierarchie'))))?'checked="checked"':''); ?> name="wpsg_mod_discount_hierarchie[]" />  + callMod('wpsg_mod_discount', 'getNameFromType', array($discount_typ)); ?> +
  • + +
+ +

+ + + + +
+
+
+ +
+ +
+ +
+
+
+ +
+
+
+ +
get_option('wpsg_currency')); ?>
+
+
+ + view['data'] as $k => $v) { if ($k > 0) { ?> +
get_option('wpsg_currency')); ?>
+
+
+
+ + +
get_option('wpsg_currency'); ?>
+
+
+ +
+
+
+ +
+ + get_option('wpsg_mod_discount_showBasket')); ?> + +
+ +
+ +
+ +
+ + \ No newline at end of file -- cgit v1.2.3