diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-01-06 00:12:54 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-06 00:12:54 +0000 |
| commit | 294db39c96e1cc1dbb9d8438050970e6cf1db09c (patch) | |
| tree | ca86c4e06ef9bc45b74860046dd5171d0b737a82 /core/libraries/Menu.php | |
| parent | 06b4145b7650a883873105164ecc7273052ab6d4 (diff) | |
Tabs -> spaces
Diffstat (limited to 'core/libraries/Menu.php')
| -rw-r--r-- | core/libraries/Menu.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/libraries/Menu.php b/core/libraries/Menu.php index aa41dc95..5ff508a4 100644 --- a/core/libraries/Menu.php +++ b/core/libraries/Menu.php @@ -22,7 +22,7 @@ class Menu_Element { public $url; public $css_id; public $id; - + /** * Set the id * @chainable @@ -66,11 +66,11 @@ class Menu_Element { */ class Menu_Element_Link extends Menu_Element { public function __toString() { - if (isset($this->css_id) && !empty($this->css_id)) { - $css_id = " id=\"$this->css_id\""; - } else { - $css_id = ""; - } + if (isset($this->css_id) && !empty($this->css_id)) { + $css_id = " id=\"$this->css_id\""; + } else { + $css_id = ""; + } return "<li><a$css_id class=\"gMenuElement\" href=\"$this->url\">$this->label</a></li>"; } } |
