diff options
Diffstat (limited to 'mod/profile')
-rw-r--r-- | mod/profile/languages/en.php | 1 | ||||
-rwxr-xr-x | mod/profile/views/default/profile/profile_navigation.php | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/mod/profile/languages/en.php b/mod/profile/languages/en.php index a2a586478..df40854ff 100644 --- a/mod/profile/languages/en.php +++ b/mod/profile/languages/en.php @@ -77,6 +77,7 @@ $english = array( * Profile comment wall **/ 'profile:commentwall:add' => "Add to the wall", + 'profile:commentwall' => "Comment Wall", 'profile:commentwall:posted' => "You successfully posted on the comment wall.", 'profile:commentwall:deleted' => "You successfully deleted the message.", 'profile:commentwall:blank' => "Sorry; you need to actually put something in the message area before we can save it.", diff --git a/mod/profile/views/default/profile/profile_navigation.php b/mod/profile/views/default/profile/profile_navigation.php index e4627d37a..c7b307046 100755 --- a/mod/profile/views/default/profile/profile_navigation.php +++ b/mod/profile/views/default/profile/profile_navigation.php @@ -39,10 +39,10 @@ switch($section){ <div class="elgg_horizontal_tabbed_nav profile"> <div class="profile_name"><h2><?php echo $profile->name; ?></h2></div> <ul> - <li <?php echo $activity; ?>><a href="<?php echo $url; ?>">Activity</a></li> - <li <?php echo $details; ?>><a href="<?php echo $url . 'details'; ?>">Details</a></li> - <li <?php echo $friends; ?>><a href="<?php echo $url . 'friends'; ?>">Friends</a></li> - <li <?php echo $commentwall; ?>><a href="<?php echo $url . 'commentwall'; ?>">Comment Wall</a></li> + <li <?php echo $activity; ?>><a href="<?php echo $url; ?>"><?php echo elgg_echo('activity'); ?></a></li> + <li <?php echo $details; ?>><a href="<?php echo $url . 'details'; ?>"><?php echo elgg_echo('Details'); ?></a></li> + <li <?php echo $friends; ?>><a href="<?php echo $url . 'friends'; ?>"><?php echo elgg_echo('friends'); ?></a></li> + <li <?php echo $commentwall; ?>><a href="<?php echo $url . 'commentwall'; ?>"><?php echo elgg_echo('profile:commentwall'); ?></a></li> <?php //check to see if the twitter username is set if($vars['entity']->twitter){ |