aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-17 19:04:49 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-17 19:04:49 +0000
commit99d5f4b0d22e99109da860dd9118265c883a668e (patch)
tree7c712bae9da5acfc65ed426d30bbce75243ec5f2
parent9382a9766189d0fce525b2ba91a33801c4522797 (diff)
downloadelgg-99d5f4b0d22e99109da860dd9118265c883a668e.tar.gz
elgg-99d5f4b0d22e99109da860dd9118265c883a668e.tar.bz2
Updates to: site nav (changed unused id's to title tags), latest wire post in admin/user lists, riverdashboard timestamps unified, and latest wire post on profile page.
git-svn-id: http://code.elgg.org/elgg/trunk@5430 36083f99-b078-4883-b0ff-0f9b5a30f544
-rwxr-xr-xmod/profile/views/default/profile/profile_contents/activity.php4
-rw-r--r--mod/riverdashboard/views/default/river/item/wrapper.php2
-rw-r--r--views/default/css.php4
-rw-r--r--views/default/navigation/site_nav.php16
4 files changed, 15 insertions, 11 deletions
diff --git a/mod/profile/views/default/profile/profile_contents/activity.php b/mod/profile/views/default/profile/profile_contents/activity.php
index bd7d7b5e5..c767d5ad7 100755
--- a/mod/profile/views/default/profile/profile_contents/activity.php
+++ b/mod/profile/views/default/profile/profile_contents/activity.php
@@ -10,6 +10,10 @@
// users last status msg, if they posted one
echo elgg_view("profile/status", array("entity" => $vars['entity']));
}
+ if(is_plugin_enabled('conversations')) {
+ // users last status msg, if they posted one
+ echo elgg_view("profile/status", array("entity" => $vars['entity']));
+ }
if(is_plugin_enabled('riverdashboard')) {
// users last 10 activites
echo elgg_view_river_items($vars['entity']->getGuid(), 0, '', '', '', '', $limit,0,0,false,false);
diff --git a/mod/riverdashboard/views/default/river/item/wrapper.php b/mod/riverdashboard/views/default/river/item/wrapper.php
index eabe48e53..d2d826ea6 100644
--- a/mod/riverdashboard/views/default/river/item/wrapper.php
+++ b/mod/riverdashboard/views/default/river/item/wrapper.php
@@ -104,7 +104,7 @@ else
//display the comment link
if($vars['item']->type != 'user'){
//for now don't display the comment link on bookmarks and wire messages
- if($vars['item']->subtype != 'thewire' && $vars['item']->subtype != 'bookmarks' && $vars['item']->subtype != '')
+ if($vars['item']->subtype != 'thewire' && $vars['item']->subtype != 'conversations' && $vars['item']->subtype != 'bookmarks' && $vars['item']->subtype != '')
echo "<a class='comment_link' href=\"{$object_url}\">Comment</a>";
}
?>
diff --git a/views/default/css.php b/views/default/css.php
index f1bbb99f4..42b594b51 100644
--- a/views/default/css.php
+++ b/views/default/css.php
@@ -1486,9 +1486,9 @@ a.action_button:focus {
.admin_settings.users_online .profile_status {
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
- background:#bbdaf7;
line-height:1.2em;
- padding:2px 4px;
+ /* background:#bbdaf7; */
+ /* padding:2px 4px; */
}
.admin_settings.users_online .profile_status span {
font-size:90%;
diff --git a/views/default/navigation/site_nav.php b/views/default/navigation/site_nav.php
index 2f167a540..8431188d8 100644
--- a/views/default/navigation/site_nav.php
+++ b/views/default/navigation/site_nav.php
@@ -11,56 +11,56 @@ if(is_plugin_enabled('riverdashboard')){
$selected = 'class="selected"';
else
$selected = "";
- echo "<li {$selected}><a href=\"{$vars['url']}mod/riverdashboard/\" id='activity'><span>Activity</span></a></li>";
+ echo "<li {$selected}><a href=\"{$vars['url']}mod/riverdashboard/\" title='Activity'><span>Activity</span></a></li>";
}
if(is_plugin_enabled('thewire') && isloggedin()){
if(get_context() == 'thewire')
$selected = 'class="selected"';
else
$selected = "";
- echo "<li {$selected}><a href=\"{$vars['url']}mod/thewire/everyone.php\" id='thewire'><span>" . elgg_echo('thewire:title') . "</span></a></li>";
+ echo "<li {$selected}><a href=\"{$vars['url']}mod/thewire/everyone.php\" title='The Wire'><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>";
+ echo "<li {$selected}><a href=\"{$vars['url']}mod/conversations/all.php\" title='Conversations'><span>" . elgg_echo('conversations') . "</span></a></li>";
}
if(is_plugin_enabled('blog')){
if(get_context() == 'blog')
$selected = 'class="selected"';
else
$selected = "";
- echo "<li {$selected}><a href=\"{$vars['url']}mod/blog/all.php\" id='blogs'><span>Blogs</span></a></li>";
+ echo "<li {$selected}><a href=\"{$vars['url']}mod/blog/all.php\" title='Blogs'><span>Blogs</span></a></li>";
}
if(is_plugin_enabled('pages')){
if(get_context() == 'pages')
$selected = 'class="selected"';
else
$selected = "";
- echo "<li {$selected}><a href=\"{$vars['url']}mod/pages/all.php\" id='pages'><span>Pages</span></a></li>";
+ echo "<li {$selected}><a href=\"{$vars['url']}mod/pages/all.php\" title='Pages'><span>Pages</span></a></li>";
}
if(is_plugin_enabled('file')){
if(get_context() == 'file')
$selected = 'class="selected"';
else
$selected = "";
- echo "<li {$selected}><a href=\"{$vars['url']}pg/file/world/world/\" id='files'><span>Files</span></a></li>";
+ echo "<li {$selected}><a href=\"{$vars['url']}pg/file/world/world/\" title='Files'><span>Files</span></a></li>";
}
if(is_plugin_enabled('bookmarks')){
if(get_context() == 'bookmarks')
$selected = 'class="selected"';
else
$selected = "";
- echo "<li {$selected}><a href=\"{$vars['url']}mod/bookmarks/all.php\" id='bookmarks'><span>Bookmarks</span></a></li>";
+ echo "<li {$selected}><a href=\"{$vars['url']}mod/bookmarks/all.php\" title='Bookmarks'><span>Bookmarks</span></a></li>";
}
if(is_plugin_enabled('groups')){
if(get_context() == 'groups')
$selected = 'class="selected"';
else
$selected = "";
- echo "<li {$selected}><a href=\"{$vars['url']}pg/groups/world/\" id='groups'><span>". elgg_echo('groups') . "</span></a></li>";
+ echo "<li {$selected}><a href=\"{$vars['url']}pg/groups/world/\" title='Groups'><span>". elgg_echo('groups') . "</span></a></li>";
}
echo "</ul>";
echo "</div>";