Module: appdb Branch: master Commit: 137606e6b945ffe2de33fbab14103ed69935841b URL: http://source.winehq.org/git/appdb.git/?a=commit;h=137606e6b945ffe2de33fbab1... Author: Jeremy Newman <jnewman(a)codeweavers.com> Date: Wed Nov 16 09:46:14 2016 -0600 each menu block is a ul note: not sure why a oTable call was here, so removed it --- include/htmlmenu.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/htmlmenu.php b/include/htmlmenu.php index 3bb9222..4ad542b 100644 --- a/include/htmlmenu.php +++ b/include/htmlmenu.php @@ -10,14 +10,13 @@ class htmlmenu { if (!empty($form)) echo "<form action=\"$form\" method=\"post\">\n"; + echo '<ul>'; echo '<li class="top"><p>'.$name.'</p></li>'; } // add a table row public function add($sName, $shUrl = null, $sAlign = "left") { - $oTableRow = new TableRow(); - if($shUrl) { echo "<li><p><a href=\"{$shUrl}\">{$sName}</a></p></li>\n"; @@ -37,8 +36,7 @@ class htmlmenu // menu complete public function done($form = null) { - echo '<li class="bot"></li>'; - + echo '</ul>'; if (!empty($form)) echo "</form>\n"; }