diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-01-15 21:19:23 +0000 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-01-15 21:19:23 +0000 |
commit | 9bed97a36c62fed7b3f44f0cf8870dd31a55e378 (patch) | |
tree | 13c318424f3b27fc47bc217d238a5523836b4322 | |
parent | 1fc03ba63aaa50a1ed4ade38ed449e79bee70ecd (diff) |
Move ID param to end of menuItem and fix bad 'wrap' element
-rw-r--r-- | lib/action.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/action.php b/lib/action.php index 4a164d8b0..a8b5e70b1 100644 --- a/lib/action.php +++ b/lib/action.php @@ -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) { |