diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-02 19:54:30 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-02 19:54:30 +0000 |
commit | 7dd19a4cb04803f4d05fcd109b3149c6926b6558 (patch) | |
tree | d0481513061bdc2e3ce16ecb1ad49f81d0ab706f /mod/profile | |
parent | 172bbf136ab45a5c6e4f53f911d9901797bb0020 (diff) | |
download | elgg-7dd19a4cb04803f4d05fcd109b3149c6926b6558.tar.gz elgg-7dd19a4cb04803f4d05fcd109b3149c6926b6558.tar.bz2 |
Refs #2463: Removed many more graituitous calls to elgg_get_site_url(), $CONFIG->url, etc.
git-svn-id: http://code.elgg.org/elgg/trunk@7198 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile')
-rw-r--r-- | mod/profile/start.php | 4 | ||||
-rw-r--r-- | mod/profile/views/default/admin/appearance/defaultprofile.php | 2 | ||||
-rw-r--r-- | mod/profile/views/default/profile/editdefaultprofile.php | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/mod/profile/start.php b/mod/profile/start.php index c47ecb594..caaf04055 100644 --- a/mod/profile/start.php +++ b/mod/profile/start.php @@ -176,8 +176,8 @@ function profile_pagesetup() if (get_context() == "profile") { $page_owner = elgg_get_page_owner(); if ($page_owner && $page_owner->canEdit()) { - add_submenu_item(elgg_echo('profile:editdetails'), elgg_get_site_url() . "pg/profile/{$page_owner->username}/edit/details"); - add_submenu_item(elgg_echo('profile:editicon'), elgg_get_site_url() . "pg/profile/{$page_owner->username}/edit/icon"); + add_submenu_item(elgg_echo('profile:editdetails'), "pg/profile/{$page_owner->username}/edit/details"); + add_submenu_item(elgg_echo('profile:editicon'), "pg/profile/{$page_owner->username}/edit/icon"); } } } diff --git a/mod/profile/views/default/admin/appearance/defaultprofile.php b/mod/profile/views/default/admin/appearance/defaultprofile.php index 16164397e..b935797fb 100644 --- a/mod/profile/views/default/admin/appearance/defaultprofile.php +++ b/mod/profile/views/default/admin/appearance/defaultprofile.php @@ -31,7 +31,7 @@ $listing = elgg_view('profile/editdefaultprofileitems',array('items' => $items, $resetlisting = elgg_view('input/form', array ( 'body' => elgg_view('input/submit', array('value' => elgg_echo('profile:resetdefault'), 'class' => 'action_button disabled')), - 'action' => elgg_get_site_url() . 'action/profile/editdefault/reset' + 'action' => 'action/profile/editdefault/reset' ) ); diff --git a/mod/profile/views/default/profile/editdefaultprofile.php b/mod/profile/views/default/profile/editdefaultprofile.php index ece99c290..4993e1c7f 100644 --- a/mod/profile/views/default/profile/editdefaultprofile.php +++ b/mod/profile/views/default/profile/editdefaultprofile.php @@ -26,4 +26,4 @@ $formbody = <<< END END; echo "<p class='margin_top'>" . elgg_echo('profile:explainchangefields') . "</p>"; -echo elgg_view('input/form', array('body' => $formbody, 'action' => elgg_get_site_url() . 'action/profile/editdefault')); +echo elgg_view('input/form', array('body' => $formbody, 'action' => 'action/profile/editdefault')); |