diff options
Diffstat (limited to 'views/default/videolist/icon.php')
-rw-r--r-- | views/default/videolist/icon.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/views/default/videolist/icon.php b/views/default/videolist/icon.php index 46c186db1..36b30e5ca 100644 --- a/views/default/videolist/icon.php +++ b/views/default/videolist/icon.php @@ -9,10 +9,8 @@ * @link http://elgg.com/ */ -global $CONFIG; - if($vars['videolist']){ - echo "<img src=\"{$CONFIG->wwwroot}mod/videolist/graphics/icons/Video_Icon.jpg\" border=\"0\" />"; + echo "<img src=\"".elgg_get_site_url()."mod/videolist/graphics/icons/Video_Icon.jpg\" border=\"0\" />"; } else { $mime = $vars['mimetype']; if (isset($vars['thumbnail'])) { @@ -32,7 +30,7 @@ if($vars['videolist']){ if ($size == 'large') { echo "<img src=\"{$thumbnail}\" border=\"0\" />"; } else { - echo "<img src=\"{$CONFIG->wwwroot}mod/videolist/graphics/icons/Video_Icon.jpg\" border=\"0\" />"; + echo "<img src=\"".elgg_get_site_url()."mod/videolist/graphics/icons/Video_Icon.jpg\" border=\"0\" />"; } } -}
\ No newline at end of file +} |