aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire
diff options
context:
space:
mode:
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
+?>