aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-19 20:20:17 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-19 20:20:17 +0000
commit83f950638c0abc77a3674ac476ce9f201df0a672 (patch)
tree2a4c5eadd132c0778ae852ca2b36b2635901aa42 /mod/thewire
parent2d8b27d6fe62f43b21893d1f3f7d8808e962f3cc (diff)
downloadelgg-83f950638c0abc77a3674ac476ce9f201df0a672.tar.gz
elgg-83f950638c0abc77a3674ac476ce9f201df0a672.tar.bz2
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
Diffstat (limited to 'mod/thewire')
-rw-r--r--mod/thewire/languages/en.php4
-rw-r--r--mod/thewire/start.php6
2 files changed, 4 insertions, 6 deletions
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
+?>