summaryrefslogtreecommitdiff
path: root/modules/gallery/views/menu.html.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-11-06 22:14:32 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-11-06 22:14:32 -0800
commitc40735c922b53eb32be1ae39a030362eea52e602 (patch)
treecfe908300e98eed1e22d5ba46e2629ed40565b9a /modules/gallery/views/menu.html.php
parent44ae88e8e17713cab81a5cf08820e18896615196 (diff)
parent3e0a81a39490f58840e3144b88d9c963e69f8f79 (diff)
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/gallery/views/menu.html.php')
-rw-r--r--modules/gallery/views/menu.html.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/gallery/views/menu.html.php b/modules/gallery/views/menu.html.php
index b4b38c93..cb49bcdf 100644
--- a/modules/gallery/views/menu.html.php
+++ b/modules/gallery/views/menu.html.php
@@ -1,8 +1,7 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<? if ($menu->elements): // Don't show the menu if it has no choices ?>
<? if ($menu->is_root): ?>
-
-<ul class="<?= $menu->css_class ?>">
+<ul <?= isset($menu->css_id) ? "id='$menu->css_id'" : "" ?> class="<?= $menu->css_class ?>">
<? foreach ($menu->elements as $element): ?>
<?= $element->render() ?>
<? endforeach ?>