diff options
Diffstat (limited to 'templates/start/quickselection.php')
| -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> |
