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 --- .../mod_topseller/produkt_edit_allgemein.phtml | 18 +++++++++++++++++ views/mods/mod_topseller/settings_edit.phtml | 12 +++++++++++ views/mods/mod_topseller/topseller.phtml | 15 ++++++++++++++ views/mods/mod_topseller/widget_form.phtml | 23 ++++++++++++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 views/mods/mod_topseller/produkt_edit_allgemein.phtml create mode 100644 views/mods/mod_topseller/settings_edit.phtml create mode 100644 views/mods/mod_topseller/topseller.phtml create mode 100644 views/mods/mod_topseller/widget_form.phtml (limited to 'views/mods/mod_topseller') diff --git a/views/mods/mod_topseller/produkt_edit_allgemein.phtml b/views/mods/mod_topseller/produkt_edit_allgemein.phtml new file mode 100644 index 0000000..58112cb --- /dev/null +++ b/views/mods/mod_topseller/produkt_edit_allgemein.phtml @@ -0,0 +1,18 @@ + +get_option('wpsg_mod_topseller_auto') == '1') { ?> + __('Einbeziehen', 'wpsg'), + '1' => __('Ausschließen', 'wpsg') +), $this->view['wpsg_mod_topseller']['status']); ?> + + __('Nicht anzeigen', 'wpsg'), + '1' => __('Anzeigen', 'wpsg') +), $this->view['wpsg_mod_topseller']['status']); ?> + \ No newline at end of file diff --git a/views/mods/mod_topseller/settings_edit.phtml b/views/mods/mod_topseller/settings_edit.phtml new file mode 100644 index 0000000..0722195 --- /dev/null +++ b/views/mods/mod_topseller/settings_edit.phtml @@ -0,0 +1,12 @@ + +hasMod('wpsg_mod_statistics')) { ?> +get_option('wpsg_mod_topseller_auto'), array('help' => 'wpsg_mod_topseller_auto')); ?> + +get_option('wpsg_mod_topseller_limit'), array('help' => 'wpsg_mod_topseller_limit')); ?> +view['arTemplates'], $this->get_option('wpsg_mod_topseller_template'), array('noIndex' => true, 'help' => 'wpsg_mod_topseller_template')); ?> \ No newline at end of file diff --git a/views/mods/mod_topseller/topseller.phtml b/views/mods/mod_topseller/topseller.phtml new file mode 100644 index 0000000..47da016 --- /dev/null +++ b/views/mods/mod_topseller/topseller.phtml @@ -0,0 +1,15 @@ + +view['topseller'])) { ?> +
+ view['topseller'] as $p) { ?> + renderProdukt($p['id'], $this->view['template']); ?> + +
+
+ \ No newline at end of file diff --git a/views/mods/mod_topseller/widget_form.phtml b/views/mods/mod_topseller/widget_form.phtml new file mode 100644 index 0000000..dbffc81 --- /dev/null +++ b/views/mods/mod_topseller/widget_form.phtml @@ -0,0 +1,23 @@ + +view['wpsg_mod_topseller_template']['name'], + __('Template', 'wpsg'), + $this->view['arTemplates'], + $this->view['wpsg_mod_topseller_template']['value'], array( + 'id' => $this->view['wpsg_mod_topseller_template']['id'], + 'noIndex' => true + ) +); ?> +view['wpsg_mod_topseller_limit']['name'], + __('Limit', 'wpsg'), + $this->view['wpsg_mod_topseller_limit']['value'], array( + 'id' => $this->view['wpsg_mod_topseller_limit']['id'] + ) +); ?> \ No newline at end of file -- cgit v1.2.3