Commit 32da2ce4 authored by Boris Kocherov's avatar Boris Kocherov

support png,html,css

parent b74bb6d9
......@@ -382,6 +382,7 @@
switch (ext) {
case "template":
case "html":
case "htm":
path = "web_page_module";
xmldoc.portal_type = "Web Page";
xmldoc.content_type = "text/html";
......@@ -391,12 +392,18 @@
xmldoc.portal_type = "Web Script";
xmldoc.content_type = "text/javascript";
break;
case "css":
path = "web_page_module";
xmldoc.portal_type = "Web Style";
xmldoc.content_type = "text/css";
break;
case "appcache":
path = "web_page_module";
xmldoc.portal_type = "Web Manifest";
xmldoc.content_type = "application/json";
xmldoc.text_content = id;
break;
case "png":
case "gif":
case "jpg":
path = "image_module";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment