diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-30 14:00:57 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-30 14:00:57 +0000 |
commit | 34102e5462dcd08e9d5dd1b185e01f299b35b0e9 (patch) | |
tree | 15dafb46d9d7d93928ec9fef09da4c793b11fd26 /mod/file/views/default/file/icon/application/vnd.ms-powerpoint.php | |
parent | a2b3db924719b111c7c01812fe3470fbbd1ae7cc (diff) | |
download | elgg-34102e5462dcd08e9d5dd1b185e01f299b35b0e9.tar.gz elgg-34102e5462dcd08e9d5dd1b185e01f299b35b0e9.tar.bz2 |
updated the object/file view
git-svn-id: http://code.elgg.org/elgg/trunk@7770 36083f99-b078-4883-b0ff-0f9b5a30f544
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 |