From d62cbfda4b060c7ac89210266c5ebf08ff56c4d8 Mon Sep 17 00:00:00 2001 From: Pete Harris Date: Tue, 13 Apr 2010 16:12:40 +0000 Subject: Groups profile page tool widgets updated for video and documents. --- views/default/videolist/groupprofile_videolist.php | 29 ++++++++-------------- 1 file changed, 10 insertions(+), 19 deletions(-) (limited to 'views') diff --git a/views/default/videolist/groupprofile_videolist.php b/views/default/videolist/groupprofile_videolist.php index 0bca15324..8af5c9bd1 100644 --- a/views/default/videolist/groupprofile_videolist.php +++ b/views/default/videolist/groupprofile_videolist.php @@ -10,7 +10,7 @@ */ ?> -
+

guid, "videolist", $number, 0); //if there are some files, go get them if ($videos) { - - //display in list mode - echo "
"; - foreach($videos as $f){ $mime = $f->mimetype; $owner = get_entity($f->getOwner()); $numcomments = elgg_count_comments($f); - echo ""; - echo "
"; - echo ""; - } - echo "

" . friendly_time($f->time_created) . "

"; - echo "
"; + echo "
"; + echo ""; + echo "
"; + echo "

guid}\">" . $f->title ."
by username}\">{$owner->name}

"; + echo "

" . friendly_time($f->time_created) . "

"; + echo "
"; } - echo "
"; //get a link to the users files $users_file_url = $vars['url'] . "pg/videolist/owned/" . page_owner_entity()->username; - echo ""; + echo "

" . elgg_echo("videolist:groupall") . "

"; } else { echo "

" . elgg_echo("videolist:none") . "

"; } - -?> -
+echo "
"; +?> \ No newline at end of file -- cgit v1.2.3