summaryrefslogtreecommitdiffstats
path: root/templates/part.content.firstrun.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-11-17 15:44:28 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-11-17 15:44:28 +0100
commit35623dc2baffd6ce1900f1b72ceb131dcb9644c7 (patch)
treed248ac2d722e85322cf29f3ff9de873b3d984c4c /templates/part.content.firstrun.php
parent751ae8b62adc02cc31ecc35ac0fd29339816fba6 (diff)
fix firstrun ajax cron message4.1.0
Diffstat (limited to 'templates/part.content.firstrun.php')
-rw-r--r--templates/part.content.firstrun.php28
1 files changed, 15 insertions, 13 deletions
diff --git a/templates/part.content.firstrun.php b/templates/part.content.firstrun.php
index a089ba729..0ed8a9f1e 100644
--- a/templates/part.content.firstrun.php
+++ b/templates/part.content.firstrun.php
@@ -1,15 +1,17 @@
-<div id="first-run">
- <div>
- <div class="helper"><h1><?php p($l->t('Add a feed')) ?></h1></div>
- <div class="title">
- <h1>
- <?php
- p($l->t('There are no feeds yet. Go ahead and add some'))
- ?> :)
- </h1>
- </div>
- <div class="helper">
- <h1><?php p($l->t('Import feeds and articles')) ?></h1>
+<?php if ($_['cronWarning'] !== 'ajaxCron') { ?>
+ <div id="first-run">
+ <div>
+ <div class="helper"><h1><?php p($l->t('Add a feed')) ?></h1></div>
+ <div class="title">
+ <h1>
+ <?php
+ p($l->t('There are no feeds yet. Go ahead and add some'))
+ ?> :)
+ </h1>
+ </div>
+ <div class="helper">
+ <h1><?php p($l->t('Import feeds and articles')) ?></h1>
+ </div>
</div>
</div>
-</div> \ No newline at end of file
+<?php }; ?> \ No newline at end of file