diff options
Diffstat (limited to 'views/mods/mod_abo/settings_edit.phtml')
| -rw-r--r-- | views/mods/mod_abo/settings_edit.phtml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/views/mods/mod_abo/settings_edit.phtml b/views/mods/mod_abo/settings_edit.phtml index 744969a..a69cddf 100644 --- a/views/mods/mod_abo/settings_edit.phtml +++ b/views/mods/mod_abo/settings_edit.phtml @@ -122,7 +122,19 @@ ), $this->get_option('wpsg_mod_abo_autoexpire_customer'), array('help' => 'wpsg_mod_abo_autoexpire_customer')); ?>
<?php echo wpsg_drawForm_Input(false, __('CRON URL', 'wpsg'), site_url().'/?wpsg_cron=1', ['readonly' => true]); ?>
-<?php echo wpsg_drawForm_Text(__('Letzter Cron Aufruf', 'wpsg'), wpsg_formatTimestamp($this->get_option('wpsg_mod_abo_cron_lastrun'), false, true)); ?>
+
+<?php echo wpsg_drawForm_TextStart(); ?>
+
+ <span><?php echo __('Letzter Lauf: ', 'wpsg'); ?><?php echo wpsg_formatTimestamp($this->get_option('wpsg_mod_abo_cron_lastrun'), false, true); ?></span><br />
+ <span>
+ <?php echo __('Status: ', 'wpsg'); ?><?php echo (($this->get_option('wpsg_mod_abo_cron_run') === '1')?_('Läuft gerade'):_('Wartend')); ?>
+ <?php if ($this->get_option('wpsg_mod_abo_cron_run') === '1') { ?>
+ (<?php echo __('Start: ', 'wpsg'); ?><?php echo wpsg_formatTimestamp($this->get_option('wpsg_mod_abo_cron_start'), false, true); ?>)
+ <a href="<?php echo WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_abo&subaction=resetCron&noheader=1'; ?>"><?php echo __('Zurücksetzen', 'wpsg'); ?></a>
+ <?php } ?>
+ </span>
+
+<?php echo wpsg_drawForm_TextEnd(__('Cron Status')); ?>
<br />
|
