diff options
Diffstat (limited to 'views/admin')
| -rw-r--r-- | views/admin/dataprotection.phtml | 9 | ||||
| -rw-r--r-- | views/admin/form/emailconf.phtml | 2 | ||||
| -rw-r--r-- | views/admin/konfiguration.phtml | 6 |
3 files changed, 10 insertions, 7 deletions
diff --git a/views/admin/dataprotection.phtml b/views/admin/dataprotection.phtml index 2e178ad..53ccc8f 100644 --- a/views/admin/dataprotection.phtml +++ b/views/admin/dataprotection.phtml @@ -51,7 +51,14 @@ <?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')); ?>
<?php echo wpsg_drawForm_Select('wpsg_customerdatedelete_who', __('Kundenart', 'wpsg'), ['0' => __('Alle', 'wpsg'), '1' => __('Nur Gastkunden', 'wpsg')], $this->get_option('wpsg_customerdatedelete_who')); ?>
-
+
+ <br />
+
+ <?php echo wpsg_drawForm_Input('wpsg_guestdelete_days', __('Gastkunden ohne Bestellung anonymisieren nach', 'wpsg'), $this->get_option('wpsg_guestdelete_days'), [
+ 'unit' => __('Tagen', 'wpsg'),
+ 'hint' => __('Gilt für Gastkunden, die nur Kundendaten eingegeben, aber nicht bestellt haben. Ihre unvollständigen Bestellungen werden dabei gelöscht. Leer oder 0: aus.', 'wpsg')
+ ]); ?>
+
</div>
</div>
diff --git a/views/admin/form/emailconf.phtml b/views/admin/form/emailconf.phtml index 23fb7f2..67b0aff 100644 --- a/views/admin/form/emailconf.phtml +++ b/views/admin/form/emailconf.phtml @@ -14,7 +14,7 @@ <?php if ($this->view['field_key'] === 'reminder') { ?>
<?php echo wpsg_drawForm_Input('wpsg_reminder_hours', __('Automatischer Versand nach Bestellerstellung in Stunden', 'wpsg'), $this->get_option('wpsg_reminder_hours')); ?>
- <?php echo wpsg_drawForm_Input(false, __('CRON URL', 'wpsg'), site_url().'/?wpsg_cron=1', ['readonly' => true]); ?>
+ <p class="info"><?php echo __('Der Versand läuft stündlich über die WordPress-Zeitsteuerung (WP-Cron).', 'wpsg'); ?></p>
<?php } ?>
diff --git a/views/admin/konfiguration.phtml b/views/admin/konfiguration.phtml index 6ddebfa..b4213f9 100644 --- a/views/admin/konfiguration.phtml +++ b/views/admin/konfiguration.phtml @@ -47,11 +47,7 @@ </div>
<?php } else { ?>
<?php wpsg_drawForm_TextStart(); ?>
- <?php echo WPSG_VERSION; ?> <a href="<?php
-
- echo wp_nonce_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=allgemein&do=update&submit=1&noheader=1', 'wpsg-admin-db-update');
-
- ?>"><?php echo __("Aktualisieren", "wpsg"); ?></a>
+ <?php echo WPSG_VERSION; ?>
<?php echo wpsg_drawForm_TextEnd(__('Installierte DB Version', 'wpsg'), array('help' => 'DBUpdate')); ?>
<?php } ?>
|
