|
38 | 38 |
|
39 | 39 | <header id="header"> |
40 | 40 | <div class="header-left"> |
41 | | - <span id="nextcloud"> |
42 | | - <div class="logo logo-icon svg"></div> |
43 | | - <h1 class="header-appname"> |
44 | | - <?php if (isset($template) && $template->getHeaderTitle() !== '') { ?> |
45 | | - <?php p($template->getHeaderTitle()); ?> |
46 | | - <?php } else { ?> |
47 | | - <?php p($theme->getName()); ?> |
48 | | - <?php } ?> |
49 | | - </h1> |
50 | | - <?php if (isset($template) && $template->getHeaderDetails() !== '') { ?> |
| 41 | + <div class="logo logo-icon svg"></div> |
| 42 | + <span id="nextcloud" class="header-appname"> |
| 43 | + <?php if (isset($template) && $template->getHeaderTitle() !== '') { ?> |
| 44 | + <?php p($template->getHeaderTitle()); ?> |
| 45 | + <?php } else { ?> |
| 46 | + <?php p($theme->getName()); ?> |
| 47 | + <?php } ?> |
| 48 | + </span> |
| 49 | + <?php if (isset($template) && $template->getHeaderDetails() !== '') { ?> |
51 | 50 | <div class="header-shared-by"> |
52 | 51 | <?php p($template->getHeaderDetails()); ?> |
53 | 52 | </div> |
54 | | - <?php } ?> |
55 | | - </span> |
| 53 | + <?php } ?> |
56 | 54 | </div> |
57 | 55 |
|
58 | 56 | <div class="header-right"> |
|
87 | 85 | } ?> |
88 | 86 | </div> |
89 | 87 | </header> |
90 | | - <div id="content" class="app-<?php p($_['appid']) ?>" role="main"> |
| 88 | + <main id="content" class="app-<?php p($_['appid']) ?>"> |
| 89 | + <h1 class="hidden-visually"> |
| 90 | + <?php if (isset($template) && $template->getHeaderTitle() !== '') { ?> |
| 91 | + <?php p($template->getHeaderTitle()); ?> |
| 92 | + <?php } else { ?> |
| 93 | + <?php p($theme->getName()); ?> |
| 94 | + <?php } ?> |
| 95 | + </h1> |
91 | 96 | <?php print_unescaped($_['content']); ?> |
92 | | - </div> |
| 97 | + </main> |
93 | 98 | <?php if (isset($template) && $template->getFooterVisible()) { ?> |
94 | 99 | <footer> |
95 | 100 | <p><?php print_unescaped($theme->getLongFooter()); ?></p> |
|
0 commit comments