aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-02 19:24:59 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-02 19:24:59 +0000
commit8db84f0d439ceec3006742bee56086700742d11c (patch)
tree801107756b5b7e30c951c308b2b0d17bd395cfce
parent83ed6a85ef10757d147303b391343994d0d2faf8 (diff)
downloadelgg-8db84f0d439ceec3006742bee56086700742d11c.tar.gz
elgg-8db84f0d439ceec3006742bee56086700742d11c.tar.bz2
Refs #2463: Removed some gratuitous calls to elgg_get_site_url() from core plugins
git-svn-id: http://code.elgg.org/elgg/trunk@7195 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/blog/start.php2
-rw-r--r--mod/bookmarks/start.php2
-rw-r--r--mod/file/start.php2
-rw-r--r--mod/groups/start.php2
-rw-r--r--mod/pages/start.php2
-rw-r--r--mod/riverdashboard/start.php2
-rw-r--r--mod/thewire/start.php2
7 files changed, 7 insertions, 7 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php
index 208f3b969..a4a4a7c65 100644
--- a/mod/blog/start.php
+++ b/mod/blog/start.php
@@ -23,7 +23,7 @@ function blog_init() {
global $CONFIG;
require_once dirname(__FILE__) . '/blog_lib.php';
- add_menu(elgg_echo('blog:blogs'), elgg_get_site_url()."pg/blog/", array());
+ add_menu(elgg_echo('blog:blogs'), "pg/blog/", array());
// run the setup upon activations or to upgrade old installations.
run_function_once('blog_runonce', '1269370108');
diff --git a/mod/bookmarks/start.php b/mod/bookmarks/start.php
index 2c82ca674..8baa52938 100644
--- a/mod/bookmarks/start.php
+++ b/mod/bookmarks/start.php
@@ -11,7 +11,7 @@ function bookmarks_init() {
global $CONFIG;
//add a tools menu option
- add_menu(elgg_echo('bookmarks'), elgg_get_site_url() . 'pg/bookmarks');
+ add_menu(elgg_echo('bookmarks'), 'pg/bookmarks');
// Register a page handler, so we can have nice URLs
register_page_handler('bookmarks', 'bookmarks_page_handler');
diff --git a/mod/file/start.php b/mod/file/start.php
index 228e4788b..005019060 100644
--- a/mod/file/start.php
+++ b/mod/file/start.php
@@ -28,7 +28,7 @@
global $CONFIG;
// Set up menu (tools dropdown)
- add_menu(elgg_echo('files'), elgg_get_site_url() . "pg/file/");
+ add_menu(elgg_echo('files'), "pg/file/");
// Extend CSS
elgg_extend_view('css', 'file/css');
diff --git a/mod/groups/start.php b/mod/groups/start.php
index e2ddec5d1..9782744ae 100644
--- a/mod/groups/start.php
+++ b/mod/groups/start.php
@@ -14,7 +14,7 @@
global $CONFIG;
// Set up the menu
- add_menu(elgg_echo('groups'), elgg_get_site_url() . "pg/groups/world/");
+ add_menu(elgg_echo('groups'), "pg/groups/world/");
// Register a page handler, so we can have nice URLs
register_page_handler('groups','groups_page_handler');
diff --git a/mod/pages/start.php b/mod/pages/start.php
index d688c2033..ff31bb1d5 100644
--- a/mod/pages/start.php
+++ b/mod/pages/start.php
@@ -12,7 +12,7 @@
function pages_init() {
global $CONFIG;
- add_menu(elgg_echo('pages'), elgg_get_site_url() . "mod/pages/world.php");
+ add_menu(elgg_echo('pages'), "mod/pages/world.php");
// Register a page handler, so we can have nice URLs
register_page_handler('pages','pages_page_handler');
diff --git a/mod/riverdashboard/start.php b/mod/riverdashboard/start.php
index 34ea29217..0adc3d653 100644
--- a/mod/riverdashboard/start.php
+++ b/mod/riverdashboard/start.php
@@ -9,7 +9,7 @@ function riverdashboard_init() {
global $CONFIG;
// Register and optionally replace the dashboard
register_page_handler('dashboard', 'riverdashboard_page_handler');
- add_menu(elgg_echo('activity'), elgg_get_site_url() . "pg/activity/");
+ add_menu(elgg_echo('activity'), "pg/activity/");
// Page handler
register_page_handler('activity', 'riverdashboard_page_handler');
diff --git a/mod/thewire/start.php b/mod/thewire/start.php
index b33cd9e3b..456917d0c 100644
--- a/mod/thewire/start.php
+++ b/mod/thewire/start.php
@@ -23,7 +23,7 @@
global $CONFIG;
// Set up menu for logged in users
- add_menu(elgg_echo('thewire:title'), elgg_get_site_url() . "pg/thewire");
+ add_menu(elgg_echo('thewire:title'), "pg/thewire");
// Extend system CSS with our own styles, which are defined in the thewire/css view
elgg_extend_view('css','thewire/css');