diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-16 15:55:13 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-16 15:55:13 +0000 |
commit | 9970e9e17f8e26573e37ba6f7ef6d85efdc72dfe (patch) | |
tree | d177b2b0fc9a61c041d9f850690a84adcac8d5f3 /views/default/navigation | |
parent | a3a582078615c4ff5c28054582813ec5c7179bf9 (diff) | |
download | elgg-9970e9e17f8e26573e37ba6f7ef6d85efdc72dfe.tar.gz elgg-9970e9e17f8e26573e37ba6f7ef6d85efdc72dfe.tar.bz2 |
Addition of 'conversations' to temporary site_nav.
git-svn-id: http://code.elgg.org/elgg/trunk@5422 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/navigation')
-rw-r--r-- | views/default/navigation/site_nav.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/views/default/navigation/site_nav.php b/views/default/navigation/site_nav.php index 336330578..2f167a540 100644 --- a/views/default/navigation/site_nav.php +++ b/views/default/navigation/site_nav.php @@ -20,6 +20,13 @@ if(is_plugin_enabled('thewire') && isloggedin()){ $selected = ""; echo "<li {$selected}><a href=\"{$vars['url']}mod/thewire/everyone.php\" id='thewire'><span>" . elgg_echo('thewire:title') . "</span></a></li>"; } +if(is_plugin_enabled('conversations') && isloggedin()){ + if(get_context() == 'conversations') + $selected = 'class="selected"'; + else + $selected = ""; + echo "<li {$selected}><a href=\"{$vars['url']}mod/conversations/all.php\" id='conversations'><span>" . elgg_echo('conversations') . "</span></a></li>"; +} if(is_plugin_enabled('blog')){ if(get_context() == 'blog') $selected = 'class="selected"'; |