From 83f950638c0abc77a3674ac476ce9f201df0a672 Mon Sep 17 00:00:00 2001 From: brettp Date: Fri, 19 Mar 2010 20:20:17 +0000 Subject: Default all tools' menu items to "world" view. Removed "My" prefix. git-svn-id: http://code.elgg.org/elgg/trunk@5450 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/thewire/languages/en.php | 4 ++-- mod/thewire/start.php | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'mod/thewire') diff --git a/mod/thewire/languages/en.php b/mod/thewire/languages/en.php index 23e243716..3540cef78 100644 --- a/mod/thewire/languages/en.php +++ b/mod/thewire/languages/en.php @@ -7,7 +7,7 @@ */ 'thewire:title' => "The Wire", - 'thewire' => "My wire posts", + 'thewire:my_posts' => "My wire posts", 'thewire:user' => "%s's wire posts", 'thewire:posttitle' => "%s's notes on the wire: %s", 'thewire:everyone' => "All wire posts", @@ -77,4 +77,4 @@ add_translation("en",$english); -?> \ No newline at end of file +?> diff --git a/mod/thewire/start.php b/mod/thewire/start.php index 97630336a..f4a29c47e 100644 --- a/mod/thewire/start.php +++ b/mod/thewire/start.php @@ -27,9 +27,7 @@ global $CONFIG; // Set up menu for logged in users - if (isloggedin()) { - add_menu(elgg_echo('thewire'), $CONFIG->wwwroot . "pg/thewire/". $_SESSION['user']->username); - } + add_menu(elgg_echo('thewire:title'), $CONFIG->wwwroot . "pg/thewire"); // Extend system CSS with our own styles, which are defined in the thewire/css view elgg_extend_view('css','thewire/css'); @@ -216,4 +214,4 @@ register_action("thewire/add",false,$CONFIG->pluginspath . "thewire/actions/add.php"); register_action("thewire/delete",false,$CONFIG->pluginspath . "thewire/actions/delete.php"); -?> \ No newline at end of file +?> -- cgit v1.2.3