A free, self-hostable news aggregator…
changed <h2> to <legend> (#3676)
maTh3ed9d00f0a78
diff --git a/app/views/configure/shortcut.phtml b/app/views/configure/shortcut.phtmlindex 719fb4713..1bc3f775b 100644--- a/app/views/configure/shortcut.phtml+++ b/app/views/configure/shortcut.phtml@@ -11,7 +11,7 @@<?php $s = FreshRSS_Context::$user_conf->shortcuts; ?>- <legend><?= _t('conf.shortcut') ?></legend>+ <h2><?= _t('conf.shortcut') ?></h2><?php if ([] !== $nonStandard = getNonStandardShortcuts($s)): ?><p class="alert alert-error"><?= _t('conf.shortcut.non_standard', implode('</kbd>, <kbd>', $nonStandard)) ?>diff --git a/app/views/extension/index.phtml b/app/views/extension/index.phtmlindex bb163c8ee..f3e75cfcc 100644--- a/app/views/extension/index.phtml+++ b/app/views/extension/index.phtml@@ -4,12 +4,10 @@<a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a><h1><?= _t('admin.extensions.title') ?></h1>-+ <h2><?= _t('admin.extensions.system') ?></h2><form id="form-extension" method="post"><input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />- <?php if (!empty($this->extension_list['system'])) { ?>- <h2><?= _t('admin.extensions.system') ?></h2>- <?php+ <?php if (!empty($this->extension_list['system'])) {foreach ($this->extension_list['system'] as $ext) {$this->ext_details = $ext;$this->renderHelper('extension/details');@@ -24,8 +22,6 @@$this->ext_details = $ext;$this->renderHelper('extension/details');}- ?>- <?php}if (empty($this->extension_list['system']) && empty($this->extension_list['user'])) {diff --git a/app/views/subscription/add.phtml b/app/views/subscription/add.phtmlindex adcb01699..63272dccb 100644--- a/app/views/subscription/add.phtml+++ b/app/views/subscription/add.phtml@@ -3,8 +3,9 @@<div class="post drop-section"><a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>- <h2><?= _t('sub.title.add_category') ?></h2>+<form action="<?= _url('category', 'create') ?>" method="post">+ <legend><?= _t('sub.title.add_category') ?></legend><input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" /><div class="form-group"><label class="group-name" for="new-category"><?= _t('sub.category') ?></label>@@ -20,8 +21,9 @@</div></form>- <h2><?= _t('sub.title.add_feed') ?></h2>+<form id="add_rss" method="post" action="<?= _url('feed', 'add') ?>" autocomplete="off">+ <legend><?= _t('sub.title.add_feed') ?></legend><input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" /><div class="form-group">diff --git a/app/views/subscription/bookmarklet.phtml b/app/views/subscription/bookmarklet.phtmlindex 6941a02e9..981304933 100644--- a/app/views/subscription/bookmarklet.phtml+++ b/app/views/subscription/bookmarklet.phtml@@ -3,20 +3,20 @@<div class="post"><a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>- <legend><?= _t('sub.bookmarklet.title') ?></legend>+ <h2><?= _t('sub.bookmarklet.title') ?></h2><p><a class="btn btn-important"href="javascript:(function(){var%20url%20=%20location.href;var%20otherWindow=window.open('about:blank','_blank');otherWindow.opener=null;otherWindow.location='<?=Minz_Url::display(array('c' => 'feed', 'a' => 'add'), 'html', true) ?>&url_rss='+encodeURIComponent(url);})();"><?= _t('sub.bookmarklet.label') ?></a></p><?= _t('sub.bookmarklet.documentation') ?>- <legend><?= _t('sub.firefox.title') ?></legend>+ <h2><?= _t('sub.firefox.title') ?></h2><p class="alert alert-warn"><?= _t('sub.firefox.obsolete_63', $this->default_category->name()) ?></p><p><?= _t('sub.firefox.documentation') ?></p><pre>browser.contentHandlers.types.number.uri → <?= Minz_Url::display(array('c' => 'feed', 'a' => 'add'), 'html', true) ?>&url_rss=%s</pre>- <legend><?= _t('sub.api.title') ?></legend>+ <h2><?= _t('sub.api.title') ?></h2><p><?= _t('sub.api.documentation') ?></p><pre><?= Minz_Url::display(array('c' => 'feed', 'a' => 'add'), 'html', true) ?>&url_rss=%s</pre></div>\ No newline at end of filediff --git a/app/views/tag/index.phtml b/app/views/tag/index.phtmlindex ce58b5ad9..3d38195c6 100644--- a/app/views/tag/index.phtml+++ b/app/views/tag/index.phtml@@ -3,8 +3,8 @@<div class="post"><a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>- <h2><?= _t('sub.title.add_label') ?></h2>- <form id="add_tag" method="post" action="<?= _url('tag', 'add') ?>" autocomplete="off">+ <form id="add_tag" method="post" action="<?= _url('tag', 'add') ?>" autocomplete="off">+ <legend><?= _t('sub.title.add_label') ?></legend><input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" /><div class="form-group"><label class="group-name" for="category"><?= _t('sub.tag.name') ?></label>@@ -20,8 +20,9 @@</div></form>- <h2><?= _t('sub.title.rename_label') ?></h2>+<form id="rename_tag" method="post" action="<?= _url('tag', 'rename') ?>" autocomplete="off">+ <legend><?= _t('sub.title.rename_label') ?></legend><input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" /><div class="form-group"><label class="group-name" for="category"><?= _t('sub.tag.old_name') ?></label>@@ -47,8 +48,8 @@</div></form>- <h2><?= _t('sub.title.delete_label') ?></h2><form id="delete_tag" method="post" action="<?= _url('tag', 'delete') ?>" autocomplete="off">+ <legend><?= _t('sub.title.delete_label') ?></legend><input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" /><div class="form-group"><label class="group-name" for="category"><?= _t('sub.tag.name') ?></label>