diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2017-05-24 20:52:23 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2017-05-24 20:52:23 +0200 |
commit | 42c57af9f883984429ae1c529855eeeed7013588 (patch) | |
tree | d6885234eaea8fc86a782d7cd44466a55e6d27a9 /templates/part.content.warnings.php | |
parent | 51095a9276fe24cdc2127d85ca461338e27e8ba3 (diff) |
better link11.0.3
Diffstat (limited to 'templates/part.content.warnings.php')
-rw-r--r-- | templates/part.content.warnings.php | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/templates/part.content.warnings.php b/templates/part.content.warnings.php new file mode 100644 index 000000000..e4ac09652 --- /dev/null +++ b/templates/part.content.warnings.php @@ -0,0 +1,42 @@ +<?php if ($_['warnings']['improperlyConfiguredCron']) { ?> + <news-instant-notification id="cron-warning"> + <p><?php p($l->t('Ajax or Web cron mode detected! Your feeds will not be updated!')); ?></p> + <ul> + <li> + <a href="https://docs.nextcloud.org/server/9/admin_manual/configuration_server/background_jobs_configuration.html#cron" + target="_blank" + rel="noreferrer"> + <?php + p($l->t('How to set up the operating system cron')); + ?> + </a> + </li> + <li> + <a href="https://github.com/nextcloud/news-updater" + target="_blank" + rel="noreferrer"> + <?php + p($l->t('Install and set up a faster parallel updater that uses the News app\'s update API')); + ?> + </a> + </li> + </ul> + </news-instant-notification> +<?php }; ?> + +<?php if ($_['warnings']['incorrectDbCharset']) { ?> + <news-instant-notification id="cron-warning"> + <p><?php p($l->t('Incorrect MySql/MariaDb database charset detected!')); ?></p> + <ul> + <li> + <a href="https://dba.stackexchange.com/a/21684" + target="_blank" + rel="noreferrer"> + <?php + p($l->t('Learn on how to convert your database to utf8mb4')); + ?> + </a> + </li> + </ul> + </news-instant-notification> +<?php }; ?>
\ No newline at end of file |