diff options
author | Julia Kirschenheuter <6078378+JuliaKirschenheuter@users.noreply.github.com> | 2023-04-06 14:39:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-06 14:39:49 +0200 |
commit | 8eb95052945c478a71d910090c7b1105f9256a4e (patch) | |
tree | f303139a5ce2af60ead2964b93e95de40b5cd8b2 | |
parent | 5aa1a470fe77dfe99c380071bcf0b74dfaa0aea2 (diff) | |
parent | 541607349ba488d6d591ef926c9559bc33046108 (diff) | |
download | nextcloud-server-8eb95052945c478a71d910090c7b1105f9256a4e.tar.gz nextcloud-server-8eb95052945c478a71d910090c7b1105f9256a4e.zip |
Merge pull request #37583 from nextcloud/fix/37174-place-heading-inside_of_the_main_content
Move heading to the main content
-rw-r--r-- | core/templates/layout.user.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 1a55c0ab64d..aebcda5c849 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -57,9 +57,6 @@ p($theme->getTitle()); </div> <header role="banner" id="header"> - <h1 class="hidden-visually" id="page-heading-level-1"> - <?php p(!empty($_['pageTitle'])?$_['pageTitle']:$theme->getName()); ?> - </h1> <div class="header-left"> <a href="<?php print_unescaped($_['logoUrl'] ?: link_to('', 'index.php')); ?>" aria-label="<?php p($l->t('Go to %s', [$_['logoUrl'] ?: $_['defaultAppName']])); ?>" @@ -89,6 +86,9 @@ p($theme->getTitle()); </form> <main id="content" class="app-<?php p($_['appid']) ?>"> + <h1 class="hidden-visually" id="page-heading-level-1"> + <?php p(!empty($_['pageTitle'])?$_['pageTitle']:$theme->getName()); ?> + </h1> <?php print_unescaped($_['content']); ?> </main> <div id="profiler-toolbar"></div> |