summaryrefslogtreecommitdiffstats
path: root/templates/part.content.cronwarning.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/part.content.cronwarning.php')
-rw-r--r--templates/part.content.cronwarning.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/templates/part.content.cronwarning.php b/templates/part.content.cronwarning.php
new file mode 100644
index 000000000..73d833560
--- /dev/null
+++ b/templates/part.content.cronwarning.php
@@ -0,0 +1,29 @@
+<?php if ($_['cronWarning'] === 'ajaxCron') { ?>
+ <div id="cron-warning">
+ <p><?php p($l->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.'
+ )); ?>
+ <ul>
+ <li>
+ <a href="http://doc.owncloud.org/server/7.0/admin_manual/configuration/background_jobs.html#cron"
+ target="_blank">
+ <?php
+ p($l->t('How to set up the operating system cron'));
+ ?>
+ </a>
+ </li>
+ <li>
+ <a href="https://github.com/owncloud/news/wiki/Custom-Updater"
+ target="_blank">
+ <?php
+ p($l->t('How to set up a custom updater ' .
+ '(faster and no possible deadlock) '
+ ));
+ ?>
+ </a>
+ </li>
+ </ul>
+ </p>
+ </div>
+<?php }; ?> \ No newline at end of file