diff options
author | Pete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-26 17:31:00 +0000 |
---|---|---|
committer | Pete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-26 17:31:00 +0000 |
commit | 5a619d500ffe1205d6b4612b2e4535ee6bb956b2 (patch) | |
tree | f59e1cdd7708b0eaef4f9c89a7cf575705334ffb /views | |
parent | 571c7b43a0001b8083ad7dba069070ef9fe741a6 (diff) | |
download | elgg-5a619d500ffe1205d6b4612b2e4535ee6bb956b2.tar.gz elgg-5a619d500ffe1205d6b4612b2e4535ee6bb956b2.tar.bz2 |
Videolist on group profile page interfaced.
git-svn-id: http://code.elgg.org@6241 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r-- | views/default/videolist/css.php | 11 | ||||
-rw-r--r-- | views/default/videolist/groupprofile_videolist.php | 4 |
2 files changed, 13 insertions, 2 deletions
diff --git a/views/default/videolist/css.php b/views/default/videolist/css.php index 50956a03e..ca3ab5f1d 100644 --- a/views/default/videolist/css.php +++ b/views/default/videolist/css.php @@ -102,3 +102,14 @@ .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; +} diff --git a/views/default/videolist/groupprofile_videolist.php b/views/default/videolist/groupprofile_videolist.php index d782deb96..646590c95 100644 --- a/views/default/videolist/groupprofile_videolist.php +++ b/views/default/videolist/groupprofile_videolist.php @@ -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>"; } |