aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-16 17:30:12 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-16 17:30:12 +0000
commit0801d94f4095d3658a00a0a57f4166cb4f707eda (patch)
treec7c92c72b774fb0c3bf32fe7dd5d08f7afcb895d
parent732207c9a17483d1a660f9b7cec81f531a0838e5 (diff)
downloadelgg-0801d94f4095d3658a00a0a57f4166cb4f707eda.tar.gz
elgg-0801d94f4095d3658a00a0a57f4166cb4f707eda.tar.bz2
Removed js drop-down description on group profile tools widgets.
git-svn-id: http://code.elgg.org/elgg/trunk@5780 36083f99-b078-4883-b0ff-0f9b5a30f544
-rwxr-xr-xmod/bookmarks/views/default/bookmarks/group_bookmarks.php10
-rw-r--r--mod/file/views/default/file/css.php65
-rw-r--r--mod/file/views/default/file/groupprofile_files.php12
-rw-r--r--mod/file/views/default/widgets/filerepo/view.php14
4 files changed, 1 insertions, 100 deletions
diff --git a/mod/bookmarks/views/default/bookmarks/group_bookmarks.php b/mod/bookmarks/views/default/bookmarks/group_bookmarks.php
index e4cdedeac..8ed521a8f 100755
--- a/mod/bookmarks/views/default/bookmarks/group_bookmarks.php
+++ b/mod/bookmarks/views/default/bookmarks/group_bookmarks.php
@@ -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>";
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>";
}