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 --- views/mods/mod_abo/basket_row.phtml | 16 ++++++++ views/mods/mod_abo/mail_expiration.phtml | 25 ++++++++++++ views/mods/mod_abo/mail_expiration_html.phtml | 25 ++++++++++++ views/mods/mod_abo/mail_firstbuy.phtml | 23 +++++++++++ views/mods/mod_abo/mail_firstbuy_html.phtml | 23 +++++++++++ views/mods/mod_abo/mail_rebuy.phtml | 25 ++++++++++++ views/mods/mod_abo/mail_rebuy_html.phtml | 25 ++++++++++++ views/mods/mod_abo/mail_row.phtml | 8 ++++ views/mods/mod_abo/mail_row_html.phtml | 13 ++++++ views/mods/mod_abo/order_view_base.phtml | 18 +++++++++ views/mods/mod_abo/order_view_row.phtml | 13 ++++++ views/mods/mod_abo/overview_row.phtml | 13 ++++++ views/mods/mod_abo/produkt_edit_content.phtml | 58 +++++++++++++++++++++++++++ views/mods/mod_abo/settings_edit.phtml | 12 ++++++ 14 files changed, 297 insertions(+) create mode 100644 views/mods/mod_abo/basket_row.phtml create mode 100644 views/mods/mod_abo/mail_expiration.phtml create mode 100644 views/mods/mod_abo/mail_expiration_html.phtml create mode 100644 views/mods/mod_abo/mail_firstbuy.phtml create mode 100644 views/mods/mod_abo/mail_firstbuy_html.phtml create mode 100644 views/mods/mod_abo/mail_rebuy.phtml create mode 100644 views/mods/mod_abo/mail_rebuy_html.phtml create mode 100644 views/mods/mod_abo/mail_row.phtml create mode 100644 views/mods/mod_abo/mail_row_html.phtml create mode 100644 views/mods/mod_abo/order_view_base.phtml create mode 100644 views/mods/mod_abo/order_view_row.phtml create mode 100644 views/mods/mod_abo/overview_row.phtml create mode 100644 views/mods/mod_abo/produkt_edit_content.phtml create mode 100644 views/mods/mod_abo/settings_edit.phtml (limited to 'views/mods/mod_abo') 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 @@ + + + + + + : + + view['wpsg_mod_abo']['order']['onr'], $this->view['wpsg_mod_abo']['wpsg_mod_abo_durration_menge']); ?> + + \ 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 @@ + view['customer']['vname']); ?> view['customer']['name']); ?>, + + + +view['allowRebuy'] !== false) { ?> +view['product']['wpsg_mod_abo_durration'], wpsg_ff($this->view['product']['wpsg_mod_abo_price'], $this->get_option('wpsg_currency'))); ?> + +view['rebuyLink']; ?> + +view['product']['wpsg_mod_abo_resell'] > 0) { ?> +view['allowRebuy']); ?> + + + + + + + +get_option('wpsg_shopdata_name'), '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 @@ +

view['customer']['vname']); ?> view['customer']['name']); ?>,

+ +

+ +view['allowRebuy'] !== false) { ?> +

view['product']['wpsg_mod_abo_durration'], wpsg_ff($this->view['product']['wpsg_mod_abo_price'], $this->get_option('wpsg_currency'))); ?>

+ + + +view['product']['wpsg_mod_abo_resell'] > 0) { ?> +

view['allowRebuy']); ?>

+ + +

+ + +

+ +

get_option('wpsg_shopdata_name'), 'wpsg'); ?> -

\ 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 @@ + view['customer']['vname']); ?> view['customer']['name']); ?>, + + + +view['product']['wpsg_mod_abo_durration']); ?> + +view['rebuyLink']; ?> + +view['product']['wpsg_mod_abo_price'], $this->get_option('wpsg_currency'))); ?> + +view['product']['wpsg_mod_abo_resell'] > 0) { ?> +view['product']['wpsg_mod_abo_resell']); ?> + + + + +get_option('wpsg_shopdata_name'), '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 @@ +

view['customer']['vname']); ?> view['customer']['name']); ?>,

+ +

+ +

view['product']['wpsg_mod_abo_durration']); ?>

+ + + +

view['product']['wpsg_mod_abo_price'], $this->get_option('wpsg_currency'))); ?>

+ +view['product']['wpsg_mod_abo_resell'] > 0) { ?> +

view['product']['wpsg_mod_abo_resell']); ?>

+ + +

+ +

get_option('wpsg_shopdata_name'), 'wpsg'); ?> -

\ 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 @@ + view['customer']['vname']); ?> view['customer']['name']); ?>, + + + +view['allowRebuy'] !== false) { ?> +view['product']['wpsg_mod_abo_durration'], wpsg_ff($this->view['product']['wpsg_mod_abo_price'], $this->get_option('wpsg_currency'))); ?> + +view['rebuyLink']; ?> + +view['product']['wpsg_mod_abo_resell'] > 0) { ?> +view['allowRebuy']); ?> + + + + + + + +get_option('wpsg_shopdata_name'), '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 @@ +

view['customer']['vname']); ?> view['customer']['name']); ?>,

+ +

+ +view['allowRebuy'] !== false) { ?> +

view['product']['wpsg_mod_abo_durration'], wpsg_ff($this->view['product']['wpsg_mod_abo_price'], $this->get_option('wpsg_currency'))); ?>

+ + + +view['product']['wpsg_mod_abo_resell'] > 0) { ?> +

view['allowRebuy']); ?>

+ + +

+ + +

+ +

get_option('wpsg_shopdata_name'), 'wpsg'); ?> -

\ 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 @@ + +: 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 @@ + + +   + + : view['wpsg_mod_abo']['order']['onr'], $this->view['wpsg_mod_abo']['wpsg_mod_abo_durration_menge']); ?> + + \ 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 @@ + + + : + + view['wpsg_mod_abo']['rebuy'])) { ?> + view['wpsg_mod_abo']['rebuy'] as $k => $v) { ?> + #2# 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']); ?>
+ + + + + + \ 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 @@ + + + : + + #2# (#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']); ?> + + \ 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 @@ + + + : + + view['wpsg_mod_abo']['order']['onr'], $this->view['wpsg_mod_abo']['wpsg_mod_abo_durration_menge']); ?> + + \ 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 @@ + + + +
+

+
+ +

+
+ + view['product']['wpsg_mod_abo_activ']); ?> + +
+ + view['product']['wpsg_mod_abo_resell']); ?> + +
+ + view['product']['wpsg_mod_abo_resell_count']); ?> + +
+ + 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'))); ?> + view['product']['wpsg_mod_abo_durration']); ?> + view['product']['wpsg_mod_abo_url'], array('hint' => wpsg_translate(__('nohspc_Wird hier nichts angegeben, so wird die URL aus der Modulkonfiguration bei Ablauf/Verlängerung benachrichtigt.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_abo'))); ?> + +
+ +
+ +
+
\ 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 @@ + +get_option('wpsg_mod_abo_url'), array ('help' => 'wpsg_mod_abo_url')); ?> +
+get_option('wpsg_mod_abo_wpsgmodabofirstbuy'), array('hint' => wpsg_translate(__('nohspc_Mail wird bei Bezahlung der Abo Bestellung zusätzlich versendet. (mail_firstbuy.phtml) -> Konfiguration', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=emailconf#wpsgmodabofirstbuy'), 'help' => 'wpsg_mod_abo_wpsgmodabofirstbuy',)); ?> +get_option('wpsg_mod_abo_wpsgmodaboexpiration'), array('hint' => wpsg_translate(__('nohspc_Mail wird bei Auslauf eines Abos versendet. (mail_expiration.phtml) -> Konfiguration', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=emailconf#wpsgmodaboexpiration'), 'help' => 'wpsg_mod_abo_wpsgmodaboexpiration',)); ?> +get_option('wpsg_mod_abo_wpsgmodabrebuy'), array('hint' => wpsg_translate(__('nohspc_Mail wird bei Bezahlung einer Abo Verlängerung versendet. (mail_rebuy.phtml) -> Konfiguration', '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 -- cgit v1.2.3