diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2016-06-04 20:02:45 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2016-06-04 20:02:45 +0000 |
| commit | d489ba719dca6e7869d62d46e63b5c8e841fdaaa (patch) | |
| tree | 074e7eb6537c38c3a3a60101b873f8464e23973f /views/admin/emailconf.phtml | |
| parent | 89125adae223f7eb5b81c778f7ad82ab72d66b60 (diff) | |
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5532 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/admin/emailconf.phtml')
| -rw-r--r-- | views/admin/emailconf.phtml | 98 |
1 files changed, 38 insertions, 60 deletions
diff --git a/views/admin/emailconf.phtml b/views/admin/emailconf.phtml index c5d12f1..918444f 100644 --- a/views/admin/emailconf.phtml +++ b/views/admin/emailconf.phtml @@ -16,55 +16,44 @@ </div>
-<div class="wpsg_admin_content">
-
- <h3>
- <?php echo __('E-Mail Konfiguration', 'wpsg'); ?>
- <a title="<?php echo __('Hilfeseite zur E-Mail Konfiguration', 'wpsg'); ?>" class="wpsg_form_help_notip" href="http://wpshopgermany.maennchen1.de/?p=3284" target="_blank"></a>
- </h3>
-
- <p><?php echo __('Hier können die Betreffs, Empfänger und BCC/CC der E-Mails konfiguriert werden.', 'wpsg')?></p>
-
- <form name="form1" method="post" enctype="multipart/form-data" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&subaction=<?php echo $_REQUEST['subaction']; ?>">
+<div class="wpsg_admin_content form-horizontal">
+ <form name="form1" method="post" enctype="multipart/form-data" action="<?php echo wpsg_hspc(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=extended&noheader=1'); ?>">
+
+ <?php echo wpsg_drawForm_AdminboxStart('Allgemeine Einstellungen', 'wpsg'); ?>
<?php echo wpsg_drawForm_Checkbox('wpsg_htmlmail', __('HTML Mails versenden', 'wpsg'), $this->get_option('wpsg_htmlmail')); ?>
+ <?php echo wpsg_drawForm_AdminboxEnd(); ?>
- <br />
-
- <div class="wpsg_admin_box">
-
- <?php echo wpsg_drawEMailConfig(
- 'global',
- __('Globale Vorgaben', 'wpsg'),
- __('Werden keine Angaben für die folgenden E-Mails gemacht, so gelten die globalen Angaben.', 'wpsg')); ?>
-
- <?php echo wpsg_drawEMailConfig(
- 'adminmail',
- __('Bestellbestätigung (Admin)', 'wpsg'),
- __('Diese Mail bekommt der Admin beim Eingang einer neuen Bestellung.', 'wpsg'),
- true); ?>
-
- <?php echo wpsg_drawEMailConfig(
- 'kundenmail',
- __('Bestellbestätigung (Kunde)', 'wpsg'),
- __('Diese Mail bekommt der Kunde nach Durchführung der Bestellung.', 'wpsg'),
- false,
- true); ?>
-
- <?php echo wpsg_drawEMailConfig(
- 'status',
- __('Statusänderung (Kunde)', 'wpsg'),
- __('Diese Mail bekommt der Kunde bei der Änderung des Bestellstatus.', 'wpsg')); ?>
-
- <?php $this->callMods('admin_emailconf'); ?>
-
- </div>
+ <?php echo wpsg_drawEMailConfig(
+ 'global',
+ __('Globale Vorgaben', 'wpsg'),
+ __('Werden keine Angaben für die folgenden E-Mails gemacht, so gelten die globalen Angaben.', 'wpsg')); ?>
+
+ <?php echo wpsg_drawEMailConfig(
+ 'adminmail',
+ __('Bestellbestätigung (Admin)', 'wpsg'),
+ __('Diese Mail bekommt der Admin beim Eingang einer neuen Bestellung.', 'wpsg'),
+ true); ?>
+
+ <?php echo wpsg_drawEMailConfig(
+ 'kundenmail',
+ __('Bestellbestätigung (Kunde)', 'wpsg'),
+ __('Diese Mail bekommt der Kunde nach Durchführung der Bestellung.', 'wpsg'),
+ false,
+ true); ?>
+ <?php echo wpsg_drawEMailConfig(
+ 'status',
+ __('Statusänderung (Kunde)', 'wpsg'),
+ __('Diese Mail bekommt der Kunde bei der Änderung des Bestellstatus.', 'wpsg')); ?>
+
+ <?php $this->callMods('admin_emailconf'); ?>
+
<div class="wpsg_hinweis"><?php echo __('Klicken Sie auf die jeweilige Mail um die Einstellungen angezeigt zu bekommen bzw. zu ändern.', 'wpsg'); ?></div>
-
- <p class="submit"><input type="submit" value="<?php echo __('Einstellungen speichern', 'wpsg'); ?>" class="button-primary" id="submit" name="submit" /></p>
- </form>
+ <p class="submit"><input type="submit" value="<?php echo __('Einstellungen speichern', 'wpsg'); ?>" class="button-primary" id="submit" name="submit" /></p>
+
+ </form>
</div>
<script type="text/javascript">/* <