]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Videolist on group profile page interfaced.
authorPete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 26 May 2010 17:31:00 +0000 (17:31 +0000)
committerPete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 26 May 2010 17:31:00 +0000 (17:31 +0000)
git-svn-id: http://code.elgg.org@6241 36083f99-b078-4883-b0ff-0f9b5a30f544

views/default/videolist/css.php
views/default/videolist/groupprofile_videolist.php

index 50956a03e09b175b258e4615a5ba4bb00164f7b2..ca3ab5f1d2602cddf4c0a846a13f5c62dfe1d464 100644 (file)
 .close_video a {
        color:white;
 }
+
+/* videos group widget */
+.group_tool_widget.video .entity_listing_icon img {
+       margin:0;
+       width:auto;
+       max-width:80px;
+       height:60px;
+}
+.group_tool_widget.video .entity_listing_info {
+       width:260px;
+}
index d782deb96cf2891dc01d9ac59d0a82639c5e6f68..646590c95e586c31d303601a2148d7f941134cbc 100644 (file)
@@ -32,8 +32,8 @@ if ($videos) {
                echo "<div class='entity_listing clearfloat'>";
                echo "<div class='entity_listing_icon'><a href=\"{$vars['url']}pg/videolist/watch/{$f->guid}\"><img src=\"".$f->thumbnail."\" border=\"0\" width=\"85\" /></a></div>";
                echo "<div class='entity_listing_info'>";
-               echo "<p class='entity_title'><a href=\"{$vars['url']}pg/videolist/watch/{$f->guid}\">" . $f->title ."</a><br />by <a href=\"{$vars['url']}pg/profile/{$owner->username}\">{$owner->name}</a></p>";
-               echo "<p class='entity_subtext'>" . friendly_time($f->time_created) . "</p>";
+               echo "<p class='entity_title'><a href=\"{$vars['url']}pg/videolist/watch/{$f->guid}\">" . $f->title ."</a></p><p class='entity_subtext'><a href=\"{$vars['url']}pg/profile/{$owner->username}\">{$owner->name}</a> ";
+               echo friendly_time($f->time_created) . "</p>";
                echo "</div></div>";
 
        }