diff options
| author | Michaela Brückner <brueckner@data-quest.de> | 2024-05-17 13:42:01 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2024-05-22 15:38:27 +0200 |
| commit | fb1379b83d047ce5110f780b43a1da98a6d13d6c (patch) | |
| tree | 16ef19491b2b53360bcd75f903429252c9340808 /templates | |
| parent | 3b0705519bd2e9cf873610da1f992df98279fce6 (diff) | |
Resolve "Listenelemente sind nicht syntaktisch korrekt ausgezeichnet"
Closes #4088
Merge request studip/studip!2929
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/start/quickselection.php | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/templates/start/quickselection.php b/templates/start/quickselection.php index e465d8d..bcf3fb3 100644 --- a/templates/start/quickselection.php +++ b/templates/start/quickselection.php @@ -1,28 +1,31 @@ <div id="quickSelectionWrap" style="padding: 1ex;"> <? foreach ($navigation as $nav) : ?> <? if ($nav->isVisible()) : ?> - <div class="mainmenu"> + <ul class="mainmenu list-unstyled"> <? if (is_internal_url($url = $nav->getURL())) : ?> - <a href="<?= URLHelper::getLink($url) ?>"> + <li><a href="<?= URLHelper::getLink($url) ?>"> <? else : ?> - <a href="<?= htmlReady($url) ?>" target="_blank" rel="noopener noreferrer"> + <li><a href="<?= htmlReady($url) ?>" target="_blank" rel="noopener noreferrer"> <? endif ?> - <?= htmlReady($nav->getTitle()) ?></a> - <? $pos = 0 ?> + <?= htmlReady($nav->getTitle()) ?></a></li> + + <li> + <ul class="list-slash-separated-small"> <? foreach ($nav as $subnav) : ?> <? if ($subnav->isVisible()) : ?> - <font size="-1"> - <?= $pos++ ? ' / ' : '<br>' ?> + <li> <? if (is_internal_url($url = $subnav->getURL())) : ?> - <a href="<?= URLHelper::getLink($url) ?>"> - <? else : ?> + <a href="<?= URLHelper::getLink($url) ?>"> + <? else : ?> <a href="<?= htmlReady($url) ?>" target="_blank" rel="noopener noreferrer"> - <? endif ?> - <?= htmlReady($subnav->getTitle()) ?></a> - </font> + <? endif ?> + <?= htmlReady($subnav->getTitle()) ?></a> + </li> <? endif ?> <? endforeach ?> - </div> + </ul> + </li> + </ul> <? endif ?> <? endforeach ?> </div> |
