From a8e625f47a8b197f6cb89b67f37ef5d0a756619d Mon Sep 17 00:00:00 2001 From: Sem Date: Thu, 3 Nov 2011 20:37:47 +0100 Subject: Removed all $CONFIG and pg/ appearitions. --- views/default/object/videolist.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'views/default/object/videolist.php') diff --git a/views/default/object/videolist.php b/views/default/object/videolist.php index 82336ec97..d67d35b23 100644 --- a/views/default/object/videolist.php +++ b/views/default/object/videolist.php @@ -6,8 +6,6 @@ /* @copyright Prateek.Choudhary /*****************************************************************************************/ -global $CONFIG; - $video_file = $vars['entity']; if(!empty($video_file)) { @@ -22,7 +20,7 @@ if(!empty($video_file)) { $mime = "image/html"; $thumbnail = $videothumbnail; - $watch_URL = $vars['url']."pg/videolist/watch/".$video_guid; + $watch_URL = $vars['url']."videolist/watch/".$video_guid; $object_acl = get_readable_access_level($video_file->access_id); // metadata block, - access level, edit, delete, + options view extender @@ -40,17 +38,17 @@ if(!empty($video_file)) { if(get_input('show_viewtype') == "all") { $info .= '

'.$title.'

'; - $info .= "

username}\">{$owner->name} {$friendlytime}"; + $info .= "

username}\">{$owner->name} {$friendlytime}"; $info .= "

"; $icon = "" . elgg_view("videolist/icon", array("mimetype" => $mime, 'thumbnail' => $thumbnail, 'video_guid' => $video_guid, 'size' => 'small')) . ""; echo "
".elgg_view_listing($icon, $info)."
"; } else { $info .= '

'.$title.'

'; - $info .= "

username}\">{$owner->name} {$friendlytime}"; + $info .= "

username}\">{$owner->name} {$friendlytime}"; $info .= "

"; $icon = "" . elgg_view("videolist/icon", array("mimetype" => $mime, 'thumbnail' => $thumbnail, 'video_guid' => $video_guid, 'size' => 'small')) . ""; echo "
".elgg_view_listing($icon, $info)."
"; } } else { echo "

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

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