diff options
| author | 2021-12-03 00:57:32 +0100 | |
|---|---|---|
| committer | 2021-12-03 00:57:32 +0100 | |
| commit | a54aa19dc7f8cd344cdfb199ee94c01e0b90becc (patch) | |
| tree | bcbfa7efbefaa459accf71dafc02f210e965bc28 /app/views/configure | |
| parent | 00dbde68fbaf7da68ccf191c33f2de88d3603aa8 (diff) | |
Fix: double main tags (#4014)
* replace div with main
* include the slider into main
* format source
* add close icon for the extension slider
* replace div with main
* Update shortcut.phtml
* fixed the nits
Diffstat (limited to 'app/views/configure')
| -rw-r--r-- | app/views/configure/archiving.phtml | 4 | ||||
| -rw-r--r-- | app/views/configure/display.phtml | 4 | ||||
| -rw-r--r-- | app/views/configure/integration.phtml | 4 | ||||
| -rw-r--r-- | app/views/configure/queries.phtml | 27 | ||||
| -rw-r--r-- | app/views/configure/reading.phtml | 4 | ||||
| -rw-r--r-- | app/views/configure/shortcut.phtml | 4 | ||||
| -rw-r--r-- | app/views/configure/system.phtml | 4 |
7 files changed, 26 insertions, 25 deletions
diff --git a/app/views/configure/archiving.phtml b/app/views/configure/archiving.phtml index 88b980cd4..fd56c8dde 100644 --- a/app/views/configure/archiving.phtml +++ b/app/views/configure/archiving.phtml @@ -1,6 +1,6 @@ <?php $this->partial('aside_configure'); ?> -<div class="post"> +<main class="post"> <div class="link-back-wrapper"> <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a> </div> @@ -162,4 +162,4 @@ </div> </div> <?php endif; ?> -</div> +</main> diff --git a/app/views/configure/display.phtml b/app/views/configure/display.phtml index 1ce4be5cd..96f93a27f 100644 --- a/app/views/configure/display.phtml +++ b/app/views/configure/display.phtml @@ -1,6 +1,6 @@ <?php $this->partial('aside_configure'); ?> -<div class="post"> +<main class="post"> <div class="link-back-wrapper"> <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a> </div> @@ -209,4 +209,4 @@ </div> </div> </form> -</div> +</main> diff --git a/app/views/configure/integration.phtml b/app/views/configure/integration.phtml index 02a0b6f32..9bd7257ee 100644 --- a/app/views/configure/integration.phtml +++ b/app/views/configure/integration.phtml @@ -1,6 +1,6 @@ <?php $this->partial('aside_configure'); ?> -<div class="post"> +<main class="post"> <div class="link-back-wrapper"> <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a> </div> @@ -77,4 +77,4 @@ </div> </div> </form> -</div> +</main> diff --git a/app/views/configure/queries.phtml b/app/views/configure/queries.phtml index 2939e068b..6de606639 100644 --- a/app/views/configure/queries.phtml +++ b/app/views/configure/queries.phtml @@ -1,6 +1,6 @@ <?php $this->partial('aside_configure'); ?> -<div class="post"> +<main class="post"> <div class="link-back-wrapper"> <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a> </div> @@ -56,16 +56,17 @@ </div> <?php } ?> </form> -</div> -<?php $class = $this->displaySlider ? ' class="active"' : ''; ?> -<a href="#" id="close-slider"<?= $class ?>> - <?= _i('close') ?> -</a> -<div id="slider"<?= $class ?>> -<?php - if (isset($this->query)) { - $this->renderHelper('configure/query'); - } -?> -</div> + <?php $class = $this->displaySlider ? ' class="active"' : ''; ?> + <a href="#" id="close-slider"<?= $class ?>> + <?= _i('close') ?> + </a> + <div id="slider"<?= $class ?>> + <?php + if (isset($this->query)) { + $this->renderHelper('configure/query'); + } + ?> + </div> + +</main> diff --git a/app/views/configure/reading.phtml b/app/views/configure/reading.phtml index e19a14067..da4e104a4 100644 --- a/app/views/configure/reading.phtml +++ b/app/views/configure/reading.phtml @@ -1,6 +1,6 @@ <?php $this->partial('aside_configure'); ?> -<div class="post"> +<main class="post"> <div class="link-back-wrapper"> <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a> </div> @@ -256,4 +256,4 @@ </div> </form> -</div> +</main> diff --git a/app/views/configure/shortcut.phtml b/app/views/configure/shortcut.phtml index b04689d2a..ee671740e 100644 --- a/app/views/configure/shortcut.phtml +++ b/app/views/configure/shortcut.phtml @@ -1,6 +1,6 @@ <?php $this->partial('aside_configure'); ?> -<div class="post"> +<main class="post"> <div class="link-back-wrapper"> <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a> </div> @@ -243,4 +243,4 @@ </div> </div> </form> -</div> +</main> diff --git a/app/views/configure/system.phtml b/app/views/configure/system.phtml index 251ffa03a..fa9e11ce2 100644 --- a/app/views/configure/system.phtml +++ b/app/views/configure/system.phtml @@ -1,6 +1,6 @@ <?php $this->partial('aside_configure'); ?> -<div class="post"> +<main class="post"> <div class="link-back-wrapper"> <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a> </div> @@ -92,4 +92,4 @@ </div> </div> </form> -</div> +</main> |
