]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Move ID param to end of menuItem and fix bad 'wrap' element
authorEvan Prodromou <evan@controlyourself.ca>
Thu, 15 Jan 2009 21:19:23 +0000 (21:19 +0000)
committerEvan Prodromou <evan@controlyourself.ca>
Thu, 15 Jan 2009 21:19:23 +0000 (21:19 +0000)
lib/action.php

index 4a164d8b01868d3d9b9b345a9b0df10c11409921..a8b5e70b13e624f3fd9c4757dba766b4bc795317 100644 (file)
@@ -194,11 +194,11 @@ class Action extends HTMLOutputter // lawsuit
     function showBody()
     {
         $this->elementStart('body');
-        $this->elementStart('wrap');
+        $this->elementStart('div', 'wrap');
         $this->showHeader();
         $this->showCore();
         $this->showFooter();
-        $this->elementEnd('wrap');
+        $this->elementEnd('div', 'wrap');
         $this->elementEnd('body');
     }
 
@@ -576,7 +576,7 @@ class Action extends HTMLOutputter // lawsuit
     // Added @id to li for some control.
     // XXX: We might want to move this to htmloutputter.php
 
-    function menuItem($url, $text, $id=null, $title=null, $is_selected=false)
+    function menuItem($url, $text, $title=null, $is_selected=false, $id=null)
     {
         $lattrs = array();
         if ($is_selected) {