blob: 266a60a47b78f0b1cf9da8001bb8de9c8817578d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?php
/**
* Elgg file icons.
* Displays an icon, depending on its mime type, for a file.
* Optionally you can specify a size.
*
* @package ElggFile
* @author Marcus Povey
* @copyright Curverider Ltd 2008
* @link http://elgg.com/
*/
$mime = $vars['mimetype'];
$width = $vars['width'];
$height = $vars['height'];
if (!$width) $width = 100;
if (!$height) $height = 100;
echo $mime;
?>
|