aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/usersettings.php
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-16 12:52:01 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-16 12:52:01 +0000
commit254d24bef4f9bc84da8496f4014e65763bdcffd9 (patch)
tree2aaa32d649f24c6b8f3f12bdbc7ec4f52a1a4470 /engine/lib/usersettings.php
parent7c4ba8ffa30cfdedd254e0946f1351619ad9f190 (diff)
downloadelgg-254d24bef4f9bc84da8496f4014e65763bdcffd9.tar.gz
elgg-254d24bef4f9bc84da8496f4014e65763bdcffd9.tar.bz2
theme updates
git-svn-id: https://code.elgg.org/elgg/trunk@2761 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/usersettings.php')
-rw-r--r--engine/lib/usersettings.php28
1 files changed, 14 insertions, 14 deletions
diff --git a/engine/lib/usersettings.php b/engine/lib/usersettings.php
index c7c61a908..cde8b6691 100644
--- a/engine/lib/usersettings.php
+++ b/engine/lib/usersettings.php
@@ -32,20 +32,20 @@
{
return extend_view($view, $new_settings_view, $priority);
}
-
- function usersettings_pagesetup() {
-
- // Get config
- global $CONFIG;
-
- // Menu options
+
+ function usersettings_pagesetup() {
+
+ // Get config
+ global $CONFIG;
+
+ // Menu options
if (get_context() == "settings") {
- $user = get_loggedin_user();
- add_submenu_item(elgg_echo('usersettings:user:opt:linktext'),$CONFIG->wwwroot . "pg/settings/user/{$user->username}/");
- add_submenu_item(elgg_echo('profile:editicon'), $CONFIG->wwwroot . 'mod/profile/editicon.php');
- add_submenu_item(elgg_echo('usersettings:plugins:opt:linktext'),$CONFIG->wwwroot . "pg/settings/plugins/{$user->username}/");
- add_submenu_item(elgg_echo('usersettings:statistics:opt:linktext'),$CONFIG->wwwroot . "pg/settings/statistics/{$user->username}/");
- }
+ $user = get_loggedin_user();
+ add_submenu_item(elgg_echo('usersettings:user:opt:linktext'),$CONFIG->wwwroot . "pg/settings/user/{$user->username}/");
+ //add_submenu_item(elgg_echo('profile:editicon'), $CONFIG->wwwroot . 'mod/profile/editicon.php');
+ add_submenu_item(elgg_echo('usersettings:plugins:opt:linktext'),$CONFIG->wwwroot . "pg/settings/plugins/{$user->username}/");
+ add_submenu_item(elgg_echo('usersettings:statistics:opt:linktext'),$CONFIG->wwwroot . "pg/settings/statistics/{$user->username}/");
+ }
}
function usersettings_page_handler($page)
@@ -68,7 +68,7 @@
set_input('username', $page[1]);
include($path);
- }
+ }
/**
* Initialise the admin page.