summaryrefslogtreecommitdiff
path: root/views/admin/customerpreset.phtml
diff options
context:
space:
mode:
authorhartmut <noreply@maennchen1.de>2016-10-27 12:48:23 +0000
committerhartmut <noreply@maennchen1.de>2016-10-27 12:48:23 +0000
commit8e30745d2d58cd1078df00d1f587de27f4588033 (patch)
tree14a03a95f95aef6ddb4d4dabb841b40c82e140cf /views/admin/customerpreset.phtml
parent5dd5d5d4c599fd2d8467655af14cf7b382d90ffe (diff)
Abgleich V3 und V4
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5873 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/admin/customerpreset.phtml')
-rw-r--r--views/admin/customerpreset.phtml43
1 files changed, 43 insertions, 0 deletions
diff --git a/views/admin/customerpreset.phtml b/views/admin/customerpreset.phtml
new file mode 100644
index 0000000..128c2ac
--- /dev/null
+++ b/views/admin/customerpreset.phtml
@@ -0,0 +1,43 @@
+<?php
+
+ /**
+ * Template für die Kundenvoreinstellungen im Backend
+ */
+
+?>
+<div class="wpsg_admin_submenu">
+
+ <div class="head">
+ <div class="title"><?php echo __("Einstellungen", "wpsg"); ?></div>
+ <div style="clear:both;"></div>
+ </div>
+
+ <ul>
+ <?php foreach ($this->view['arSubAction'] as $k => $v) { ?>
+ <li class="<?php echo (($k == $this->view['subAction'])?'current':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&amp;subaction=<?php echo $k; ?>"><?php echo $v['Menutext']; ?></a></li>
+ <?php } ?>
+ </ul>
+
+</div>
+
+<div class="wpsg_admin_content">
+
+ <form name="form1" method="post" enctype="multipart/form-data" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&amp;noheader=1&amp;subaction=<?php echo $_REQUEST['subaction']; ?>">
+
+ <?php echo wpsg_drawForm_Select('wpsg_customerpreset_shipping', __('Standard Versandart', 'wpsg'), $this->view['arShipping'], $this->get_option('wpsg_customerpreset_shipping'), array('help' => 'wpsg_customerpreset_shipping')); ?>
+ <?php echo wpsg_drawForm_Select('wpsg_customerpreset_payment', __('Standard Zahlungsart', 'wpsg'), $this->view['arPayment'], $this->get_option('wpsg_customerpreset_payment'), array('help' => 'wpsg_customerpreset_payment')); ?>
+ <?php echo wpsg_drawForm_Select('wpsg_defaultland', __('Standardland', 'wpsg'), $this->view['arLander'], $this->get_option('wpsg_defaultland'), array('help' => 'wpsg_defaultland', 'hint' =>
+ 'nohspc_'.wpsg_translate(__('Die Länder können in der <a href="#1#">Länderverwaltung</a> definiert werden.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=laender')
+ )); ?>
+ <?php echo wpsg_drawForm_Select('wpsg_customerpreset_title', __('Standardanrede', 'wpsg'), $this->view['arTitle'], $this->get_option('wpsg_customerpreset_title'), array( 'help' => 'wpsg_customerpreset_title',
+ 'hint' => 'nohspc_'.wpsg_translate(__('Die Auswahl kann in den <a href="#1#">Kundendaten</a> definiert werden.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=kundendaten'),
+ 'noIndex' => true
+ )); ?>
+
+ <br />
+
+ <input class="button-primary" type="submit" name="wpsg-submit" value="<?php echo __('Speichern', 'wpsg'); ?>" />
+
+ </form>
+
+</div> \ No newline at end of file