summaryrefslogtreecommitdiff
path: root/views/mods/mod_abo
diff options
context:
space:
mode:
Diffstat (limited to 'views/mods/mod_abo')
-rw-r--r--views/mods/mod_abo/basket_row.phtml16
-rw-r--r--views/mods/mod_abo/mail_expiration.phtml25
-rw-r--r--views/mods/mod_abo/mail_expiration_html.phtml25
-rw-r--r--views/mods/mod_abo/mail_firstbuy.phtml23
-rw-r--r--views/mods/mod_abo/mail_firstbuy_html.phtml23
-rw-r--r--views/mods/mod_abo/mail_rebuy.phtml25
-rw-r--r--views/mods/mod_abo/mail_rebuy_html.phtml25
-rw-r--r--views/mods/mod_abo/mail_row.phtml8
-rw-r--r--views/mods/mod_abo/mail_row_html.phtml13
-rw-r--r--views/mods/mod_abo/order_view_base.phtml18
-rw-r--r--views/mods/mod_abo/order_view_row.phtml13
-rw-r--r--views/mods/mod_abo/overview_row.phtml13
-rw-r--r--views/mods/mod_abo/produkt_edit_content.phtml58
-rw-r--r--views/mods/mod_abo/settings_edit.phtml12
14 files changed, 297 insertions, 0 deletions
diff --git a/views/mods/mod_abo/basket_row.phtml b/views/mods/mod_abo/basket_row.phtml
new file mode 100644
index 0000000..2d2d274
--- /dev/null
+++ b/views/mods/mod_abo/basket_row.phtml
@@ -0,0 +1,16 @@
+<?php
+
+ /**
+ * Template für die Anzeige der Abo Verlängerung im Warenkorb
+ */
+
+?>
+<tr class="wpsg_<?php echo (($this->view['i'] == 0)?'odd':'even'); ?>">
+ <td class="wpsg_cell_number">
+
+ </td>
+ <td><?php echo __('Abo Verlängerung', 'wpsg'); ?>:</td>
+ <td colspan="<?php echo ((sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1')?'4':'3'); ?>">
+ <?php echo wpsg_translate(__('Verlängerung zu Bestellung #1# (#2# Tage)', 'wpsg'), $this->view['wpsg_mod_abo']['order']['onr'], $this->view['wpsg_mod_abo']['wpsg_mod_abo_durration_menge']); ?>
+ </td>
+</tr> \ No newline at end of file
diff --git a/views/mods/mod_abo/mail_expiration.phtml b/views/mods/mod_abo/mail_expiration.phtml
new file mode 100644
index 0000000..a5b11df
--- /dev/null
+++ b/views/mods/mod_abo/mail_expiration.phtml
@@ -0,0 +1,25 @@
+<?php
+
+ /**
+ * Mail die beim Auslauf eines Abos versendet wird
+ */
+
+?><?php echo __('Hallo', 'wpsg'); ?> <?php echo wpsg_hspc($this->view['customer']['vname']); ?> <?php echo wpsg_hspc($this->view['customer']['name']); ?>,
+
+<?php echo __('ihr Abo ist ausgelaufen.', 'wpsg'); ?>
+
+<?php if ($this->view['allowRebuy'] !== false) { ?>
+<?php echo wpsg_translate(__('Sie können das Abo jederzeit über folgenden Link um #1# Tage verlängern. Die Verlängerung kostet #2#.', 'wpsg'), $this->view['product']['wpsg_mod_abo_durration'], wpsg_ff($this->view['product']['wpsg_mod_abo_price'], $this->get_option('wpsg_currency'))); ?>
+
+<?php echo $this->view['rebuyLink']; ?>
+
+<?php if ($this->view['product']['wpsg_mod_abo_resell'] > 0) { ?>
+<?php echo wpsg_translate(__('Sie können das Abo dabei noch maximal #1# mal verlängern, dann muss das Produkt erneut erworben werden.', 'wpsg'), $this->view['allowRebuy']); ?>
+<?php } ?>
+<?php } else { ?>
+<?php echo __('Die Verlängerung des Abos ist nicht mehr möglich, sie müssen das Produkt erneut erwerben.', 'wpsg'); ?>
+<?php } ?>
+
+<?php echo __('Viele Grüße', 'wpsg'); ?>
+
+<?php echo __($this->get_option('wpsg_shopdata_name'), 'wpsg'); ?> - <?php echo __('Team', 'wpsg'); ?> \ No newline at end of file
diff --git a/views/mods/mod_abo/mail_expiration_html.phtml b/views/mods/mod_abo/mail_expiration_html.phtml
new file mode 100644
index 0000000..33d7f7e
--- /dev/null
+++ b/views/mods/mod_abo/mail_expiration_html.phtml
@@ -0,0 +1,25 @@
+<?php
+
+ /**
+ * Mail die beim Auslauf eines Abos versendet wird (HTML)
+ */
+
+?><p><?php echo __('Hallo', 'wpsg'); ?> <?php echo wpsg_hspc($this->view['customer']['vname']); ?> <?php echo wpsg_hspc($this->view['customer']['name']); ?>,</p>
+
+<p><?php echo __('ihr Abo ist ausgelaufen.', 'wpsg'); ?></p>
+
+<?php if ($this->view['allowRebuy'] !== false) { ?>
+<p><?php echo wpsg_translate(__('Sie können das Abo jederzeit über folgenden Link um #1# Tage verlängern. Die Verlängerung kostet #2#.', 'wpsg'), $this->view['product']['wpsg_mod_abo_durration'], wpsg_ff($this->view['product']['wpsg_mod_abo_price'], $this->get_option('wpsg_currency'))); ?></p>
+
+<a href="<?php echo $this->view['rebuyLink']; ?>"><?php echo __('Abo verlängern', 'wpsg'); ?></a>
+
+<?php if ($this->view['product']['wpsg_mod_abo_resell'] > 0) { ?>
+<p><?php echo wpsg_translate(__('Sie können das Abo dabei noch maximal #1# mal verlängern, dann muss das Produkt erneut erworben werden.', 'wpsg'), $this->view['allowRebuy']); ?></p>
+<?php } ?>
+<?php } else { ?>
+<p><?php echo __('Die Verlängerung des Abos ist nicht mehr möglich, sie müssen das Produkt erneut erwerben.', 'wpsg'); ?></p>
+<?php } ?>
+
+<p><?php echo __('Viele Grüße', 'wpsg'); ?></p>
+
+<p><?php echo __($this->get_option('wpsg_shopdata_name'), 'wpsg'); ?> - <?php echo __('Team', 'wpsg'); ?></p> \ No newline at end of file
diff --git a/views/mods/mod_abo/mail_firstbuy.phtml b/views/mods/mod_abo/mail_firstbuy.phtml
new file mode 100644
index 0000000..df59a1d
--- /dev/null
+++ b/views/mods/mod_abo/mail_firstbuy.phtml
@@ -0,0 +1,23 @@
+<?php
+
+ /**
+ * Mailtemplate, welches beim erstmaligen Kauf eines Abos versendet wird
+ */
+
+?><?php echo __('Hallo', 'wpsg'); ?> <?php echo wpsg_hspc($this->view['customer']['vname']); ?> <?php echo wpsg_hspc($this->view['customer']['name']); ?>,
+
+<?php echo __('ihr Abo wurde erfolgreich aktiviert.', 'wpsg'); ?>
+
+<?php echo wpsg_translate(__('Sie können das Abo jederzeit über folgenden Link um #1# Tage verlängern.', 'wpsg'), $this->view['product']['wpsg_mod_abo_durration']); ?>
+
+<?php echo $this->view['rebuyLink']; ?>
+
+<?php echo wpsg_translate(__('Die Verlängerung kostet #1#.', 'wpsg'), wpsg_ff($this->view['product']['wpsg_mod_abo_price'], $this->get_option('wpsg_currency'))); ?>
+
+<?php if ($this->view['product']['wpsg_mod_abo_resell'] > 0) { ?>
+<?php echo wpsg_translate(__('Sie können das Abo dabei maximal #1# mal verlängern, dann muss das Produkt erneut erworben werden.', 'wpsg'), $this->view['product']['wpsg_mod_abo_resell']); ?>
+
+<?php } ?>
+<?php echo __('Viele Grüße', 'wpsg'); ?>
+
+<?php echo __($this->get_option('wpsg_shopdata_name'), 'wpsg'); ?> - <?php echo __('Team', 'wpsg'); ?> \ No newline at end of file
diff --git a/views/mods/mod_abo/mail_firstbuy_html.phtml b/views/mods/mod_abo/mail_firstbuy_html.phtml
new file mode 100644
index 0000000..ff365ad
--- /dev/null
+++ b/views/mods/mod_abo/mail_firstbuy_html.phtml
@@ -0,0 +1,23 @@
+<?php
+
+ /**
+ * Mailtemplate, welches beim erstmaligen Kauf eines Abos versendet wird (HTML)
+ */
+
+?><p><?php echo __('Hallo', 'wpsg'); ?> <?php echo wpsg_hspc($this->view['customer']['vname']); ?> <?php echo wpsg_hspc($this->view['customer']['name']); ?>,</p>
+
+<p><?php echo __('ihr Abo wurde erfolgreich aktiviert.', 'wpsg'); ?></p>
+
+<p><?php echo wpsg_translate(__('Sie können das Abo jederzeit über folgenden Link um #1# Tage verlängern.', 'wpsg'), $this->view['product']['wpsg_mod_abo_durration']); ?></p>
+
+<a href="<?php echo $this->view['rebuyLink']; ?>"><?php echo __('Abo verlängern', 'wpsg'); ?></a>
+
+<p><?php echo wpsg_translate(__('Die Verlängerung kostet #1#.', 'wpsg'), wpsg_ff($this->view['product']['wpsg_mod_abo_price'], $this->get_option('wpsg_currency'))); ?></p>
+
+<?php if ($this->view['product']['wpsg_mod_abo_resell'] > 0) { ?>
+<p><?php echo wpsg_translate(__('Sie können das Abo dabei maximal #1# mal verlängern, dann muss das Produkt erneut erworben werden.', 'wpsg'), $this->view['product']['wpsg_mod_abo_resell']); ?></p>
+<?php } ?>
+
+<p><?php echo __('Viele Grüße', 'wpsg'); ?></p>
+
+<p><?php echo __($this->get_option('wpsg_shopdata_name'), 'wpsg'); ?> - <?php echo __('Team', 'wpsg'); ?></p> \ No newline at end of file
diff --git a/views/mods/mod_abo/mail_rebuy.phtml b/views/mods/mod_abo/mail_rebuy.phtml
new file mode 100644
index 0000000..4d6e28c
--- /dev/null
+++ b/views/mods/mod_abo/mail_rebuy.phtml
@@ -0,0 +1,25 @@
+<?php
+
+ /**
+ * Template für die Mail an den Kunden wenn ein Abo verlängert wurde
+ */
+
+?><?php echo __('Hallo', 'wpsg'); ?> <?php echo wpsg_hspc($this->view['customer']['vname']); ?> <?php echo wpsg_hspc($this->view['customer']['name']); ?>,
+
+<?php echo __('ihr Abo wurde erfolgreich verlängert.', 'wpsg'); ?>
+
+<?php if ($this->view['allowRebuy'] !== false) { ?>
+<?php echo wpsg_translate(__('Sie können das Abo jederzeit über folgenden Link um #1# Tage verlängern. Die Verlängerung kostet #2#.', 'wpsg'), $this->view['product']['wpsg_mod_abo_durration'], wpsg_ff($this->view['product']['wpsg_mod_abo_price'], $this->get_option('wpsg_currency'))); ?>
+
+<?php echo $this->view['rebuyLink']; ?>
+
+<?php if ($this->view['product']['wpsg_mod_abo_resell'] > 0) { ?>
+<?php echo wpsg_translate(__('Sie können das Abo dabei noch maximal #1# mal verlängern, dann muss das Produkt erneut erworben werden.', 'wpsg'), $this->view['allowRebuy']); ?>
+<?php } ?>
+<?php } else { ?>
+<?php echo __('Eine Verlängerung des Abos ist zukünftig nicht mehr möglich, sie müssen das Produkt erneut erwerben.', 'wpsg'); ?>
+<?php } ?>
+
+<?php echo __('Viele Grüße', 'wpsg'); ?>
+
+<?php echo __($this->get_option('wpsg_shopdata_name'), 'wpsg'); ?> - <?php echo __('Team', 'wpsg'); ?> \ No newline at end of file
diff --git a/views/mods/mod_abo/mail_rebuy_html.phtml b/views/mods/mod_abo/mail_rebuy_html.phtml
new file mode 100644
index 0000000..722c1a1
--- /dev/null
+++ b/views/mods/mod_abo/mail_rebuy_html.phtml
@@ -0,0 +1,25 @@
+<?php
+
+ /**
+ * Template für die Mail an den Kunden wenn ein Abo verlängert wurde (HTML)
+ */
+
+?><p><?php echo __('Hallo', 'wpsg'); ?> <?php echo wpsg_hspc($this->view['customer']['vname']); ?> <?php echo wpsg_hspc($this->view['customer']['name']); ?>,</p>
+
+<p><?php echo __('ihr Abo wurde erfolgreich verlängert.', 'wpsg'); ?></p>
+
+<?php if ($this->view['allowRebuy'] !== false) { ?>
+<p><?php echo wpsg_translate(__('Sie können das Abo jederzeit über folgenden Link um #1# Tage verlängern. Die Verlängerung kostet #2#.', 'wpsg'), $this->view['product']['wpsg_mod_abo_durration'], wpsg_ff($this->view['product']['wpsg_mod_abo_price'], $this->get_option('wpsg_currency'))); ?></p>
+
+<a href="<?php echo $this->view['rebuyLink']; ?>"><?php echo __('Abo verlängern', 'wpsg'); ?></a>
+
+<?php if ($this->view['product']['wpsg_mod_abo_resell'] > 0) { ?>
+<p><?php echo wpsg_translate(__('Sie können das Abo dabei noch maximal #1# mal verlängern, dann muss das Produkt erneut erworben werden.', 'wpsg'), $this->view['allowRebuy']); ?></p>
+<?php } ?>
+<?php } else { ?>
+<p><?php echo __('Eine Verlängerung des Abos ist zukünftig nicht mehr möglich, sie müssen das Produkt erneut erwerben.', 'wpsg'); ?></p>
+<?php } ?>
+
+<p><?php echo __('Viele Grüße', 'wpsg'); ?></p>
+
+<p><?php echo __($this->get_option('wpsg_shopdata_name'), 'wpsg'); ?> - <?php echo __('Team', 'wpsg'); ?></p> \ No newline at end of file
diff --git a/views/mods/mod_abo/mail_row.phtml b/views/mods/mod_abo/mail_row.phtml
new file mode 100644
index 0000000..6f039c9
--- /dev/null
+++ b/views/mods/mod_abo/mail_row.phtml
@@ -0,0 +1,8 @@
+<?php
+
+ /**
+ * Mit diesem Template kann die Zeile eines Produktes im Mailtemplate erweitert werden
+ */
+
+?>
+<?php echo wpsg_pad_right(' ', 5); ?><?php echo __('Abo Verlängerung', 'wpsg'); ?>: <?php echo wpsg_translate(__('Verlängerung zu Bestellung #1# (#2# Tage)', 'wpsg'), $this->view['wpsg_mod_abo']['order']['onr'], $this->view['wpsg_mod_abo']['wpsg_mod_abo_durration_menge']); ?>
diff --git a/views/mods/mod_abo/mail_row_html.phtml b/views/mods/mod_abo/mail_row_html.phtml
new file mode 100644
index 0000000..4da00c9
--- /dev/null
+++ b/views/mods/mod_abo/mail_row_html.phtml
@@ -0,0 +1,13 @@
+<?php
+
+ /**
+ * Template für die Zeile eines Abo Produktes im HTML Template
+ */
+
+?>
+<tr class="productrow productrow2 <?php echo ((($this->view['i'] % 2) == 0)?'productrow_odd':'productrow_even'); ?>">
+ <td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_pos">&nbsp;</td>
+ <td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_name" colspan="<?php echo ((sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1')?'5':'4'); ?>">
+ <?php echo __('Abo Verlängerung', 'wpsg'); ?>: <?php echo wpsg_translate(__('Verlängerung zu Bestellung #1# (#2# Tage)', 'wpsg'), $this->view['wpsg_mod_abo']['order']['onr'], $this->view['wpsg_mod_abo']['wpsg_mod_abo_durration_menge']); ?>
+ </td>
+</tr> \ No newline at end of file
diff --git a/views/mods/mod_abo/order_view_base.phtml b/views/mods/mod_abo/order_view_base.phtml
new file mode 100644
index 0000000..69f4517
--- /dev/null
+++ b/views/mods/mod_abo/order_view_base.phtml
@@ -0,0 +1,18 @@
+<?php
+
+ /**
+ * Integration einer Abo-Verlängerung in die Bestellansicht im Backend (Abo Produkt)
+ */
+?>
+<tr class="wpsg_<?php echo (($this->view['i'] == 0)?'odd':'even'); ?>">
+ <td ><?php echo __('Abo Verlängerungen', 'wpsg'); ?>:</td>
+ <td align="right" colspan="<?php echo ((sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1')?'4':'3'); ?>">
+ <?php if (wpsg_isSizedArray($this->view['wpsg_mod_abo']['rebuy'])) { ?>
+ <?php foreach ($this->view['wpsg_mod_abo']['rebuy'] as $k => $v) { ?>
+ <?php echo wpsg_translate(__('Mit Bestellung <a href="#1#">#2#</a> um #3# Tage verlängert.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Order&action=view&edit_id='.$v['o_id'], $v['order']['onr'], $v['tage']); ?><br />
+ <?php } ?>
+ <?php } else { ?>
+ <?php echo __('Noch keine Abo Verlängerungen erworben.', 'wpsg'); ?>
+ <?php } ?>
+ </td>
+</tr> \ No newline at end of file
diff --git a/views/mods/mod_abo/order_view_row.phtml b/views/mods/mod_abo/order_view_row.phtml
new file mode 100644
index 0000000..b0b4a88
--- /dev/null
+++ b/views/mods/mod_abo/order_view_row.phtml
@@ -0,0 +1,13 @@
+<?php
+
+ /**
+ * Integration einer Abo Verlängerung in die Bestellansicht im Backend (Abo-Verlängerungen)
+ */
+
+?>
+<tr class="wpsg_<?php echo (($this->view['i'] == 0)?'odd':'even'); ?>">
+ <td ><?php echo __('Abo Verlängerung', 'wpsg'); ?>:</td>
+ <td align="right" colspan="<?php echo ((sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1')?'4':'3'); ?>">
+ <?php echo wpsg_translate(__('Verlängerung zu Bestellung <a href="#1#">#2#</a> (#3# Tage)', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Order&action=view&edit_id='.$this->view['wpsg_mod_abo']['order']['id'], $this->view['wpsg_mod_abo']['order']['onr'], $this->view['wpsg_mod_abo']['wpsg_mod_abo_durration_menge']); ?>
+ </td>
+</tr> \ No newline at end of file
diff --git a/views/mods/mod_abo/overview_row.phtml b/views/mods/mod_abo/overview_row.phtml
new file mode 100644
index 0000000..fb7bbf5
--- /dev/null
+++ b/views/mods/mod_abo/overview_row.phtml
@@ -0,0 +1,13 @@
+<?php
+
+ /**
+ * Template für die Anzeige der Abo-Verlängerung im Warenkorb
+ */
+
+?>
+<tr class="wpsg_<?php echo (($this->view['i'] == 0)?'odd':'even'); ?>">
+ <td><?php echo __('Abo Verlängerung', 'wpsg'); ?>:</td>
+ <td colspan="<?php echo ((sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1')?'4':'3'); ?>">
+ <?php echo wpsg_translate(__('Verlängerung zu Bestellung #1# (#2# Tage)', 'wpsg'), $this->view['wpsg_mod_abo']['order']['onr'], $this->view['wpsg_mod_abo']['wpsg_mod_abo_durration_menge']); ?>
+ </td>
+</tr> \ No newline at end of file
diff --git a/views/mods/mod_abo/produkt_edit_content.phtml b/views/mods/mod_abo/produkt_edit_content.phtml
new file mode 100644
index 0000000..a4d0b67
--- /dev/null
+++ b/views/mods/mod_abo/produkt_edit_content.phtml
@@ -0,0 +1,58 @@
+<?php
+
+ /**
+ * Integriert die Abo-Einstellungen in das Produkt
+ */
+
+?>
+<script type="text/javascript">/* <![CDATA[ */
+
+ jQuery(document).ready(function() {
+
+ jQuery('#wpsg_mod_abo_activ').bind('change', function() {
+
+ if (jQuery(this).attr('checked')) jQuery('#wpsg_mod_abo_layer').show();
+ else jQuery('#wpsg_mod_abo_layer').hide();
+
+ } ).change();
+
+ jQuery('#wpsg_mod_abo_resell').bind('change', function() {
+
+ if (jQuery(this).attr('checked')) jQuery('#wpsg_mod_abo_resell_layer').show();
+ else jQuery('#wpsg_mod_abo_resell_layer').hide();
+
+ } ).change();
+
+ } );
+
+/* ]]> */</script>
+
+<div class="postbox" id="wpsg_abo">
+ <h3 class="wpsg_handlediv">
+ <span title="<?php echo __('Zum Ein/Ausklappen hier klicken', 'wpsg'); ?>" class="handlediv"><br /></span>
+ <span><?php echo __('Abo Produkt', 'wpsg'); ?></span>
+ </h3>
+ <div class="inside">
+
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_abo_activ', __('Abo Produkt', 'wpsg'), $this->view['product']['wpsg_mod_abo_activ']); ?>
+
+ <div id="wpsg_mod_abo_layer">
+
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_abo_resell', __('Anzahl beschränken', 'wpsg'), $this->view['product']['wpsg_mod_abo_resell']); ?>
+
+ <div id="wpsg_mod_abo_resell_layer">
+
+ <?php echo wpsg_drawForm_Input('wpsg_mod_abo_resell_count', __('Anzahl', 'wpsg'), $this->view['product']['wpsg_mod_abo_resell_count']); ?>
+
+ </div>
+
+ <?php echo wpsg_drawForm_Input('wpsg_mod_abo_price', wpsg_translate(__('Abo Preis (#1#)', 'wpsg'), (($this->get_option('wpsg_preisangaben') == WPSG_NETTO)?__('Netto', 'wpsg'):__('Brutto', 'wpsg'))), wpsg_ff($this->view['product']['wpsg_mod_abo_price']), array('unit' => $this->get_option('wpsg_currency'))); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_abo_durration', __('Abo Dauer (Tage)', 'wpsg'), $this->view['product']['wpsg_mod_abo_durration']); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_abo_url', __('URL Benachrichtigung', 'wpsg'), $this->view['product']['wpsg_mod_abo_url'], array('hint' => wpsg_translate(__('nohspc_Wird hier nichts angegeben, so wird die URL aus der <a href="#1#">Modulkonfiguration</a> bei Ablauf/Verlängerung benachrichtigt.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_abo'))); ?>
+
+ <div class="wpsg_clear"></div>
+
+ </div>
+
+ </div>
+</div> \ No newline at end of file
diff --git a/views/mods/mod_abo/settings_edit.phtml b/views/mods/mod_abo/settings_edit.phtml
new file mode 100644
index 0000000..8dcb052
--- /dev/null
+++ b/views/mods/mod_abo/settings_edit.phtml
@@ -0,0 +1,12 @@
+<?php
+
+ /**
+ * Template für die Einstellungen des Abo Moduls
+ */
+
+?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_abo_url', __('Standard URL für Ablauf/Verlängerung', 'wpsg'), $this->get_option('wpsg_mod_abo_url'), array ('help' => 'wpsg_mod_abo_url')); ?>
+<br />
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_abo_wpsgmodabofirstbuy', __('Mail bei erstem Kauf eines Abos', 'wpsg'), $this->get_option('wpsg_mod_abo_wpsgmodabofirstbuy'), array('hint' => wpsg_translate(__('nohspc_Mail wird bei Bezahlung der Abo Bestellung zusätzlich versendet. (mail_firstbuy.phtml) -> <a href="#1#">Konfiguration</a>', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=emailconf#wpsgmodabofirstbuy'), 'help' => 'wpsg_mod_abo_wpsgmodabofirstbuy',)); ?>
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_abo_wpsgmodaboexpiration', __('Mail bei Auslauf eines Abos', 'wpsg'), $this->get_option('wpsg_mod_abo_wpsgmodaboexpiration'), array('hint' => wpsg_translate(__('nohspc_Mail wird bei Auslauf eines Abos versendet. (mail_expiration.phtml) -> <a href="#1#">Konfiguration</a>', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=emailconf#wpsgmodaboexpiration'), 'help' => 'wpsg_mod_abo_wpsgmodaboexpiration',)); ?>
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_abo_wpsgmodabrebuy', __('Mail bei Kauf einer Verlängerung', 'wpsg'), $this->get_option('wpsg_mod_abo_wpsgmodabrebuy'), array('hint' => wpsg_translate(__('nohspc_Mail wird bei Bezahlung einer Abo Verlängerung versendet. (mail_rebuy.phtml) -> <a href="#1#">Konfiguration</a>', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=emailconf#wpsgmodabrebuy'), 'help' => 'wpsg_mod_abo_wpsgmodabrebuy',)); ?> \ No newline at end of file