]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Removed js drop-down description on group profile tools widgets.
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>
Fri, 16 Apr 2010 17:30:12 +0000 (17:30 +0000)
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>
Fri, 16 Apr 2010 17:30:12 +0000 (17:30 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@5780 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/bookmarks/views/default/bookmarks/group_bookmarks.php
mod/file/views/default/file/css.php
mod/file/views/default/file/groupprofile_files.php
mod/file/views/default/widgets/filerepo/view.php

index e4cdedeacd36eda5335d940a706e2f82bd325781..8ed521a8fa7f41f2aeb79a7cf8f14d2a4824c595 100755 (executable)
@@ -21,15 +21,7 @@ if($bookmarks){
                $info .= "<div class='entity_listing_info'><p class='entity_title'><a href=\"{$b->address}\">{$b->title}</a></p>";
                                
                //get the user details
-               $info .= "<p class='entity_subtext'>{$friendlytime} ";
-
-               //get the bookmark description
-               // @todo - do we even have a description anymore? or is this the current bookmarks note ?
-               if($s->description) {
-                       $info .= "<a href=\"javascript:void(0);\" class=\"share_more_info\">".elgg_echo('bookmarks:more')."</a></small></p><div class=\"share_desc\"><p>{$s->description}</p></div>";
-               } else { 
-                       $info .= "</p>";
-               }
+               $info .= "<p class='entity_subtext'>{$friendlytime}</p>";
                $info .= "</div>";
                //display 
                echo "<div class='entity_listing clearfloat'>" . $info . "</div>";
index da9c6309ea1d8e332e265e10048e27c38da38ae1..6ee41caf5bcb558f433470d088f761a7b5b34d2a 100644 (file)
 
 
 
-/* FILE REPRO WIDGET VIEW */
-/*
-.filerepo_widget_singleitem {
-       margin:0 0 5px 0;
-       padding:5px;
-       min-height:60px;
-       display:block;
-       background:white;
-       -webkit-border-radius: 8px; 
-       -moz-border-radius: 8px;
-}
-.filerepo_widget_singleitem_more {
-       margin:0;
-       padding:5px;
-       display:block;
-       background:white;
-       -webkit-border-radius: 8px; 
-       -moz-border-radius: 8px;        
-}
-.filerepo_listview_icon {
-       float: left;
-       margin-right: 10px;
-}
-.filerepo_timestamp {
-       color:#666666;
-       margin:0;
-}
-.filerepo_listview_desc {
-       display:none;
-       padding:0 10px 10px 0;
-       line-height: 1.2em;
-}
-.filerepo_listview_desc p {
-       color:#333333;
-}
-.filerepo_widget_content {
-       margin-left: 70px;
-}
-
-.collapsable_box #filerepo_widget_layout {
-       margin:0 10px 0 10px;
-       background: none;
-}
-*/
-
-/* widget gallery view */
-/*
-#filerepo_widget_layout .filerepo_widget_galleryview {
-       -webkit-border-radius: 8px; 
-       -moz-border-radius: 8px;
-       background: white;
-       margin:0 0 5px 0;       
-}
-.filerepo_widget_galleryview img {
-       padding:0;
-    border:1px solid white;
-    margin:4px;
-}
-.filerepo_widget_galleryview img:hover {
-       border:1px solid #333333;
-}
-*/
-
-
-
 
 
 
index 7902ae91ff08f9bcf2d32583164f47f2f4ac5954..81fb8858826adb6c6989f5398d5c86e872fa0080 100644 (file)
@@ -6,16 +6,6 @@
     if($vars['entity']->files_enable != 'no'){
 
 ?>
-
-<script type="text/javascript">
-$(document).ready(function () {
-       $('a.show_file_desc').click(function () {
-               $(this.parentNode).children("[class=filerepo_listview_desc]").slideToggle("fast");
-               return false;
-       });
-}); /* end document ready function */
-</script>
-
 <div class="group_tool_widget files"> 
 <h3><?php echo elgg_echo("file:group"); ?></h3>
 
@@ -45,8 +35,6 @@ $(document).ready(function () {
                echo "<div class='entity_listing_info'>";
                echo "<p class='entity_title'>" . $f->title . "</p>";
                echo "<p class='entity_subtext'>" . friendly_time($f->time_created) . "</p>";
-                       $description = $f->description;
-                       if (!empty($description)) echo "<a href=\"javascript:void(0);\" class=\"show_file_desc\">". elgg_echo('more') ."</a><br /><div class=\"filerepo_listview_desc\">" . $description . "</div>";
                        echo "</div></div>";
                                        
                }
index 276ece0536e5c5a2706185dd9bbf93eb9f20891e..6763d253654f44713604ce48c3b2ac14b36a6e5d 100644 (file)
@@ -1,15 +1,3 @@
-<script type="text/javascript">
-$(document).ready(function () {
-
-$('a.show_file_desc').click(function () {
-       $(this.parentNode).children("[class=filerepo_listview_desc]").slideToggle("fast");
-       return false;
-});
-
-}); /* end document ready function */
-</script>
-
-
 <?php
 
     //the page owner
@@ -62,8 +50,6 @@ $('a.show_file_desc').click(function () {
                echo "<div class='filerepo_widget_content'>";
                echo "<div class='filerepo_listview_title'><p class='filerepo_title'>" . $f->title . "</p></div>";
                echo "<div class='filerepo_listview_date'><p class='filerepo_timestamp'><small>" . friendly_time($f->time_created) . "</small></p></div>";
-               $description = $f->description;
-                       if (!empty($description)) echo "<a href=\"javascript:void(0);\" class='show_file_desc'>". elgg_echo('more') ."</a><br /><div class='filerepo_listview_desc'>" . $description . "</div>";
                        echo "</div></div>";
                                        
                }