diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-07-10 23:45:29 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-07-10 23:45:29 -0700 |
commit | f1b2a14f4fe1bfd9419d4023b6b6223bc39c379b (patch) | |
tree | d37741728dff04fc4edc644544d4aed0808ea56d /modules | |
parent | 782431ec134449e23658fbdd213a3ef92c62e717 (diff) |
Add a title attribute to the li of a menu
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gallery/libraries/Menu.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/libraries/Menu.php b/modules/gallery/libraries/Menu.php index 6d0881ce..9ede49b6 100644 --- a/modules/gallery/libraries/Menu.php +++ b/modules/gallery/libraries/Menu.php @@ -207,7 +207,7 @@ class Menu_Core extends Menu_Element { public function __toString() { $html = $this->is_root ? "<ul class=\"gMenu\">" : - "<li><a href=#>$this->label</a><ul class=\"gMenu\">"; + "<li title=\"$this->label\"><a href=#>$this->label</a><ul class=\"gMenu\">"; $html .= implode("\n", $this->elements); $html .= $this->is_root ? "</ul>" : "</ul></li>"; return $html; |