From 2425229c886566f30e3af7bb7bcf843401e08229 Mon Sep 17 00:00:00 2001 From: David Balch Date: Mon, 2 Jul 2012 14:25:56 +0800 Subject: [PATCH] MDL-34063 XHTML files should use the HTML icon, not the markup icon --- lib/filelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/filelib.php b/lib/filelib.php index f1e44f3262e..fd6b23dc129 100644 --- a/lib/filelib.php +++ b/lib/filelib.php @@ -1418,7 +1418,7 @@ function &get_mimetypes_array() { 'hqx' => array ('type'=>'application/mac-binhex40', 'icon'=>'archive', 'groups'=>array('archive'), 'string'=>'archive'), 'htc' => array ('type'=>'text/x-component', 'icon'=>'markup'), 'html' => array ('type'=>'text/html', 'icon'=>'html', 'groups'=>array('web_file')), - 'xhtml'=> array ('type'=>'application/xhtml+xml', 'icon'=>'markup', 'groups'=>array('web_file')), + 'xhtml'=> array ('type'=>'application/xhtml+xml', 'icon'=>'html', 'groups'=>array('web_file')), 'htm' => array ('type'=>'text/html', 'icon'=>'html', 'groups'=>array('web_file')), 'ico' => array ('type'=>'image/vnd.microsoft.icon', 'icon'=>'image', 'groups'=>array('image'), 'string'=>'image'), 'ics' => array ('type'=>'text/calendar', 'icon'=>'text'),