Skip to content

Commit

Permalink
Create headings for settings pages
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaKirschenheuter committed Feb 8, 2023
1 parent ee05e01 commit 1c4c596
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions core/templates/layout.user.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@
</div>

<header role="banner" id="header">
<h1 class="hidden-visually">
<?php p($l->t('Section').': ').p(!empty($_['application'])?$_['application']:''); ?>
</h1>
<h2 class="hidden-visually">
<?php p($l->t('Subsection').': ').p(!empty($_['pageTitle'])?$_['pageTitle']:'')?>
</h2>
<div class="header-left">
<a href="<?php print_unescaped($_['logoUrl'] ?: link_to('', 'index.php')); ?>"
id="nextcloud">
Expand Down Expand Up @@ -123,9 +129,6 @@
</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>
Expand Down

0 comments on commit 1c4c596

Please sign in to comment.