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/videolist/icon.php | |
parent | de84bf42063eae58bd5832d125c6445b5315baaf (diff) | |
download | elgg-a8e625f47a8b197f6cb89b67f37ef5d0a756619d.tar.gz elgg-a8e625f47a8b197f6cb89b67f37ef5d0a756619d.tar.bz2 |
Removed all $CONFIG and pg/ appearitions.
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 +} |