includes/constants.php
changeset 304 e2cb5f1432c8
parent 279 8acd77a6c19d
parent 293 3f98d4ba1e33
child 326 ab66d6d1f1f4
equal deleted inserted replaced
280:dc08c70ca550 304:e2cb5f1432c8
   294   'xsl'     => 'text/xml',
   294   'xsl'     => 'text/xml',
   295   'xslt'    => 'text/xml',
   295   'xslt'    => 'text/xml',
   296   'xwd'     => 'image/x-xwindowdump',
   296   'xwd'     => 'image/x-xwindowdump',
   297   'xyz'     => 'chemical/x-xyz',
   297   'xyz'     => 'chemical/x-xyz',
   298   'zip'     => 'application/zip',
   298   'zip'     => 'application/zip',
       
   299   'odt' => 'application/vnd.oasis.opendocument.text',
       
   300   'ott' => 'application/vnd.oasis.opendocument.text-template',
       
   301   'odg' => 'application/vnd.oasis.opendocument.graphics',
       
   302   'otg' => 'application/vnd.oasis.opendocument.graphics-template',
       
   303   'odp' => 'application/vnd.oasis.opendocument.presentation',
       
   304   'otp' => 'application/vnd.oasis.opendocument.presentation-template',
       
   305   'ods' => 'application/vnd.oasis.opendocument.spreadsheet',
       
   306   'ots' => 'application/vnd.oasis.opendocument.spreadsheet-template',
       
   307   'odc' => 'application/vnd.oasis.opendocument.chart',
       
   308   'otc' => 'application/vnd.oasis.opendocument.chart-template',
       
   309   'odi' => 'application/vnd.oasis.opendocument.image',
       
   310   'oti' => 'application/vnd.oasis.opendocument.image-template',
       
   311   'odf' => 'application/vnd.oasis.opendocument.formula',
       
   312   'otf' => 'application/vnd.oasis.opendocument.formula-template',
       
   313   'odm' => 'application/vnd.oasis.opendocument.text-master',
       
   314   'oth' => 'application/vnd.oasis.opendocument.text-web'
   299 );
   315 );
   300 
   316 
   301 $mimetype_extlist = Array(
   317 $mimetype_extlist = Array(
   302   'application/andrew-inset'=>'ez',
   318   'application/andrew-inset'=>'ez',
   303   'application/mac-binhex40'=>'hqx',
   319   'application/mac-binhex40'=>'hqx',
   416   'video/x-ogg'=>'ogm ogg',
   432   'video/x-ogg'=>'ogm ogg',
   417   'video/x-sgi-movie'=>'movie',
   433   'video/x-sgi-movie'=>'movie',
   418   'x-conference/x-cooltalk'=>'ice',
   434   'x-conference/x-cooltalk'=>'ice',
   419   // Added for Enano
   435   // Added for Enano
   420   'image/xcf' => 'xcf xcfbz2 xcf.bz2',
   436   'image/xcf' => 'xcf xcfbz2 xcf.bz2',
       
   437   'application/vnd.oasis.opendocument.text' => 'odt',
       
   438   'application/vnd.oasis.opendocument.text-template' => 'ott',
       
   439   'application/vnd.oasis.opendocument.graphics' => 'odg',
       
   440   'application/vnd.oasis.opendocument.graphics-template' => 'otg',
       
   441   'application/vnd.oasis.opendocument.presentation' => 'odp',
       
   442   'application/vnd.oasis.opendocument.presentation-template' => 'otp',
       
   443   'application/vnd.oasis.opendocument.spreadsheet' => 'ods',
       
   444   'application/vnd.oasis.opendocument.spreadsheet-template' => 'ots',
       
   445   'application/vnd.oasis.opendocument.chart' => 'odc',
       
   446   'application/vnd.oasis.opendocument.chart-template' => 'otc',
       
   447   'application/vnd.oasis.opendocument.image' => 'odi',
       
   448   'application/vnd.oasis.opendocument.image-template' => 'oti',
       
   449   'application/vnd.oasis.opendocument.formula' => 'odf',
       
   450   'application/vnd.oasis.opendocument.formula-template' => 'otf',
       
   451   'application/vnd.oasis.opendocument.text-master' => 'odm',
       
   452   'application/vnd.oasis.opendocument.text-web' => 'oth'
   421 );
   453 );
   422 
   454 
   423 $k = array_keys($mime_types);
   455 $k = array_keys($mime_types);
   424 $mimetype_exps = Array();
   456 $mimetype_exps = Array();
   425 foreach($k as $s => $x)
   457 foreach($k as $s => $x)