aboutsummaryrefslogtreecommitdiff
path: root/templates/sidebar
diff options
context:
space:
mode:
authorThomas Hackl <hackl@data-quest.de>2022-12-07 13:55:04 +0000
committerMarcus Eibrink-Lunzenauer <lunzenauer@elan-ev.de>2022-12-07 13:55:04 +0000
commitdc24c8991022fd9b0036e2fa48e7cc7da8e83710 (patch)
tree663a0d0653850238f90374d1776c486a9495c2c7 /templates/sidebar
parent5e0b51c7eb287825cdd756d27375be97d877e113 (diff)
Resolve "Neue HTML-Grundstruktur für Stud.IP"
Closes #838, #1850, and #1817 Merge request studip/studip!1136
Diffstat (limited to 'templates/sidebar')
-rw-r--r--templates/sidebar/sidebar.php40
1 files changed, 20 insertions, 20 deletions
diff --git a/templates/sidebar/sidebar.php b/templates/sidebar/sidebar.php
index 3c28062..fa8ee57 100644
--- a/templates/sidebar/sidebar.php
+++ b/templates/sidebar/sidebar.php
@@ -1,26 +1,26 @@
-<div id="layout-sidebar">
- <section class="sidebar" role="complementary" aria-label="<?= _('Seitenleiste') ?>">
- <div class="sidebar-image <? if ($avatar) echo 'sidebar-image-with-context'; ?>">
- <? if ($avatar) : ?>
- <div class="sidebar-context">
- <? if ($avatar->is_customized()) : ?>
- <a href="<?= htmlReady($avatar->getURL(file_exists($avatar->getFilename(Avatar::ORIGINAL)) ? Avatar::ORIGINAL : Avatar::NORMAL)) ?>"
- data-lightbox="sidebar-avatar"
- data-title="<?= htmlReady(PageLayout::getTitle()) ?>">
- <? endif ?>
- <?= $avatar->getImageTag(Avatar::MEDIUM) ?>
- <? if ($avatar->is_customized()) : ?>
- </a>
- <? endif ?>
- </div>
+<!-- Start sidebar -->
+<aside id="sidebar" aria-label="<?= _('Seitenleiste') ?>">
+ <div class="sidebar-image <? if ($avatar) echo 'sidebar-image-with-context'; ?>">
+ <? if ($avatar) : ?>
+ <div class="sidebar-context">
+ <? if ($avatar->is_customized()) : ?>
+ <a href="<?= htmlReady($avatar->getURL(file_exists($avatar->getFilename(Avatar::ORIGINAL)) ? Avatar::ORIGINAL : Avatar::NORMAL)) ?>"
+ data-lightbox="sidebar-avatar"
+ data-title="<?= htmlReady(PageLayout::getTitle()) ?>">
<? endif ?>
- <div class="sidebar-title">
- <?= htmlReady($title) ?>
- </div>
+ <?= $avatar->getImageTag(Avatar::MEDIUM) ?>
+ <? if ($avatar->is_customized()) : ?>
+ </a>
+ <? endif ?>
+ </div>
+ <? endif ?>
+ <div class="sidebar-title">
+ <?= htmlReady($title) ?>
</div>
+ </div>
<? foreach ($widgets as $index => $widget): ?>
<?= $widget->render(['base_class' => 'sidebar']) ?>
<? endforeach; ?>
- </section>
-</div>
+</aside>
+<!-- End sidebar -->