aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-01 19:21:46 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-01 19:21:46 +0000
commit6b41bd72667ce810257a6ed35f090d3c702fb59e (patch)
treed7f60141ee404e28aef6b2ba3313f2d65d819627 /engine
parent04e4b49f791cd7d40604a88f1dba13f444bcab24 (diff)
downloadelgg-6b41bd72667ce810257a6ed35f090d3c702fb59e.tar.gz
elgg-6b41bd72667ce810257a6ed35f090d3c702fb59e.tar.bz2
Added support for "rel" to ElggMenuItem
git-svn-id: http://code.elgg.org/elgg/trunk@8537 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/classes/ElggMenuItem.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/engine/classes/ElggMenuItem.php b/engine/classes/ElggMenuItem.php
index e0e5d0952..f0553dfb7 100644
--- a/engine/classes/ElggMenuItem.php
+++ b/engine/classes/ElggMenuItem.php
@@ -429,6 +429,10 @@ class ElggMenuItem {
if ($this->linkClass) {
$vars['class'] = $this->getLinkClass();
}
+
+ if ($this->rel) {
+ $vars['rel'] = $this->rel;
+ }
if ($this->title) {
$vars['title'] = $this->title;