summaryrefslogtreecommitdiff
path: root/views/admin/dataprotection.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'views/admin/dataprotection.phtml')
-rw-r--r--views/admin/dataprotection.phtml36
1 files changed, 3 insertions, 33 deletions
diff --git a/views/admin/dataprotection.phtml b/views/admin/dataprotection.phtml
index 1d7a740..2ee9fdd 100644
--- a/views/admin/dataprotection.phtml
+++ b/views/admin/dataprotection.phtml
@@ -46,39 +46,9 @@
</div>
<div class="panel-body">
- <?php /* periodisches Löschen der persönlichen Daten */ ?>
- <?php echo wpsg_drawForm_Input ('wpsg_customerdatadelete_complete', __('vollständig abgeschlossene Bestellungen', 'wpsg'), $this->get_option('wpsg_customerdatadelete_complete'));?>
- <?php echo wpsg_drawForm_Select('wpsg_customerdatadelete_completeeinheit', __('Einheit', 'wpsg'), array('0' => __('Tag(e)', 'wpsg'), '1' => __('Monat(e)', 'wpsg'), '2' => __('Jahr(e)', 'wpsg')), $this->get_option('wpsg_customerdatadelete_completeeinheit')); ?>
-
- <br />
-
- <?php echo wpsg_drawForm_Input ('wpsg_customerdatadelete_storno', __('stonierte Bestellungen', 'wpsg'), $this->get_option('wpsg_customerdatadelete_storno')); ?>
- <?php echo wpsg_drawForm_Select('wpsg_customerdatadelete_stornoeinheit', __('Einheit', 'wpsg'), array('0' => __('Tag(e)', 'wpsg'), '1' => __('Monat(e)', 'wpsg'), '2' => __('Jahr(e)', 'wpsg')), $this->get_option('wpsg_customerdatadelete_stornoeinheit')); ?>
-
- <br />
-
- <?php /* TODO: Abfrage greift nicht */ ?>
- <?php if ($this->get_option('wpsg_showincompleteorder') == '1') { ?>
- <?php echo wpsg_drawForm_Input ('wpsg_customerdatadelete_uncomplete', __('unvollständige Bestellungen', 'wpsg'), $this->get_option('wpsg_customerdatadelete_uncomplete')); ?>
- <?php echo wpsg_drawForm_Select('wpsg_customerdatadelete_uncompleteeinheit', __('Einheit', 'wpsg'), array('0' => __('Tag(e)', 'wpsg'), '1' => __('Monat(e)', 'wpsg'), '2' => __('Jahr(e)', 'wpsg')), $this->get_option('wpsg_customerdatadelete_uncompleteeinheit')); ?>
- <?php } ?>
-
- <br />
-
- <?php /* Abomodul aktiv */ ?>
- <?php if ($this->hasMod('wpsg_mod_abo') == '1') { ?>
- <?php echo wpsg_drawForm_Input ('wpsg_customerdatadelete_abos', __('gekündigte Abos', 'wpsg'), $this->get_option('wpsg_customerdatadelete_abos')); ?>
- <?php echo wpsg_drawForm_Select('wpsg_customerdatadelete_aboseinheit', __('Einheit', 'wpsg'), array('0' => __('Tag(e)', 'wpsg'), '1' => __('Monat(e)', 'wpsg'), '2' => __('Jahr(e)', 'wpsg')), $this->get_option('wpsg_customerdatadelete_aboseinheit')); ?>
- <?php } ?>
-
- <br />
-
- <?php /* Rechnungsmodul aktiv*/ ?>
- <?php if ($this->hasMod('wpsg_mod_rechnungen') == '1') { ?>
- <?php echo wpsg_drawForm_Input ('wpsg_customerdatadelete_rechnung', __('Rechnungen geschrieben', 'wpsg'), $this->get_option('wpsg_customerdatadelete_complete')); ?>
- <?php echo wpsg_drawForm_Select('wpsg_customerdatadelete_rechnungeinheit', __('Einheit', 'wpsg'), array('0' => __('Tag(e)', 'wpsg'), '1' => __('Monat(e)', 'wpsg'), '2' => __('Jahr(e)', 'wpsg')), $this->get_option('wpsg_customerdatadelete_rechnungeinheit')); ?>
- <?php } ?>
-
+ <?php echo wpsg_drawForm_Input('wpsg_customerdatadelete', __('Letzte Aktivität älter als', 'wpsg'), $this->get_option('wpsg_customerdatadelete'));?>
+ <?php echo wpsg_drawForm_Select('wpsg_customerdatadelete_unit', __('Einheit', 'wpsg'), array('0' => __('Tag(e)', 'wpsg'), '1' => __('Monat(e)', 'wpsg'), '2' => __('Jahr(e)', 'wpsg')), $this->get_option('wpsg_customerdatadelete_unit')); ?>
+
</div>
</div>