summaryrefslogtreecommitdiff
path: root/views/mods/mod_request/settings_edit.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'views/mods/mod_request/settings_edit.phtml')
-rw-r--r--views/mods/mod_request/settings_edit.phtml23
1 files changed, 23 insertions, 0 deletions
diff --git a/views/mods/mod_request/settings_edit.phtml b/views/mods/mod_request/settings_edit.phtml
new file mode 100644
index 0000000..174cbf1
--- /dev/null
+++ b/views/mods/mod_request/settings_edit.phtml
@@ -0,0 +1,23 @@
+<?php
+
+ /**
+ * Template für die Einstellungen des Moduls "AnfrageProdukte"
+ */
+
+?>
+
+<?php echo wpsg_drawForm_Select('wpsg_mod_request_page', __('Anfrageseite', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_mod_request_page'), array ('help' => 'wpsg_mod_request_page')); ?>
+<?php echo wpsg_drawForm_Select('wpsg_mod_request_redirect', __('Weiterleitung nach Anfrage', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_mod_request_redirect'), array ('help' => 'wpsg_mod_request_redirect')); ?>
+<?php echo wpsg_drawForm_Select('wpsg_mod_request_afterinsert', __('Nach neuem Produkt auf Merkliste', 'wpsg'), array(
+ wpsg_mod_request::ACTION_STAYONPAGE => __('Auf Seite bleiben', 'wpsg'),
+ wpsg_mod_request::ACTION_GOTOREQUESTPAGE => __('Zur Anfrageseite leiten', 'wpsg'),
+ wpsg_mod_request::ACTION_SHOWREQUESTPAGELB => __('Anfrageseite im Fenster anzeigen', 'wpsg')
+), $this->get_option('wpsg_mod_request_afterinsert'), array ('help' => 'wpsg_mod_request_afterinsert')); ?>
+<br />
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_request_customerdata', __('Zusätzliche Kundendaten mit abfragen', 'wpsg'), $this->get_option('wpsg_mod_request_customerdata'), array('help' => 'wpsg_mod_request_customerdata')); ?>
+<?php if ($this->hasMod('wpsg_mod_ordervars')) { ?>
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_request_ordervars', __('Bestellvariablen mit abfragen', 'wpsg'), $this->get_option('wpsg_mod_request_ordervars'), array('help' => 'wpsg_mod_request_ordersvar')); ?>
+<?php } ?>
+<?php if ($this->hasMod('wpsg_mod_productvars')) { ?>
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_request_productvars', __('Produktvariablen mit abfragen', 'wpsg'), $this->get_option('wpsg_mod_request_productvars'), array('help' => 'wpsg_mod_request_productvars')); ?>
+<?php } ?> \ No newline at end of file