diff options
author | Andy Staudacher <andy.st@gmail.com> | 2010-02-12 20:59:26 -0800 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2010-02-12 20:59:26 -0800 |
commit | 36702b1397dcac9ba5a607f62e2a1caeb307ac7a (patch) | |
tree | 6eb61a76f80a88cdb8f245c7296e2db7d0d4a245 /modules/gallery/views/menu_link.html.php | |
parent | f5d00863b880d424c61a95f966b1d9a983b0cf58 (diff) |
Some HTML validation fixes (don't render empty <ul> lists, empty id attributes, use & not &)
Diffstat (limited to 'modules/gallery/views/menu_link.html.php')
-rw-r--r-- | modules/gallery/views/menu_link.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/views/menu_link.html.php b/modules/gallery/views/menu_link.html.php index 8e4cdb95..a36d2754 100644 --- a/modules/gallery/views/menu_link.html.php +++ b/modules/gallery/views/menu_link.html.php @@ -1,6 +1,6 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <li> - <a id="<?= $menu->css_id ?>" + <a <?= $menu->css_id ? "id='{$menu->css_id}'" : "" ?> class="g-menu-link <?= $menu->css_class ?>" href="<?= $menu->url ?>" title="<?= $menu->label->for_html_attr() ?>"> |