diff options
author | Sem <sembrestels@riseup.net> | 2011-11-03 20:37:47 +0100 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2011-11-03 20:37:47 +0100 |
commit | a8e625f47a8b197f6cb89b67f37ef5d0a756619d (patch) | |
tree | 1f1df7f065d8c2961d33eb58d2ff484d5dfe4108 /views/default/object | |
parent | de84bf42063eae58bd5832d125c6445b5315baaf (diff) | |
download | elgg-a8e625f47a8b197f6cb89b67f37ef5d0a756619d.tar.gz elgg-a8e625f47a8b197f6cb89b67f37ef5d0a756619d.tar.bz2 |
Removed all $CONFIG and pg/ appearitions.
Diffstat (limited to 'views/default/object')
-rw-r--r-- | views/default/object/videolist.php | 10 |
1 files changed, 4 insertions, 6 deletions
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 .= '<p class="entity_title"><a href="' .$watch_URL. '">'.$title.'</a></p>'; - $info .= "<p class='entity_subtext'><a href=\"{$vars['url']}pg/videolist/owned/{$owner->username}\">{$owner->name}</a> {$friendlytime}"; + $info .= "<p class='entity_subtext'><a href=\"{$vars['url']}videolist/owned/{$owner->username}\">{$owner->name}</a> {$friendlytime}"; $info .= "</p>"; $icon = "<a class='video_icon' href=\"{$watch_URL}\">" . elgg_view("videolist/icon", array("mimetype" => $mime, 'thumbnail' => $thumbnail, 'video_guid' => $video_guid, 'size' => 'small')) . "</a>"; echo "<div class='video_entity'>".elgg_view_listing($icon, $info)."</div>"; } else { $info .= '<p class="entity_title"><a href="' .$watch_URL. '">'.$title.'</a></p>'; - $info .= "<p class='entity_subtext'><a href=\"{$vars['url']}pg/videolist/owned/{$owner->username}\">{$owner->name}</a> {$friendlytime}"; + $info .= "<p class='entity_subtext'><a href=\"{$vars['url']}videolist/owned/{$owner->username}\">{$owner->name}</a> {$friendlytime}"; $info .= "</p>"; $icon = "<a class='video_icon' href=\"{$watch_URL}\">" . elgg_view("videolist/icon", array("mimetype" => $mime, 'thumbnail' => $thumbnail, 'video_guid' => $video_guid, 'size' => 'small')) . "</a>"; echo "<div class='video_entity'>".elgg_view_listing($icon, $info)."</div>"; } } else { echo "<p class='margin_top'>".elgg_echo('videolist:none:found')."</p>"; -}
\ No newline at end of file +} |