diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-25 19:28:05 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-25 19:28:05 +0000 |
commit | 72de53f6b9cf475e73271bda388f3097adc625e8 (patch) | |
tree | 0f431436a3111825770537ee5eb1b50f57d7ceca /engine/classes | |
parent | 57f8b5c42ee18e07b20417e9884d57b1fd90363f (diff) | |
download | elgg-72de53f6b9cf475e73271bda388f3097adc625e8.tar.gz elgg-72de53f6b9cf475e73271bda388f3097adc625e8.tar.bz2 |
Supporting is_action in ElggMenuItem
git-svn-id: http://code.elgg.org/elgg/trunk@8469 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/classes')
-rw-r--r-- | engine/classes/ElggMenuItem.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engine/classes/ElggMenuItem.php b/engine/classes/ElggMenuItem.php index 3ba76f246..784b5670f 100644 --- a/engine/classes/ElggMenuItem.php +++ b/engine/classes/ElggMenuItem.php @@ -416,15 +416,22 @@ class ElggMenuItem { } $vars['text'] = $this->text; + if ($this->href) { $vars['href'] = $this->href; } + if ($this->linkClass) { $vars['class'] = $this->linkClass; } + if ($this->title) { $vars['title'] = $this->title; } + + if ($this->is_action) { + $vars['is_action'] = $this->is_action; + } return elgg_view('output/url', $vars); } |