aboutsummaryrefslogtreecommitdiff
path: root/mod/pages
diff options
context:
space:
mode:
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}",
+ ));
+ }
}
/**