diff options
| author | 2021-07-11 14:58:41 +0200 | |
|---|---|---|
| committer | 2021-07-11 14:58:41 +0200 | |
| commit | 3ed9d00f0a782a948234e33a6f2060acf9362c14 (patch) | |
| tree | 02f444e23b0211e4ae179fd4b42c3875755941c4 /app/views/subscription | |
| parent | dff31cf55712758dd49ba333399dbc3478321f73 (diff) | |
changed <h2> to <legend> (#3676)
* changed <h2> to <legend>
* white spaces replaced to tabs
Thanks for the review
* fixed shortcut.phtml headline
legend -> h2
* fixed bookmarklet.phtml headline
legend -> h2
Diffstat (limited to 'app/views/subscription')
| -rw-r--r-- | app/views/subscription/add.phtml | 6 | ||||
| -rw-r--r-- | app/views/subscription/bookmarklet.phtml | 6 |
2 files changed, 7 insertions, 5 deletions
diff --git a/app/views/subscription/add.phtml b/app/views/subscription/add.phtml index 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.phtml index 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 file |
