diff options
Diffstat (limited to 'mod/file/views/default/file/icon/application/vnd.ms-powerpoint.php')
-rw-r--r-- | mod/file/views/default/file/icon/application/vnd.ms-powerpoint.php | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/mod/file/views/default/file/icon/application/vnd.ms-powerpoint.php b/mod/file/views/default/file/icon/application/vnd.ms-powerpoint.php index 47a15b639..d6425be90 100644 --- a/mod/file/views/default/file/icon/application/vnd.ms-powerpoint.php +++ b/mod/file/views/default/file/icon/application/vnd.ms-powerpoint.php @@ -1,10 +1,6 @@ <?php +/** + * Powerpoint icon + */ - if ($vars['size'] == 'large') { - $ext = '_lrg'; - } else { - $ext = ''; - } - echo "<img src=\"".elgg_get_site_url()."mod/file/graphics/icons/ppt{$ext}.gif\" border=\"0\" />"; - -?>
\ No newline at end of file +echo elgg_view('file/icon/application/powerpoint', $vars);
\ No newline at end of file |