]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
submenu headers are <h3> elements
authorEvan Prodromou <evan@status.net>
Sun, 6 Mar 2011 22:32:26 +0000 (17:32 -0500)
committerEvan Prodromou <evan@status.net>
Sun, 6 Mar 2011 22:32:26 +0000 (17:32 -0500)
lib/menu.php

index 7947b4d7e4e14b3d65bb4016c929259d664146d0..2713b44d50e8e8c86d722fc15c22b75a881b1d0a 100644 (file)
@@ -85,7 +85,7 @@ class Menu extends Widget
     function submenu($label, $menu)
     {
         $this->action->elementStart('li');
-        $this->action->text($label);
+        $this->action->element('h3', null, $label);
         $menu->show();
         $this->action->elementEnd('li');
     }