diff options
Diffstat (limited to 'mod/file')
-rw-r--r-- | mod/file/views/default/file/css.php | 65 | ||||
-rw-r--r-- | mod/file/views/default/file/groupprofile_files.php | 12 | ||||
-rw-r--r-- | mod/file/views/default/widgets/filerepo/view.php | 14 |
3 files changed, 0 insertions, 91 deletions
diff --git a/mod/file/views/default/file/css.php b/mod/file/views/default/file/css.php index da9c6309e..6ee41caf5 100644 --- a/mod/file/views/default/file/css.php +++ b/mod/file/views/default/file/css.php @@ -112,71 +112,6 @@ -/* 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; -} -*/ - - - diff --git a/mod/file/views/default/file/groupprofile_files.php b/mod/file/views/default/file/groupprofile_files.php index 7902ae91f..81fb88588 100644 --- a/mod/file/views/default/file/groupprofile_files.php +++ b/mod/file/views/default/file/groupprofile_files.php @@ -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>"; } diff --git a/mod/file/views/default/widgets/filerepo/view.php b/mod/file/views/default/widgets/filerepo/view.php index 276ece053..6763d2536 100644 --- a/mod/file/views/default/widgets/filerepo/view.php +++ b/mod/file/views/default/widgets/filerepo/view.php @@ -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>"; } |