Bladeren bron

Change links to add feeds (#3650)

Before, the links was redirecting to the subscription management page which
was the default behavior before changes introduced in 1.17.0 (#3027). All
links were modified except the one for empty content.
Now, the empty content links are redirecting to the proper page.

See #3642
Alexis Degrugillier 4 jaren geleden
bovenliggende
commit
4823e6df11
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 1 1
      app/views/index/normal.phtml
  2. 1 1
      app/views/index/reader.phtml

+ 1 - 1
app/views/index/normal.phtml

@@ -116,7 +116,7 @@ $today = @strtotime('today');
 ?>
 <div id="stream" class="prompt alert alert-warn normal">
 	<h2><?= _t('index.feed.empty') ?></h2>
-	<a href="<?= _url('subscription', 'index') ?>"><?= _t('index.feed.add') ?></a><br /><br />
+	<a href="<?= _url('subscription', 'add') ?>"><?= _t('index.feed.add') ?></a><br /><br />
 </div>
 <?php endif; ?>
 

+ 1 - 1
app/views/index/reader.phtml

@@ -82,6 +82,6 @@ $content_width = FreshRSS_Context::$user_conf->content_width;
 ?>
 <div id="stream" class="prompt alert alert-warn reader">
 	<h2><?= _t('index.feed.empty') ?></h2>
-	<a href="<?= _url('subscription', 'index') ?>"><?= _t('index.feed.add') ?></a><br /><br />
+	<a href="<?= _url('subscription', 'add') ?>"><?= _t('index.feed.add') ?></a><br /><br />
 </div>
 <?php endif; ?>