]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Riverdashboard updated to new UI. DOM simplified a bit & css cleaned up.
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 11 Mar 2010 13:04:38 +0000 (13:04 +0000)
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 11 Mar 2010 13:04:38 +0000 (13:04 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@5358 36083f99-b078-4883-b0ff-0f9b5a30f544

21 files changed:
mod/bookmarks/views/default/river/object/bookmarks/create.php
mod/profile/views/default/river/user/default/profileiconupdate.php
mod/profile/views/default/river/user/default/profileupdate.php
mod/riverdashboard/endpoint/ping.php
mod/riverdashboard/graphics/refresh.png [new file with mode: 0644]
mod/riverdashboard/views/default/river/item/list.php
mod/riverdashboard/views/default/river/item/wrapper.php
mod/riverdashboard/views/default/riverdashboard/container.php
mod/riverdashboard/views/default/riverdashboard/css.php
mod/riverdashboard/views/default/riverdashboard/menu.php
mod/riverdashboard/views/default/riverdashboard/nav.php
mod/riverdashboard/views/default/riverdashboard/newestmembers.php [deleted file]
mod/riverdashboard/views/default/riverdashboard/sitemessage.php
mod/riverdashboard/views/default/riverdashboard/welcome.php
mod/thewire/views/default/river/object/thewire/create.php
mod/thewire/views/default/thewire/css.php
views/default/annotation/annotate.php
views/default/css.php
views/default/friends/river/create.php
views/default/river/item/wrapper.php
views/default/river/wrapper.php

index 1c55c0bb26987fe50f0a738655a1d3a65ceb0e84..8de1c27b09ff0977786dcc98dd873fee6740bdad 100644 (file)
@@ -13,6 +13,6 @@ $performed_by = get_entity($vars['item']->subject_guid); // $statement->getSubje
 $object = get_entity($vars['item']->object_guid);
 $url = $object->getURL();
 $url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
-$string = "<div class=\"river_content_title\">" . sprintf(elgg_echo("bookmarks:river:created"),$url) . " ";
-$string .= "<a href=\"" . $object->address . "\">" . $object->title . "</a> <span class=\"river_item_time\">" . friendly_time($object->time_updated) . "</span></div>"; //elgg_echo("bookmarks:river:item") . "</a></div>";
+$string = sprintf(elgg_echo("bookmarks:river:created"),$url) . " ";
+$string .= "<a href=\"" . $object->address . "\">" . $object->title . "</a> <span class='entity_subtext'>" . friendly_time($object->time_updated) . "</span>";
 echo $string;
\ No newline at end of file
index 7dc2c03712a1d68f30fb7b6f8ae7059524438909..1dca77df6113b45441da05c153c910c13441fbd9 100644 (file)
@@ -3,6 +3,6 @@
        $performed_by = get_entity($vars['item']->subject_guid); // $statement->getSubject();
        
        $url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
-       $string = "<div class=\"river_content_title\">" . sprintf(elgg_echo("profile:river:update"),$url) ." <span class=\"river_item_time\">" . friendly_time($vars['item']->posted) . "</span></div>";
+       $string = sprintf(elgg_echo("profile:river:update"),$url) ." <span class='entity_subtext'>" . friendly_time($vars['item']->posted) . "</span>";
        
        echo $string;
\ No newline at end of file
index 325d806e43f74396ba0f13bcc5e1b8066894dd55..e609e1a408169946ce370e703aa060a860946543 100644 (file)
@@ -3,7 +3,7 @@
        $performed_by = get_entity($vars['item']->subject_guid); // $statement->getSubject();
        
        $url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
-       $string = "<div class=\"river_content_title\">" . sprintf(elgg_echo("profile:river:update"),$url) ." <span class=\"river_item_time\">" . friendly_time($vars['item']->posted) . "</span></div>";
+       $string = sprintf(elgg_echo("profile:river:update"),$url) ." <span class='entity_subtext'>" . friendly_time($vars['item']->posted) . "</span>";
        
 ?>
 
index 2a87da746537db5efc0777d30e9506c96d66556a..c5613dd0c0578f0ba6f1ba2b61b2b147f32c8825 100644 (file)
@@ -45,8 +45,7 @@ $all_activity = $annotations + $entity_creation + $entity_update;
 \r
 if ($all_activity > 0) {\r
        $s = ($all_activity == 1) ? '' : 's';\r
-       echo "<a href=\"\" onClick=\"window.location.reload();\" class=\"update_wire\" style='margin-top:9px;'>$all_activity update$s!</a>";\r
-       //echo "<script type=\"text/javascript\">$(document).ready(function() { document.title = \"[{$all_activity}] new item{$s}!\"; }); </script>";\r
+       echo "<a href='' onClick=\"window.location.reload();\" class='update_link'>$all_activity update$s!</a>";\r
 ?>\r
        <script type="text/javascript">\r
                $(document).ready(function(){\r
diff --git a/mod/riverdashboard/graphics/refresh.png b/mod/riverdashboard/graphics/refresh.png
new file mode 100644 (file)
index 0000000..71aa8e5
Binary files /dev/null and b/mod/riverdashboard/graphics/refresh.png differ
index 25774ff08150cb78dac6b126636b8403aacefc31..0c0d7a4db38eb9845e534e0239bd9081a6ef9c2a 100644 (file)
@@ -1,8 +1,3 @@
-<?php
-/**
- */
-?>
-<div class="river_item_list">
 <?php
        if (isset($vars['items']) && is_array($vars['items'])) {
 
@@ -33,7 +28,7 @@
                                $nexturl=$baseurl . '?' . $urladdition;
                        }
 
-                       $nav .= '<a class="back" href="'.$nexturl.'">&laquo; ' . elgg_echo('previous') . '</a> ';
+                       $nav .= '<a class="pagination_previous" href="'.$nexturl.'">&laquo; ' . elgg_echo('previous') . '</a> ';
                }
 
                if ($vars['offset'] > 0) {
                                $prevurl=$baseurl . '?' . $urladdition;
                        }
 
-                       $nav .= '<a class="forward" href="'.$prevurl.'">' . elgg_echo('next') . ' &raquo;</a> ';
+                       $nav .= '<a class="pagination_next" href="'.$prevurl.'">' . elgg_echo('next') . ' &raquo;</a> ';
                }
 
                if (!empty($nav)) {
-                       echo '<div class="river_pagination"><p>'.$nav.'</p><div class="clearfloat"></div></div>';
+                       echo '<div class="pagination clearfloat">'.$nav.'</div>';
                }
        }
-?>
-</div>
\ No newline at end of file
+?>
\ No newline at end of file
index 1aa508d998f4f3354136526a925803e74c3f2aea..eabe48e5398b9f412d2f767c700263a295477fd7 100644 (file)
@@ -47,73 +47,65 @@ else
        $num_comments = $comment_count - 3;
 ?>
 <div class="river_item">
-       <!-- avatar -->
-       <span class="river_item_useravatar" style="float:left;margin:0 10px 10px 0;">
-               <?php
-                       echo elgg_view("profile/icon",array('entity' => $user, 'size' => 'small'));
-               ?>
+       <span class="river_item_useravatar">
+               <?php echo elgg_view("profile/icon",array('entity' => $user, 'size' => 'small')); ?>
        </span>
-       <!-- body contents, generated by the river view in each plugin -->
-       <?php
-               echo $vars['body'];
-       ?>
-       <div class="clearfloat"></div>
-       <!-- display comments and likes if on  the dashboard/live feed -->
-       <div class="river_item_annotation">
-               <?php
-                       //display the number of comments and likes if there are any
-                       if($num_comments != 0){
-                               echo "<div class='river_more_comments'><span class='more_comments'>";
-                               //set the correct context comment or comments
-                               if($num_comments == 1)
-                                       echo "<a href=\"{$object_url}\">+{$num_comments} more comment</a>";
-                               else
-                                       echo "<a href=\"{$object_url}\">+{$num_comments} more comments</a>";
-                                       
-                               echo "</span></div>";   
-                       }
-                       //display latest 2 comments if there are any
-                       if($get_comments){
-                               $counter = 0;
-                               $background = "";
-                               echo "<div class='river_comments'>";
-                               foreach($get_comments as $gc){
-                                       //get the comment owner
-                                       $comment_owner = get_user($gc->owner_guid);
-                                       //get the comment owner's profile url
-                                       $comment_owner_url = $comment_owner->getURL();
-                                       // color-code each of the 3 comments
-                                       if( ($counter == 2 && $comment_count >= 4) || ($counter == 1 && $comment_count == 2) || ($counter == 0 && $comment_count == 1) || ($counter == 2 && $comment_count == 3) )
-                                               $alt = 'latest';
-                                       else if( ($counter == 1 && $comment_count >= 4) || ($counter == 0 && $comment_count == 2) || ($counter == 1 && $comment_count == 3) )
-                                               $alt = 'penultimate';
-                                       
-                                       //display comment
-                                       echo "<div class='river_comment {$alt}'>";
-                                       echo "<div class='river_comment_owner_icon'>";
-                                       echo elgg_view("profile/icon",array('entity' => $comment_owner, 'size' => 'tiny'));
-                                       echo "</div>";
-                                       //truncate comment to 150 characters
-                                       if(strlen($gc->value) > 150) {
-                                               $gc->value = substr($gc->value, 0, strpos($gc->value, ' ', 150)) . "...";
-                                   }
-                                       $contents = strip_tags($gc->value);
-                                   echo "<div class='comment_wrapper'>";
-                                       echo "<a href=\"{$comment_owner_url}\">" . $comment_owner->name . "</a> " . parse_urls($contents);
-                                       echo "<br /><span class='river_item_time'>" . friendly_time($gc->time_created) . "</span>";
-                                       echo "<div class=\"clearfloat\"></div>";
-                                       echo "</div></div>";
-                                       $counter++;
-                               }
-                               echo "</div>";
-                       }
+       <div class="river_item_contents clearfloat">
+               <!-- body contents, generated by the river view in each plugin -->
+               <?php echo $vars['body']; ?>
+       </div>
+       
+<!-- display comments -->
+<?php
+       //display latest 2 comments if there are any
+       if($get_comments){
+               $counter = 0;
+               $background = "";
+               echo "<div class='river_comments'>";
+                       
+               //display the number of comments if there are any
+               if($num_comments != 0){
+                       //set the correct context comment or comments
+                       if($num_comments == 1)
+                               echo "<a class='river_more_comments' href=\"{$object_url}\">+{$num_comments} more comment</a>";
+                       else
+                               echo "<a class='river_more_comments' href=\"{$object_url}\">+{$num_comments} more comments</a>";
+               }
+                       
+               foreach($get_comments as $gc){
+                       //get the comment owner
+                       $comment_owner = get_user($gc->owner_guid);
+                       //get the comment owner's profile url
+                       $comment_owner_url = $comment_owner->getURL();
+                       // color-code each of the 3 comments
+                       if( ($counter == 2 && $comment_count >= 4) || ($counter == 1 && $comment_count == 2) || ($counter == 0 && $comment_count == 1) || ($counter == 2 && $comment_count == 3) )
+                               $alt = 'latest';
+                       else if( ($counter == 1 && $comment_count >= 4) || ($counter == 0 && $comment_count == 2) || ($counter == 1 && $comment_count == 3) )
+                               $alt = 'penultimate';
+                       
+                       //display comment
+                       echo "<div class='river_comment {$alt} clearfloat'>";
+                       echo "<span class='river_comment_owner_icon'>";
+                       echo elgg_view("profile/icon",array('entity' => $comment_owner, 'size' => 'tiny'));
+                       echo "</span>";
+                       //truncate comment to 150 characters
+                       if(strlen($gc->value) > 150) {
+                               $gc->value = substr($gc->value, 0, strpos($gc->value, ' ', 150)) . "...";
+                   }
+                       $contents = strip_tags($gc->value);
+                   echo "<div class='river_comment_contents'>";
+                       echo "<a href=\"{$comment_owner_url}\">" . $comment_owner->name . "</a> " . parse_urls($contents);
+                       echo "<span class='entity_subtext'>" . friendly_time($gc->time_created) . "</span>";
+                       echo "</div></div>";
+                       $counter++;
+               }
+                       echo "</div>";
+               }
                        //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 != '')
-                                       echo "<span class='comment_link'><a href=\"{$object_url}\">Comment</a></span>";
+               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 != '')
+                               echo "<a class='comment_link' href=\"{$object_url}\">Comment</a>";
                        }
                ?>
-       </div>
-       <div class="clearfloat"></div>
 </div>
\ No newline at end of file
index a72de9fc42439bccdf2977fde07c11ed218afc37..2d2d5b069224fd20023a87f84cd7166b648824c5 100644 (file)
@@ -1,4 +1,4 @@
-<div id="river_container"><?php echo $vars['body']; ?></div><!-- /river_container -->\r
+<?php echo $vars['body']; ?>\r
 \r
 <script type="text/JavaScript">\r
 $(document).ready(function(){\r
@@ -30,7 +30,7 @@ function thewireUpdateChecker(interval) {
                        'data': {'seconds_passed': this.seconds_passed},\r
                        'success': function(data) {\r
                                if (data) {\r
-                                       $('#the-wire-updates-notice').html(data).slideDown();\r
+                                       $('#riverdashboard_updates').html(data).slideDown();\r
                                        // could crank down the interval here.\r
                                        // if we change the message to simply "New Posts!" \r
                                        // we could stop the polling altogether.\r
index d558b215aa4a044f5b0a04e3fb9d61b4e389be7a..c8c004213b323235f5128a002ae918fb2a939fad 100644 (file)
 <?php
-
-       /**
-        * Elgg riverdashboard CSS
-        * 
-        */
-
+/**
+ * Elgg riverdashboard CSS
+ * 
+ */
 ?>
-
-.riverdashboard_filtermenu {
-       margin:10px 0 10px 0;
-       float:right;
-}
-
-.river_pagination .forward,
-.river_pagination .back {
-       display:block;
-       float:left;
-       border:1px solid #cccccc;
-       color:#4690d6;
-       text-align: center;
-       font-size: 12px;
-       font-weight: normal;
-       margin:0 6px 0 0;
-       padding:0 4px 1px 4px;
-       cursor: pointer;
-       -webkit-border-radius: 4px; 
-       -moz-border-radius: 4px;
+#riverdashboard_updates {
+       border-bottom:1px solid #cccccc;
 }
-.river_pagination .forward:hover,
-.river_pagination .back:hover {
-       background:#4690d6;
+#riverdashboard_updates a.update_link {
+       display: inline-table;
+       color:white;
+       font-weight: bold;
+       padding:1px 8px 2px 24px;
+       margin-top:9px;
+    cursor: pointer;
+       background: red url("<?php echo $vars['url']; ?>mod/riverdashboard/graphics/refresh.png") no-repeat 5px 3px;
+    -webkit-border-radius: 10px; 
+    -moz-border-radius: 10px;    
+}
+#riverdashboard_updates a.update_link:hover {
+       background: #4690D6 url("<?php echo $vars['url']; ?>mod/riverdashboard/graphics/refresh.png") no-repeat 5px -22px;
        color:white;
        text-decoration: none;
-       border:1px solid #4690d6;
 }
-.river_pagination .back {
-       margin:0 20px 0 0;
+.riverdashboard_filtermenu {
+       margin:10px 0 10px 0;
+       float:right;
 }
-/* IE6 */
-* html .river_pagination { margin-top:17px; }
-/* IE7 */
-*:first-child+html .river_pagination { margin-top:17px; }
 
-/* activity widget */
-.collapsable_box_content .content_area_user_title h2 {
-       font-size:1.0em;
+/* RIVER ENTRY */
+.river_item {
+       border-bottom:1px solid #cccccc;
+       padding:7px 0 7px 0;
 }
-.collapsable_box_content .ContentWrapper.ActivityWidget {
-       
+.river_item p {
+       margin:0;
 }
-
-.river_content img {
-       margin:2px 0 2px 20px;
+.river_item_useravatar {
+       float:left;
+       margin-top:3px;
+       margin-left:1px;
 }
-
-.river_content_title {
+.river_item_contents {
        margin-left:55px;
-       
-}
-.river_content_title a {
-       font-weight: bold;
-       /* color:#333333; */
 }
-
 .river_content_display {
        border-left:1px solid #DDDDDD;
        font-size:90%;
-       margin:8px 0 6px 55px;
+       margin:8px 0 6px 0;
        padding-left:5px;
 }
-
-.river_content_display p {
-       padding:0;
-       margin:0;
-}
-
 .following_icon {
        width:20px;
        height:25px;
        margin:0 2px 0 2px;
        background: url(<?php echo $vars['url']; ?>mod/riverdashboard/graphics/follow_icon.png) no-repeat left -7px;
 }
-.river_content_display div.usericon a.icon img {
-       width:25px;
-       height:25px;
-}
 
-
-/* ***************************************
-       ACTIVITY RIVER
-*************************************** */
-.river_item_list {
-       border-top:1px solid #cccccc;
-}
-.river_item p {
-       margin:0;
-}
-.river_item {
-       border-bottom:1px solid #cccccc;
-       padding:7px 0 10px 0;
-/*
-       margin-top:5px;
-       margin-bottom:5px;
-*/
-}
-.river_item_annotation {
-
-}
-span.more_comments {
-
-}
-.river_more_comments {
-       display:block;
-       float:right;
-       padding:2px 4px 7px 30px;
-       text-align:right;
-       width:auto;
-}
+/* LATEST COMMENTS IN RIVER */
 .river_comments {
        margin:5px 0 0 55px;
        width:auto;
 }
-.comment_wrapper {
-       margin-left:34px;
-}
-.comment_link {
-       margin-left:55px;
-}
-
-.river_comment_owner_icon {
-       float:left;
-       margin:0 8px 4px 2px;
-}
-
 .river_comment {
        background-color: #f8f8f8;
        padding:3px;
@@ -147,50 +76,30 @@ span.more_comments {
        background-color: #dedede;
        margin-bottom:0;
 }
-
-.river_item_time {
-       font-size:90%;
-       color:#666666;
+a.river_more_comments {
+       display:block;
+       float:right;
+       padding:2px 4px 7px 30px;
+       text-align:right;
+       width:auto;
 }
-.river_item .river_item_useravatar {
+.river_comment_owner_icon {
        float:left;
-       margin:3px 0 0 1px;
+       margin:3px 8px 4px 2px;
 }
-/* IE6 fix */
-* html .river_item p { 
-       /* padding:3px 0 3px 20px; */
+.river_comment_contents {
+       margin-left:34px;
 }
-/* IE7 */
-*:first-child+html .river_item p {
-       /* min-height:17px; */
+.river_item .comment_link {
+       margin-left:55px;
 }
-
-/* .river_object_blog_update, */
-
-.river_object_blog_create,
-.river_object_page_create,
-.river_object_page_update {
-       float:left;
-       width:26px;
-       height:32px;
-       border:none;
-       background-color: transparent;
-       margin-right:6px;
-       margin-top:2px;
-}
-.river_object_blog_create {
-       background-image: url(<?php echo $vars['url']; ?>mod/riverdashboard/graphics/icon_activity_blogs.png);
-       background-position: left top;
-       background-repeat: no-repeat;
-}
-.river_object_page_create,
-.river_object_page_update {
-       background-image: url(<?php echo $vars['url']; ?>mod/riverdashboard/graphics/icon_activity_pages.png);
-       background-position: left top;
-       background-repeat: no-repeat;
+.river_comments .entity_subtext {
+       display: block;
 }
 
-
+/*  ACTIVITY WIDGET?
+       @todo 
+       
 .collapsable_box_content .river_user_update {
        background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_profile.gif) no-repeat left -1px;
 }
@@ -291,5 +200,6 @@ span.more_comments {
        background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_comment.gif) no-repeat left -1px;
 }
 
+*/
 
 
index 44084cec91aac75450abc9b0b08d51b1b98b3438..8a8964384366b07b7d8ef53c7e773c58284677b1 100644 (file)
@@ -14,7 +14,7 @@ switch($vars['orient']) {
                                        break;\r
 }\r
 ?>\r
-<div id="Submenu"><ul>\r
+<div class="submenu"><ul>\r
 <?php\r
        if(isloggedin()){\r
 ?>\r
index db868db519e698683a7888bd6216a8effbfe3a85..b38a4e20a02b867d6d8a92b5cb49beb9cdf752e1 100644 (file)
@@ -27,27 +27,25 @@ switch($vars['orient']) {
                                        break;\r
 }\r
 ?>\r
-<div class="ContentWrapper">\r
-       <div class="riverdashboard_filtermenu"> \r
-               <?php\r
-                       $location_filter = "<select onchange=\"window.open(this.options[this.selectedIndex].value,'_top')\" name=\"file_filter\" class='Notstyled' >";\r
-                       $current = get_input('subtype');\r
-                       foreach($contents as $label => $content) {\r
-                               $get_values = explode(",", $content);\r
-                               //select the current filter\r
-                               if($get_values[1] == $current)\r
-                                       $selected = "SELECTED";\r
-                               //set the drop down filter\r
-                               if($content[0] && $content[1])\r
-                                       $location_filter .= "<option {$selected} class='Nomenuoption' value=\"{$CONFIG->url}mod/riverdashboard/index.php?type={$get_values[0]}&subtype={$get_values[1]}{$display_option}\" >" . elgg_echo($label) . "</option>";                                \r
-                               //reset selected\r
-                               $selected = '';\r
-                       }\r
-                       $location_filter .= "</select>";\r
-                       echo $location_filter;\r
-               ?>\r
-               <input type="hidden" name="display" id="display" value="<?php echo htmlentities($vars['orient']); ?>" />\r
-       </div>\r
-<!-- </div> don't close ContentWrapper here, it happens later -->\r
+<div class="riverdashboard_filtermenu"> \r
+       <?php\r
+               $location_filter = "<select onchange=\"window.open(this.options[this.selectedIndex].value,'_top')\" name=\"file_filter\" class='Notstyled' >";\r
+               $current = get_input('subtype');\r
+               foreach($contents as $label => $content) {\r
+                       $get_values = explode(",", $content);\r
+                       //select the current filter\r
+                       if($get_values[1] == $current)\r
+                               $selected = "SELECTED";\r
+                       //set the drop down filter\r
+                       if($content[0] && $content[1])\r
+                               $location_filter .= "<option {$selected} class='Nomenuoption' value=\"{$CONFIG->url}mod/riverdashboard/index.php?type={$get_values[0]}&subtype={$get_values[1]}{$display_option}\" >" . elgg_echo($label) . "</option>";                                \r
+                       //reset selected\r
+                       $selected = '';\r
+               }\r
+               $location_filter .= "</select>";\r
+               echo $location_filter;\r
+       ?>\r
+       <input type="hidden" name="display" id="display" value="<?php echo htmlentities($vars['orient']); ?>" />\r
+</div>\r
 \r
-<div id="the-wire-updates-notice" class="ContentWrapper clearfloat"></div>\r
+<div id="riverdashboard_updates" class="clearfloat"></div>\r
diff --git a/mod/riverdashboard/views/default/riverdashboard/newestmembers.php b/mod/riverdashboard/views/default/riverdashboard/newestmembers.php
deleted file mode 100644 (file)
index 562f4b1..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-
-       /**
-        * Elgg thewire view page
-        * 
-        * @package ElggTheWire
-        * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
-        * @author Curverider <info@elgg.com>
-        * @copyright Curverider Ltd 2008-2010
-        * @link http://elgg.com/
-        * 
-        */
-
-       $newest_members = elgg_get_entities_from_metadata(array('metadata_names' => 'icontime', 'types' => 'user', 'limit' => 18));
-       
-?>
-
-<div class="sidebarBox">
-<h3><?php echo elgg_echo('riverdashboard:recentmembers') ?></h3>
-<div class="membersWrapper"><br />
-<?php 
-       foreach($newest_members as $mem){
-               echo "<div class=\"recentMember\">" . elgg_view("profile/icon",array('entity' => $mem, 'size' => 'tiny')) . "</div>";
-       }
-?>
-<div class="clearfloat"></div>
-</div>
-</div>
\ No newline at end of file
index 6cc2bc60d4bf30f9804ee374f2b7c609070cbceb..058c0d17f2555b3c05e0f410abd594e214ff2f47 100644 (file)
@@ -26,7 +26,6 @@
        
 ?>
 
-       <div class="sidebarBox">
        
 <?php
 
@@ -95,4 +94,3 @@ EOT;
        }//end of admin check
        }//end of main if
 ?>
-</div>
index ac809c2a050c1bd225ead954a858492b7db6aa52..3f8d705dffa5fb00b3c0b8e9ddc071dc9b803aad 100644 (file)
@@ -5,6 +5,4 @@
         */\r
         \r
 ?>\r
-<div id="content_area_user_title">\r
-<h2><?php echo sprintf(elgg_echo('welcome:user'), $_SESSION['user']->name); ?></h2>\r
-</div>
\ No newline at end of file
+<h2><?php echo sprintf(elgg_echo('welcome:user'), $_SESSION['user']->name); ?></h2>
\ No newline at end of file
index 9984e99e77fddbf6140c3a8de9b34a94caab0d1c..5308e7ba9e931fdc220981f3a4706386e5b65c02 100644 (file)
@@ -9,7 +9,7 @@
        $desc = preg_replace('/\@([A-Za-z0-9\_\.\-]*)/i','@<a href="' . $vars['url'] . 'pg/thewire/$1">$1</a>',$desc);
        $string .= parse_urls($desc);
 
-       $string .= " <span class=\"river_item_time\"><a href=\"{$vars['url']}mod/thewire/add.php?wire_username={$object->getOwnerEntity()->username}\" class=\"reply\">" . elgg_echo('thewire:reply') . "</a></span>";
+       $string .= " <span class='entity_subtext'>" . friendly_time($object->time_created) . "</span> <a href=\"{$vars['url']}mod/thewire/add.php?wire_username={$object->getOwnerEntity()->username}\" class='reply_link'>" . elgg_echo('thewire:reply') . "</a>";
 ?>
 
 <?php 
index 9f460458de97191d16a4417a5dc0d54718536c17..6cd92dd99f59db236f9ac08c5979a39f3e845b2f 100644 (file)
@@ -96,5 +96,7 @@
        right:5px;
 }
 
-
-
+/* river wire entry */
+.river_item .reply_link {
+       display:block;
+}
index 9e0d208816de3c37a64ca528d14921aa56a48b3a..a1940bed70e4f6eb68b066acd5c5e26b713f47d6 100644 (file)
@@ -11,8 +11,8 @@
        if($vars['item']->annotation_id != 0)
                $comment = get_annotation($vars['item']->annotation_id)->value; 
        $url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
-       $string = "<div class=\"river_content_title\">" . sprintf(elgg_echo("river:posted:generic"),$url) . " ";
-       $string .= elgg_echo("{$subtype}:river:annotate") . "  <a href=\"{$object->getURL()}\">" . $title . "</a> " . friendly_time($object->time_created) . "</div>";
+       $string = sprintf(elgg_echo("river:posted:generic"),$url) . " ";
+       $string .= elgg_echo("{$subtype}:river:annotate") . "  <a href=\"{$object->getURL()}\">" . $title . "</a> " . friendly_time($object->time_created);
        if(get_context() != 'riverdashboard'){
                $string .= "<div class=\"river_content_display\">";
                if($comment){
index 6673df8766dc78a09c88af17633578435f525c21..91d93acf5557d7d5316f8231d3288be355d592f6 100644 (file)
@@ -688,11 +688,8 @@ h2 {
        PAGINATION
 *************************************** */
 .pagination {
-       -webkit-border-radius: 8px; 
-       -moz-border-radius: 8px;
-       background:white;
-       margin:5px 10px 5px 10px;
-       padding:5px;
+       margin:5px 0 5px 0;
+       padding:5px 0;
 }
 .pagination .pagination_number {
        display:block;
@@ -732,7 +729,7 @@ h2 {
 .pagination .pagination_next {
        display:block;
        float:left;
-       border:1px solid #4690d6;
+       border:1px solid #cccccc;
        color:#4690d6;
        text-align: center;
        font-size: 12px;
@@ -746,6 +743,7 @@ h2 {
 .pagination .pagination_previous:hover,
 .pagination .pagination_next:hover {
        background:#4690d6;
+       border:1px solid #4690d6;
        color:white;
        text-decoration: none;
 }
@@ -753,7 +751,7 @@ h2 {
        display:block;
        float:left;
        background:#4690d6;
-       border:1px solid #4690d6;
+       border:1px solid #cccccc;
        text-align: center;
        color:white;
        font-size: 12px;
@@ -952,21 +950,18 @@ select.styled .select_option {
        margin:0;
        line-height:1.2em;
 }
-p.entity_title {
+.entity_title {
        font-weight: bold;
        font-size: 1.1em;
        line-height:1.2em;
        color:#666666;
 }
-p.entity_title a {
+.entity_title a {
        color:#0054A7;
 }
-p.entity_subtext {
-       margin:0;
-       padding:0;
+.entity_subtext {
        color:#666666;
        font-size: 90%;
-       line-height:1.2em;
 }
 /* entity metadata block */
 .entity_metadata {
index da9dde1f035289736e8cc9b1950741ffc263845e..3b0b7c3094c580c8bcbf58dfdf4fc92407cf3be7 100644 (file)
@@ -13,8 +13,8 @@ $performed_on = get_entity($vars['item']->object_guid);
 $url = $performed_on->getURL();
 
 $url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
-$string = "<div class=\"river_content_title\">" . sprintf(elgg_echo("friends:river:add"),$url) . " ";
-$string .= "<a href=\"{$performed_on->getURL()}\">{$performed_on->name}</a></div>";
+$string = sprintf(elgg_echo("friends:river:add"),$url) . " ";
+$string .= "<a href=\"{$performed_on->getURL()}\">{$performed_on->name}</a>";
 $string .= "<div class=\"river_content_display\">";
 $string .= "<table><tr><td>" . elgg_view("profile/icon",array('entity' => $performed_by, 'size' => 'tiny')) . "</td>";
 $string .= "<td><div class=\"following_icon\"></div></td><td>" . elgg_view("profile/icon",array('entity' => $performed_on, 'size' => 'tiny')) . "</td></tr></table>";
index 0080cf48bff4c14691e0f4f35dbf7e6f1f907448..a00273648db793b63e832a277e793b65c1eb61e2 100644 (file)
@@ -26,7 +26,7 @@ if($avatar_icon == "icon"){
                                                <?php
                                                                echo $vars['body'];
                                                ?>
-                                               <span class="river_item_time">
+                                               <span class="entity_subtext">
                                                        (<?php
                                                                echo friendly_time($vars['item']->posted);
                                                        ?>)
@@ -51,7 +51,7 @@ if($avatar_icon == "icon"){
                        <?php
                                echo $vars['body'];
                        ?>
-                       <span class="river_item_time">
+                       <span class="entity_subtext">
                                (<?php
                                        echo friendly_time($vars['item']->posted);
                                ?>)
index 0b5bfad626441eee342a138291300e4082e98d86..eddf5e2a213bf0d38213872da498f5436dfcbac1 100644 (file)
@@ -34,7 +34,7 @@ if ($statement->getObject() instanceof ElggEntity) {
                                        echo $vars['entry'];
 
                                ?>
-                               <span class="river_item_time">
+                               <span class="entity_subtext">
                                        (<?php
 
                                                echo friendly_time($time);