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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8.3, 1.9
    • Component/s: Resource
    • Labels:
      None
    • Environment:
      '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

              • Assignee:
                dougiamas Martin Dougiamas
                Reporter:
                geoffr Geoffrey Rowland
                Tester:
                Nobody
                Participants:
                Component watchers:
                Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                4 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Oct/07