Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-9940

filelib.php should be updated for new MS Office 2007 formats

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8
    • 1.8.3, 1.9
    • Resource
    • None
    • 'Microsoft' environment

    Description

      Office 2007 has introduced new file types for Word, PowerPoint and Excel i.e. docx, pptx, and xlsx.
      See discussion in http://moodle.org/mod/forum/discuss.php?d=71960#p321981

      get_mime_types_array() in /lib/filelib.php should be updated to include the following (or similar) lines:

      'docx' => array ('type'=>'application/msword', 'icon'=>'word.gif'),

      'pptx' => array ('type'=>'application/vnd.ms-powerpoint', 'icon'=>'powerpoint.gif'),

      'xlsx' => array ('type'=>'application/vnd.ms-excel', 'icon'=>'excel.gif'),

      Attachments

        Issue Links

          Activity

            People

              dougiamas Martin Dougiamas
              geoffr Geoffrey Rowland
              Nobody Nobody
              Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Oct/07