diff options
author | julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> | 2024-01-12 16:53:04 +0100 |
---|---|---|
committer | julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> | 2024-01-16 09:24:22 +0100 |
commit | f6ec297df6ccdef217765c02e7e3bbc835547092 (patch) | |
tree | 66365ee097f6df3645bd4142f6c332d5ac13c5fc /core | |
parent | 32bf74af160482f3f182ce5641f55c80d81c8f19 (diff) | |
download | nextcloud-server-f6ec297df6ccdef217765c02e7e3bbc835547092.tar.gz nextcloud-server-f6ec297df6ccdef217765c02e7e3bbc835547092.zip |
Complete `<h1>` settings heading
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/templates/layout.user.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 9c23930f324..bdffa3adc6f 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -87,7 +87,10 @@ p($theme->getTitle()); <main id="content" class="app-<?php p($_['appid']) ?>"> <h1 class="hidden-visually" id="page-heading-level-1"> - <?php p(!empty($_['pageTitle'])?$_['pageTitle']:$theme->getName()); ?> + <?php p((!empty($_['application']) && !empty($_['pageTitle']) && $_['application'] != $_['pageTitle']) + ? $_['application'].': '.$_['pageTitle'] + : (!empty($_['pageTitle']) ? $_['pageTitle'] : $theme->getName()) + ); ?> </h1> <?php print_unescaped($_['content']); ?> </main> |