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/extension | |
| 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/extension')
| -rw-r--r-- | app/views/extension/index.phtml | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/app/views/extension/index.phtml b/app/views/extension/index.phtml index cd5ccec48..b9ae7a92c 100644 --- a/app/views/extension/index.phtml +++ b/app/views/extension/index.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> @@ -66,14 +66,17 @@ </table> </div> <?php } ?> -</div> -<?php $class = isset($this->extension) ? ' class="active"' : ''; ?> -<a href="#" id="close-slider"<?= $class ?>></a> -<div id="slider"<?= $class ?>> -<?php - if (isset($this->extension)) { - $this->renderHelper('extension/configure'); - } -?> -</div> + <?php $class = isset($this->extension) ? ' class="active"' : ''; ?> + <a href="#" id="close-slider"<?= $class ?>> + <?= _i('close') ?> + </a> + <div id="slider"<?= $class ?>> + <?php + if (isset($this->extension)) { + $this->renderHelper('extension/configure'); + } + ?> + </div> + +</main> |
