From 2a54eb90eee5e7358e3eebbfef871254ccbcf9e0 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Mon, 17 Nov 2014 15:37:47 +0100 Subject: show a warning if ajax webcron is detectedg --- templates/index.php | 3 ++- templates/part.content.cronwarning.php | 29 +++++++++++++++++++++++++++++ templates/part.content.php | 1 + 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 templates/part.content.cronwarning.php (limited to 'templates') diff --git a/templates/index.php b/templates/index.php index 7fe58a4c2..9de7932d4 100644 --- a/templates/index.php +++ b/templates/index.php @@ -16,7 +16,8 @@ script('news', [ ]); ?> -
+
+
+

t('Ajax cron mode detected! Your feeds will ' . + 'not be updated correctly. It is recommended to either use ' . + 'the operating system cron or a custom updater.' + )); ?> +

+

+
+ \ No newline at end of file diff --git a/templates/part.content.php b/templates/part.content.php index 9ee3ef6be..c0e27f448 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -1,4 +1,5 @@ inc('part.content.firstrun')) ?> +inc('part.content.cronwarning')) ?>