summaryrefslogtreecommitdiff
path: root/views/mods/mod_kundenverwaltung
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2017-12-19 10:15:56 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2017-12-19 10:15:56 +0000
commit141750106d23b13633fad3e828e7565976762abd (patch)
treed5e4d24498fb61bc1dbc4305e8397af5c4442a03 /views/mods/mod_kundenverwaltung
parenta66ca607fd36cf3f4007f5325977eb7140c18890 (diff)
- AboModul Erweiterung4.0.5
- Optionaler Versand an Admin wenn Abo angehlaten werden soll - Protokoll - Frontendfunktionen / Darstellung der Abos git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6834 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_kundenverwaltung')
-rw-r--r--views/mods/mod_kundenverwaltung/abo.phtml57
1 files changed, 0 insertions, 57 deletions
diff --git a/views/mods/mod_kundenverwaltung/abo.phtml b/views/mods/mod_kundenverwaltung/abo.phtml
deleted file mode 100644
index 483d46d..0000000
--- a/views/mods/mod_kundenverwaltung/abo.phtml
+++ /dev/null
@@ -1,57 +0,0 @@
-<?php
-
- /**
- * Template für die Übersichtsseite der Abonnements im Frontend
- */
-
- //wpsg_debug($this->view['arOrder']);
-
-?>
-
-<div class="wpsg_mod_kundenverwaltung_abo wpsg">
-
- <?php echo $this->writeFrontendMessage(); ?>
-
- <?php if (wpsg_isSizedArray($this->view['arOrder'])) { ?>
- <?php foreach ($this->view['arOrder'] as $order) { ?>
-
- <div class="wpsg_box">
-
- <div class="wpsg_inner wpsg_order_<?php echo $order['id']; ?>">
-
- <?php /* Abo-Name */ ?>
- <?php echo ($oOrderProduct->getProduct()->getProductName()); ?>
-
- <?php /* Abo-Preis */ ?>
-
- <?php /* Anhalten des Abos */ ?>
- <?php $abo_product_status = $this->callMod('wpsg_mod_abo', 'getAboProductStatus', Array($_REQUEST['edit_id'], $oOrderProduct->getProductKey())); ?>
-
- <?php if ($abo_product_status['status'] === wpsg_mod_abo::STATUS_ACTIVE) { ?>
-
- <?php echo __('Aktiv', 'wpsg'); ?>
-
- &nbsp;[&nbsp;<a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&mod=wpsg_mod_abo&edit_id=<?php echo $_REQUEST['edit_id'] ?>&product_key=<?php echo $oOrderProduct->getProductKey(); ?>&do=stop&noheader=1"><?php echo __('Anhalten'); ?></a>&nbsp;]
-
- <?php } else if ($abo_product_status['status'] === wpsg_mod_abo::STATUS_STOPPED) { ?>
-
- <?php echo __('Angehalten', 'wpsg'); ?>
-
- &nbsp;[&nbsp;<a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&mod=wpsg_mod_abo&edit_id=<?php echo $_REQUEST['edit_id'] ?>&product_key=<?php echo $oOrderProduct->getProductKey(); ?>&do=run&noheader=1"><?php echo __('Fortsetzen'); ?></a>&nbsp;]
-
- <?php } ?>
-
- <?php echo wpsg_drawForm_TextEnd(__('Verlängerung')); ?>
-
- <?php /* Ablaufzeitpunkt */ ?>
- <?php $tExpire = strtotime($this->callMod('wpsg_mod_abo', 'getOrderAboExpiration', Array($_REQUEST['edit_id']))); echo wpsg_drawForm_Text(__('Abo läuft bis'), wpsg_formatTimestamp($tExpire), false, Array('class_content_wrap' => (($tExpire > time())?'wpsg_mod_abo_future_expire':'wpsg_mod_abo_expired'))); ?>
-
- </div>
-
- </div>
-
- <?php } ?>
- <?php } else { ?>
- <p><?php echo __('Bisher kein(e) Abonnement(s) vorhanden.', 'wpsg'); ?></p>
- <?php } ?>
-</div> \ No newline at end of file