Location: PHPKode > scripts > Resources Manager > resources-manager/basetypes.inc.php
<?php

  // Images
  $rm_types['jpg'] = array('JPEG Image', 'jpeg.gif');
  $rm_types['jpeg'] = array('JPEG Image', 'jpeg.gif');
  $rm_types['jpe'] = array('JPEG Image', 'jpeg.gif');
  $rm_types['gif'] = array('GIF Image', 'gif.gif');
  $rm_types['png'] = array('PNG Image', 'png.gif');
  $rm_types['tiff'] = array('TIFF Image', 'tiff.gif');
  $rm_types['tif'] = array('TIFF Image', 'tiff.gif');
  $rm_types['bmp'] = array('Windows Bitmap', 'bmp.gif');

  // Archives
  $rm_types['zip'] = array('ZIP Archive', 'zip.gif');
  $rm_types['gz'] = array('GZIP Archive', 'zip.gif');
  $rm_types['tar'] = array('TAR Archive', 'rar.gif');
  $rm_types['rar'] = array('RAR Archive', 'rar.gif');

  // Text Files
  $rm_types['txt'] = array('Plain Text', 'text.gif');
  $rm_types['html'] = array('HTML Script', 'html.gif');
  $rm_types['htm'] = array('HTML Script', 'html.gif');
  $rm_types['php'] = array('PHP Script', 'php.gif');
  $rm_types['php3'] = array('PHP Script', 'php.gif');
  $rm_types['php4'] = array('PHP Script', 'php.gif');
  $rm_types['php5'] = array('PHP Script', 'php.gif');
  $rm_types['phtml'] = array('PHP Script', 'php.gif');

  // Documents
  $rm_types['pdf'] = array('PDF Document', 'pdf.gif');
  $rm_types['doc'] = array('MS Word Document', 'word.gif');
  $rm_types['rtf'] = array('MS RTF Document', 'word.gif');
  $rm_types['xls'] = array('MS Excel Document', 'excel.gif');
  $rm_types['pps'] = array('MS PowerPoint Document', 'ppoint.gif');
  $rm_types['pot'] = array('MS PowerPoint Document', 'ppoint.gif');
  $rm_types['ppt'] = array('MS PowerPoint Document', 'ppoint.gif');
  $rm_types['ppz'] = array('MS PowerPoint Document', 'ppoint.gif');

  // Media
  $rm_types['mp3'] = array('MP3 Music File', 'audio.gif');
  $rm_types['wav'] = array('WAV Audio File', 'audio.gif');
  $rm_types['mid'] = array('MIDI Sequence', 'audio.gif');
  $rm_types['midi'] = array('MIDI Sequence', 'audio.gif');
  $rm_types['rmi'] = array('MIDI Sequence', 'audio.gif');
  $rm_types['au'] = array('AU Sound', 'audio.gif');
  $rm_types['snd'] = array('AU Sound', 'audio.gif');
  $rm_types['mpeg'] = array('MPEG Movie', 'video.gif');
  $rm_types['mpg'] = array('MPEG Movie', 'video.gif');
  $rm_types['mpe'] = array('MPEG Movie', 'video.gif');
  $rm_types['avi'] = array('AVI Movie', 'video.gif');
  $rm_types['wmv'] = array('Windows Media File', 'video.gif');

  // Binary
  $rm_types['exe'] = array('Application File', 'bin.gif');
  $rm_types['dll'] = array('Application Extension', 'bin.gif');
  $rm_types['so'] = array('Binary Library', 'bin.gif');

  // Unknown
  $rm_types['unknown'] = array('Unknown Format', 'unknown.gif');

?>
Return current item: Resources Manager