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_scaleprice/product_bottom.phtml | 45 +++++ .../mods/mod_scaleprice/produkt_edit_sidebar.phtml | 202 +++++++++++++++++++++ views/mods/mod_scaleprice/scaleList.phtml | 84 +++++++++ 3 files changed, 331 insertions(+) create mode 100644 views/mods/mod_scaleprice/product_bottom.phtml create mode 100644 views/mods/mod_scaleprice/produkt_edit_sidebar.phtml create mode 100644 views/mods/mod_scaleprice/scaleList.phtml (limited to 'views/mods/mod_scaleprice') diff --git a/views/mods/mod_scaleprice/product_bottom.phtml b/views/mods/mod_scaleprice/product_bottom.phtml new file mode 100644 index 0000000..44618d0 --- /dev/null +++ b/views/mods/mod_scaleprice/product_bottom.phtml @@ -0,0 +1,45 @@ + +
+ view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_QUANTITY) { ?> +
+ view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_WEIGHT) { ?> +
+ + +
\ No newline at end of file diff --git a/views/mods/mod_scaleprice/produkt_edit_sidebar.phtml b/views/mods/mod_scaleprice/produkt_edit_sidebar.phtml new file mode 100644 index 0000000..f220dc1 --- /dev/null +++ b/views/mods/mod_scaleprice/produkt_edit_sidebar.phtml @@ -0,0 +1,202 @@ + + + +
+

+
+ +

+
+ + view['wpsg_mod_scaleprice']['product']['id'] <= 0) { ?> +

+ + + view['wpsg_mod_scaleprice']['product']['wpsg_mod_scaleprice_activ']); ?> + +

+ + view['wpsg_mod_scaleprice']['arTyp']) && sizeof($this->view['wpsg_mod_scaleprice']['arTyp']) > 0) { ?> + __('Menge', 'wpsg'), + wpsg_mod_scaleprice::TYP_WEIGHT => __('Gewicht', 'wpsg') + ), $this->view['wpsg_mod_scaleprice']['product']['wpsg_mod_scaleprice_typ']); ?> + + + + + __('Ersetzung', 'wpsg'), + wpsg_mod_scaleprice::CALC_ADD => __('Addition', 'wpsg') + ), $this->view['wpsg_mod_scaleprice']['product']['wpsg_mod_scaleprice_calc']); ?> + +
view['wpsg_mod_scaleprice']['list']; ?>
+ +
+ + + +
+
\ No newline at end of file diff --git a/views/mods/mod_scaleprice/scaleList.phtml b/views/mods/mod_scaleprice/scaleList.phtml new file mode 100644 index 0000000..f08aaf9 --- /dev/null +++ b/views/mods/mod_scaleprice/scaleList.phtml @@ -0,0 +1,84 @@ + +view['wpsg_mod_scaleprice']['arScale'] as $k => $scale) { ?> +
+
+
+
+
+ view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_WEIGHT) { ?> + get_option('wpsg_mod_weight_unit'); ?> + view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_QUANTITY) { ?> + + +
+
+
+
+

get_option('wpsg_currency'); ?>

+ +
+
+
+ + + + + +
+
+
+ +
+ view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_WEIGHT) { ?> + get_option('wpsg_mod_weight_unit'); ?> + view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_QUANTITY) { ?> + + +
+
+
+ +

get_option('wpsg_currency'); ?>

+ +
+
+
\ No newline at end of file -- cgit v1.2.3