aboutsummaryrefslogtreecommitdiff
path: root/mod/pages
diff options
context:
space:
mode:
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-20 22:15:58 +0000
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-20 22:15:58 +0000
commit23b38301a25d603ba66d74e9a791af5eb3685cc2 (patch)
treee8bb37458a295c270e2dbf3765437af5c564bd44 /mod/pages
parentff1d229781304112d3376fedabb98e3dbfb0c0ab (diff)
downloadelgg-23b38301a25d603ba66d74e9a791af5eb3685cc2.tar.gz
elgg-23b38301a25d603ba66d74e9a791af5eb3685cc2.tar.bz2
Adding submenu items for standard plugins to owner block.
git-svn-id: http://code.elgg.org/elgg/trunk@6122 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/pages')
-rw-r--r--mod/pages/start.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/pages/start.php b/mod/pages/start.php
index fd9d253f7..a769f3691 100644
--- a/mod/pages/start.php
+++ b/mod/pages/start.php
@@ -104,7 +104,12 @@
}
}
-
+ if ($page_owner instanceof ElggEntity) {
+ elgg_add_submenu_item(array(
+ 'text' => elgg_echo('pages'),
+ 'href' => "{$CONFIG->url}pg/pages/owned/{$page_owner->username}",
+ ));
+ }
}
/**