diff options
Diffstat (limited to 'mod/file/views/default/file/icon/document.php')
-rw-r--r-- | mod/file/views/default/file/icon/document.php | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/mod/file/views/default/file/icon/document.php b/mod/file/views/default/file/icon/document.php index fed4660fb..55a71394e 100644 --- a/mod/file/views/default/file/icon/document.php +++ b/mod/file/views/default/file/icon/document.php @@ -1,10 +1,8 @@ <?php +/** + * Document icon + */ - if ($vars['size'] == 'large') { - $ext = '_lrg'; - } else { - $ext = ''; - } - echo "<img src=\"".elgg_get_site_url()."mod/file/graphics/icons/text{$ext}.gif\" border=\"0\" />"; +$vars['type'] = 'text'; -?>
\ No newline at end of file +echo elgg_view('file/icon/default', $vars);
\ No newline at end of file |