aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-09 13:37:04 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-09 13:37:04 +0000
commitd7237134d36a3c072edc474f963d137ed814f7be (patch)
tree569cc17ed8af18788c325f21faf17fffd543f2fb /mod/profile/views
parent87d8b091cf49c072cacac161bf78cb61e702e06b (diff)
downloadelgg-d7237134d36a3c072edc474f963d137ed814f7be.tar.gz
elgg-d7237134d36a3c072edc474f963d137ed814f7be.tar.bz2
new profile submenu committed
git-svn-id: https://code.elgg.org/elgg/trunk@1358 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/views')
-rw-r--r--mod/profile/views/default/profile/submenu.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/mod/profile/views/default/profile/submenu.php b/mod/profile/views/default/profile/submenu.php
new file mode 100644
index 000000000..831fcba2f
--- /dev/null
+++ b/mod/profile/views/default/profile/submenu.php
@@ -0,0 +1,22 @@
+<?php
+
+ /**
+ * Elgg profile submenu links
+ * These sit in the submenu when the profile editing is on view
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ *
+ */
+
+?>
+
+<ul>
+ <li><a href="<?php echo $CONFIG->wwwroot . "mod/profile/edit.php"; ?>"><?php echo elgg_echo('profile:details'); ?></a></li>
+ <li><a href="<?php echo $CONFIG->wwwroot."mod/profile/editicon.php"; ?>"><?php echo elgg_echo('profile:editicon'); ?></a></li>
+ <li><a href="<?php echo $CONFIG->wwwroot."pg/profile/" . $_SESSION['user']->username; ?>"><?php echo elgg_echo('profile:back'); ?></a></li>
+</ul> \ No newline at end of file