blob: c4fc8e2a739772044a86c5b8c5801054fb9db9be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<?php
/**
* Default file icon
*/
$type = elgg_get_array_value('type', $vars, 'general');
$size = elgg_get_array_value('size', $vars, '');
if ($size == 'large') {
$ext = '_lrg';
} else {
$ext = '';
}
$src = elgg_get_site_url() . "mod/file/graphics/icons/{$type}{$ext}.gif";
echo "<img src=\"$src\" />";
|