aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2023-02-08 15:40:41 +0100
committerjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2023-03-07 17:51:19 +0100
commit0cfbe54a5a391d3af6dd37902cda6b914f07480d (patch)
tree200ca74a837b5b1a1eb5001130a7341d7ff28234 /core/templates
parent55db9780900a848d92af16d4ee1e762a1bfa33b2 (diff)
downloadnextcloud-server-0cfbe54a5a391d3af6dd37902cda6b914f07480d.tar.gz
nextcloud-server-0cfbe54a5a391d3af6dd37902cda6b914f07480d.zip
Create headings for settings pages
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.user.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index dc38f642ca4..7c2625bbaaf 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -57,6 +57,9 @@ 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')); ?>"
id="nextcloud">
@@ -89,9 +92,6 @@ p($theme->getTitle());
</form>
<main id="content" class="app-<?php p($_['appid']) ?>">
- <h1 class="hidden-visually">
- <?php p($l->t('%s\'s homepage', [$theme->getName()])); ?>
- </h1>
<?php print_unescaped($_['content']); ?>
</main>
<div id="profiler-toolbar"></div>