|
|
@@ -7,8 +7,8 @@ call_user_func($this->callbackBeforeEntries, $this);
|
|
|
$lazyload = FreshRSS_Context::$user_conf->lazyload;
|
|
|
$content_width = FreshRSS_Context::$user_conf->content_width;
|
|
|
?>
|
|
|
+<main id="stream" class="reader">
|
|
|
|
|
|
-<div id="stream" class="reader">
|
|
|
<div id="new-article">
|
|
|
<a href="<?= Minz_Url::display(Minz_Request::currentRequest()) ?>"><?= _t('gen.js.new_article'); /* TODO: move string in JS*/ ?></a>
|
|
|
</div><?php
|
|
|
@@ -76,12 +76,12 @@ $content_width = FreshRSS_Context::$user_conf->content_width;
|
|
|
if ($nbEntries > 0):
|
|
|
call_user_func($this->callbackBeforePagination, $this, $nbEntries, $lastEntry);
|
|
|
$this->renderHelper('pagination');
|
|
|
-?></div><?php
|
|
|
+?></main><?php
|
|
|
else:
|
|
|
ob_end_clean(); //Discard the articles headers, as we have no articles
|
|
|
?>
|
|
|
-<div id="stream" class="prompt alert alert-warn reader">
|
|
|
+<main id="stream" class="prompt alert alert-warn reader">
|
|
|
<h2><?= _t('index.feed.empty') ?></h2>
|
|
|
<a href="<?= _url('subscription', 'add') ?>"><?= _t('index.feed.add') ?></a><br /><br />
|
|
|
-</div>
|
|
|
+</main>
|
|
|
<?php endif; ?>
|