You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
468 B
15 lines
468 B
<nav id="menu">
|
|
<div id="brand" tabindex=0><?= tr('appname'.(ESP_DEMO?'_demo':'')) ?></div>
|
|
<a href="<?= e(url('term')) ?>" class="icn-back"><?= tr('menu.term') ?></a>
|
|
<?php
|
|
// generate the menu
|
|
foreach ($_pages as $k => $page) {
|
|
if (strpos($page->bodyclass, 'cfg') === false) continue;
|
|
|
|
$sel = ($_GET['page'] == $k) ? 'selected' : '';
|
|
$text = $page->label;
|
|
$url = e(url($k));
|
|
echo "<a href=\"$url\" class=\"$page->icon $sel\">$text</a>";
|
|
}
|
|
?>
|
|
</nav>
|
|
|