aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/views
diff options
context:
space:
mode:
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-21 16:37:44 +0000
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-21 16:37:44 +0000
commitf9d4820e5c7c78cb788a7d0819c43e11458c7106 (patch)
tree46978245d32ae61b549dcbe14aaabcd854cf46b3 /mod/pages/views
parentb83f9c0049e084f291aabe22e1aca73144fd481d (diff)
downloadelgg-f9d4820e5c7c78cb788a7d0819c43e11458c7106.tar.gz
elgg-f9d4820e5c7c78cb788a7d0819c43e11458c7106.tar.bz2
Updating Pages plugin to extend profile owner block directly with user-specific links.
git-svn-id: http://code.elgg.org/elgg/trunk@6127 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/pages/views')
-rw-r--r--mod/pages/views/default/pages/profile_extend.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/mod/pages/views/default/pages/profile_extend.php b/mod/pages/views/default/pages/profile_extend.php
new file mode 100644
index 000000000..c0b97481a
--- /dev/null
+++ b/mod/pages/views/default/pages/profile_extend.php
@@ -0,0 +1,9 @@
+<?php
+/**
+ *
+ */
+
+$url = "{$CONFIG->url}pg/pages/owned/{$page_owner->username}";
+$pages = elgg_echo('pages');
+
+echo "<div class=\"profile\"><a href=\"$url\">$pages</a></div>";