A free, self-hostable news aggregator…
Improve the link "back to RSS feeds": set a CSS class (#3761)
maThf1e15cdd82e9
diff --git a/app/views/auth/index.phtml b/app/views/auth/index.phtmlindex 313a7c14d..cf95e21f6 100644--- a/app/views/auth/index.phtml+++ b/app/views/auth/index.phtml@@ -1,7 +1,9 @@<?php $this->partial('aside_configure'); ?><div class="post">- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ <div class="link-back-wrapper">+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ </div><form method="post" action="<?= _url('auth', 'index') ?>"><input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />diff --git a/app/views/configure/archiving.phtml b/app/views/configure/archiving.phtmlindex 3cc014b15..9d091abf6 100644--- a/app/views/configure/archiving.phtml+++ b/app/views/configure/archiving.phtml@@ -1,8 +1,10 @@<?php $this->partial('aside_configure'); ?><div class="post">- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>-+ <div class="link-back-wrapper">+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ </div>+<form method="post" action="<?= _url('configure', 'archiving') ?>"><input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" /><legend><?= _t('conf.archiving') ?></legend>diff --git a/app/views/configure/display.phtml b/app/views/configure/display.phtmlindex 8e2105333..9ed5d9465 100644--- a/app/views/configure/display.phtml+++ b/app/views/configure/display.phtml@@ -1,8 +1,10 @@<?php $this->partial('aside_configure'); ?><div class="post">- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>-+ <div class="link-back-wrapper">+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ </div>+<form method="post" action="<?= _url('configure', 'display') ?>"><input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" /><legend><?= _t('conf.display') ?></legend>diff --git a/app/views/configure/integration.phtml b/app/views/configure/integration.phtmlindex c6deea5c2..278265aed 100644--- a/app/views/configure/integration.phtml+++ b/app/views/configure/integration.phtml@@ -1,7 +1,9 @@<?php $this->partial('aside_configure'); ?><div class="post">- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ <div class="link-back-wrapper">+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ </div><form method="post" action="<?= _url('configure', 'integration') ?>"data-simple='<div class="form-group" id="group-share-##key##"><label class="group-name">##label##</label><div class="group-controls"><div class="stick">diff --git a/app/views/configure/queries.phtml b/app/views/configure/queries.phtmlindex 9c13eeb0e..6402d63fb 100644--- a/app/views/configure/queries.phtml+++ b/app/views/configure/queries.phtml@@ -1,7 +1,9 @@<?php $this->partial('aside_configure'); ?><div class="post">- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ <div class="link-back-wrapper">+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ </div><form method="post" action="<?= _url('configure', 'queries') ?>" class="draggableList"><input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />diff --git a/app/views/configure/reading.phtml b/app/views/configure/reading.phtmlindex 199bd5ab6..c73866486 100644--- a/app/views/configure/reading.phtml+++ b/app/views/configure/reading.phtml@@ -1,7 +1,9 @@<?php $this->partial('aside_configure'); ?><div class="post">- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ <div class="link-back-wrapper">+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ </div><form method="post" action="<?= _url('configure', 'reading') ?>"><input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />diff --git a/app/views/configure/shortcut.phtml b/app/views/configure/shortcut.phtmlindex 1bc3f775b..49b7fd6ee 100644--- a/app/views/configure/shortcut.phtml+++ b/app/views/configure/shortcut.phtml@@ -1,7 +1,9 @@<?php $this->partial('aside_configure'); ?><div class="post">- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ <div class="link-back-wrapper">+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ </div><datalist id="keys"><?php foreach ($this->list_keys as $key) { ?>diff --git a/app/views/configure/system.phtml b/app/views/configure/system.phtmlindex f185fb1d3..d3ead87a8 100644--- a/app/views/configure/system.phtml+++ b/app/views/configure/system.phtml@@ -1,7 +1,9 @@<?php $this->partial('aside_configure'); ?><div class="post">- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ <div class="link-back-wrapper">+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ </div><form method="post" action="<?= _url('configure', 'system') ?>"><input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />diff --git a/app/views/extension/index.phtml b/app/views/extension/index.phtmlindex f3e75cfcc..254479f40 100644--- a/app/views/extension/index.phtml+++ b/app/views/extension/index.phtml@@ -1,7 +1,9 @@<?php $this->partial('aside_configure'); ?><div class="post">- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ <div class="link-back-wrapper">+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ </div><h1><?= _t('admin.extensions.title') ?></h1><h2><?= _t('admin.extensions.system') ?></h2>diff --git a/app/views/importExport/index.phtml b/app/views/importExport/index.phtmlindex e5a24dbc4..c16f4272f 100644--- a/app/views/importExport/index.phtml+++ b/app/views/importExport/index.phtml@@ -1,7 +1,9 @@<?php $this->partial('aside_subscription'); ?><div class="post ">- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ <div class="link-back-wrapper">+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ </div><form method="post" action="<?= _url('importExport', 'import') ?>" enctype="multipart/form-data"><input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />diff --git a/app/views/index/about.phtml b/app/views/index/about.phtmlindex 320847886..0c8ef2538 100644--- a/app/views/index/about.phtml+++ b/app/views/index/about.phtml@@ -1,5 +1,7 @@<div class="post content">- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ <div class="link-back-wrapper">+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ </div><h1><?= _t('index.about') ?></h1>diff --git a/app/views/index/logs.phtml b/app/views/index/logs.phtmlindex 3bbf233ac..c2b940e5c 100644--- a/app/views/index/logs.phtml+++ b/app/views/index/logs.phtml@@ -1,5 +1,7 @@<div class="post content">- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ <div class="link-back-wrapper">+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ </div><h1><?= _t('index.log') ?></h1><form method="post" action="<?= _url('index', 'logs') ?>"><p>diff --git a/app/views/stats/idle.phtml b/app/views/stats/idle.phtmlindex 7834d23c7..8b5317c2b 100644--- a/app/views/stats/idle.phtml+++ b/app/views/stats/idle.phtml@@ -1,7 +1,9 @@<?php $this->partial('aside_stats'); ?><div class="post">- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ <div class="link-back-wrapper">+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ </div><h1><?= _t('admin.stats.idle') ?></h1>diff --git a/app/views/stats/index.phtml b/app/views/stats/index.phtmlindex 661485f75..dd7faa72c 100644--- a/app/views/stats/index.phtml+++ b/app/views/stats/index.phtml@@ -1,7 +1,9 @@<?php $this->partial('aside_stats'); ?><div class="post">- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ <div class="link-back-wrapper">+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ </div><h1><?= _t('admin.stats.main') ?></h1>diff --git a/app/views/stats/repartition.phtml b/app/views/stats/repartition.phtmlindex 4ec843a10..e04418614 100644--- a/app/views/stats/repartition.phtml+++ b/app/views/stats/repartition.phtml@@ -1,7 +1,9 @@<?php $this->partial('aside_stats'); ?><div class="post ">- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ <div class="link-back-wrapper">+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ </div><h1><?= _t('admin.stats.repartition') ?></h1>diff --git a/app/views/subscription/add.phtml b/app/views/subscription/add.phtmlindex 63272dccb..70b9267aa 100644--- a/app/views/subscription/add.phtml+++ b/app/views/subscription/add.phtml@@ -1,7 +1,9 @@<?php $this->partial('aside_subscription'); ?><div class="post drop-section">- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ <div class="link-back-wrapper">+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ </div><form action="<?= _url('category', 'create') ?>" method="post">diff --git a/app/views/subscription/bookmarklet.phtml b/app/views/subscription/bookmarklet.phtmlindex 981304933..48ff44135 100644--- a/app/views/subscription/bookmarklet.phtml+++ b/app/views/subscription/bookmarklet.phtml@@ -1,7 +1,9 @@<?php $this->partial('aside_subscription'); ?><div class="post">- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ <div class="link-back-wrapper">+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ </div><h2><?= _t('sub.bookmarklet.title') ?></h2><p><a class="btn btn-important"diff --git a/app/views/subscription/index.phtml b/app/views/subscription/index.phtmlindex 7b36a02c1..ff0684a9f 100644--- a/app/views/subscription/index.phtml+++ b/app/views/subscription/index.phtml@@ -1,7 +1,9 @@<?php $this->partial('aside_subscription'); ?><div class="post drop-section">- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ <div class="link-back-wrapper">+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ </div><h2><?= _t('sub.title') ?></h2>diff --git a/app/views/tag/index.phtml b/app/views/tag/index.phtmlindex 3d38195c6..e56adbf4f 100644--- a/app/views/tag/index.phtml+++ b/app/views/tag/index.phtml@@ -1,7 +1,9 @@<?php $this->partial('aside_subscription'); ?><div class="post">- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ <div class="link-back-wrapper">+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ </div><form id="add_tag" method="post" action="<?= _url('tag', 'add') ?>" autocomplete="off"><legend><?= _t('sub.title.add_label') ?></legend>diff --git a/app/views/update/apply.phtml b/app/views/update/apply.phtmlindex c5e6884db..b52a31c5b 100644--- a/app/views/update/apply.phtml+++ b/app/views/update/apply.phtml@@ -1,7 +1,9 @@<?php $this->partial('aside_configure'); ?><div class="post">- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ <div class="link-back-wrapper">+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ </div><h1><?= _t('admin.update') ?></h1>diff --git a/app/views/update/checkInstall.phtml b/app/views/update/checkInstall.phtmlindex 8a05fa301..313dc5f24 100644--- a/app/views/update/checkInstall.phtml+++ b/app/views/update/checkInstall.phtml@@ -1,7 +1,9 @@<?php $this->partial('aside_configure'); ?><div class="post">- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ <div class="link-back-wrapper">+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ </div><h2><?= _t('admin.check_install.php') ?></h2>diff --git a/app/views/update/index.phtml b/app/views/update/index.phtmlindex 041941e39..1d5c2f5cb 100644--- a/app/views/update/index.phtml+++ b/app/views/update/index.phtml@@ -1,7 +1,9 @@<?php $this->partial('aside_configure'); ?><div class="post">- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ <div class="link-back-wrapper">+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ </div><h1><?= _t('admin.update') ?></h1>diff --git a/app/views/user/manage.phtml b/app/views/user/manage.phtmlindex bffda64e6..3474cc4b0 100644--- a/app/views/user/manage.phtml+++ b/app/views/user/manage.phtml@@ -1,7 +1,9 @@<?php $this->partial('aside_configure'); ?><div class="post">- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ <div class="link-back-wrapper">+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ </div><form method="post" action="<?= _url('user', 'create') ?>" autocomplete="off"><input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />diff --git a/app/views/user/profile.phtml b/app/views/user/profile.phtmlindex 799ead160..ae930a957 100644--- a/app/views/user/profile.phtml+++ b/app/views/user/profile.phtml@@ -5,7 +5,9 @@?><div class="post">- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ <div class="link-back-wrapper">+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>+ </div><form method="post" action="<?= _url('user', 'profile') ?>"><input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />