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/notifications | |
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/notifications')
-rw-r--r-- | mod/notifications/groups.php | 2 | ||||
-rw-r--r-- | mod/notifications/start.php | 4 | ||||
-rw-r--r-- | mod/notifications/views/default/notifications/subscriptions/form.php | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/mod/notifications/groups.php b/mod/notifications/groups.php index 28f3b9f94..c4329f128 100644 --- a/mod/notifications/groups.php +++ b/mod/notifications/groups.php @@ -26,7 +26,7 @@ $form_body = elgg_view('notifications/subscriptions/groupsform',array('groups' = $body = elgg_view('input/form',array( 'body' => $form_body, 'method' => 'post', - 'action' => elgg_get_site_url() . 'action/notificationsettings/groupsave' + 'action' => 'action/notificationsettings/groupsave' )); // Insert it into the correct canvas layout diff --git a/mod/notifications/start.php b/mod/notifications/start.php index 307cfa936..4d3d2b7ee 100644 --- a/mod/notifications/start.php +++ b/mod/notifications/start.php @@ -62,9 +62,9 @@ function notifications_page_handler($page) { function notifications_plugin_pagesetup() { global $CONFIG; if (get_context() == 'settings') { - add_submenu_item(elgg_echo('notifications:subscriptions:changesettings'), elgg_get_site_url() . "pg/notifications/personal"); + add_submenu_item(elgg_echo('notifications:subscriptions:changesettings'), "pg/notifications/personal"); if (is_plugin_enabled('groups')) { - add_submenu_item(elgg_echo('notifications:subscriptions:changesettings:groups'), elgg_get_site_url() . "pg/notifications/group"); + add_submenu_item(elgg_echo('notifications:subscriptions:changesettings:groups'), "pg/notifications/group"); } } } diff --git a/mod/notifications/views/default/notifications/subscriptions/form.php b/mod/notifications/views/default/notifications/subscriptions/form.php index 9f1273488..6c18f6fca 100644 --- a/mod/notifications/views/default/notifications/subscriptions/form.php +++ b/mod/notifications/views/default/notifications/subscriptions/form.php @@ -23,7 +23,7 @@ echo elgg_view('input/form',array( elgg_view('notifications/subscriptions/collections') . elgg_view('notifications/subscriptions/forminternals'), 'method' => 'post', - 'action' => elgg_get_site_url() . 'action/notificationsettings/save', + 'action' => 'action/notificationsettings/save', )); ?> |