From 99d5f4b0d22e99109da860dd9118265c883a668e Mon Sep 17 00:00:00 2001 From: pete Date: Wed, 17 Mar 2010 19:04:49 +0000 Subject: 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 --- .../views/default/profile/profile_contents/activity.php | 4 ++++ mod/riverdashboard/views/default/river/item/wrapper.php | 2 +- views/default/css.php | 4 ++-- views/default/navigation/site_nav.php | 16 ++++++++-------- 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 "Comment"; } ?> 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 "
  • Activity
  • "; + echo "
  • Activity
  • "; } if(is_plugin_enabled('thewire') && isloggedin()){ if(get_context() == 'thewire') $selected = 'class="selected"'; else $selected = ""; - echo "
  • " . elgg_echo('thewire:title') . "
  • "; + echo "
  • " . elgg_echo('thewire:title') . "
  • "; } if(is_plugin_enabled('conversations') && isloggedin()){ if(get_context() == 'conversations') $selected = 'class="selected"'; else $selected = ""; - echo "
  • " . elgg_echo('conversations') . "
  • "; + echo "
  • " . elgg_echo('conversations') . "
  • "; } if(is_plugin_enabled('blog')){ if(get_context() == 'blog') $selected = 'class="selected"'; else $selected = ""; - echo "
  • Blogs
  • "; + echo "
  • Blogs
  • "; } if(is_plugin_enabled('pages')){ if(get_context() == 'pages') $selected = 'class="selected"'; else $selected = ""; - echo "
  • Pages
  • "; + echo "
  • Pages
  • "; } if(is_plugin_enabled('file')){ if(get_context() == 'file') $selected = 'class="selected"'; else $selected = ""; - echo "
  • Files
  • "; + echo "
  • Files
  • "; } if(is_plugin_enabled('bookmarks')){ if(get_context() == 'bookmarks') $selected = 'class="selected"'; else $selected = ""; - echo "
  • Bookmarks
  • "; + echo "
  • Bookmarks
  • "; } if(is_plugin_enabled('groups')){ if(get_context() == 'groups') $selected = 'class="selected"'; else $selected = ""; - echo "
  • ". elgg_echo('groups') . "
  • "; + echo "
  • ". elgg_echo('groups') . "
  • "; } echo ""; echo ""; -- cgit v1.2.3