]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Added support for "rel" to ElggMenuItem
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 1 Mar 2011 19:21:46 +0000 (19:21 +0000)
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 1 Mar 2011 19:21:46 +0000 (19:21 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8537 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/classes/ElggMenuItem.php

index e0e5d0952a2c8cd11a3ba2d4524bad02f913c2c6..f0553dfb74cf87fa197e65b64d701d03b1c9abff 100644 (file)
@@ -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;