diff --git a/source/java/org/alfresco/web/ui/repo/tag/PageTag.java b/source/java/org/alfresco/web/ui/repo/tag/PageTag.java index 90d77c4a96..2540f1a5a0 100644 --- a/source/java/org/alfresco/web/ui/repo/tag/PageTag.java +++ b/source/java/org/alfresco/web/ui/repo/tag/PageTag.java @@ -48,6 +48,8 @@ public class PageTag extends TagSupport private final static String SCRIPTS_END = "\">\n"; private final static String STYLES_START = "\n"; + private final static String IE6COND_START = "\n"; private final static String[] SCRIPTS = { @@ -77,6 +79,11 @@ public class PageTag extends TagSupport "/css/picker.css" }; + private final static String[] IE6COND_CSS = + { + "/css/ie6.css" + }; + /** * Please ensure you understand the terms of the license before changing the contents of this file. */ @@ -235,6 +242,17 @@ public class PageTag extends TagSupport out.write(STYLES_MAIN); } + // IE6COND_CSS style includes + out.write(IE6COND_START); + for (final String ie6cond_css : PageTag.IE6COND_CSS) + { + out.write(STYLES_START); + out.write(reqPath); + out.write(ie6cond_css); + out.write(STYLES_MAIN); + } + out.write(IE6COND_END); + // JavaScript includes for (final String s : PageTag.SCRIPTS) { diff --git a/source/web/css/ie6.css b/source/web/css/ie6.css new file mode 100644 index 0000000000..bfa2999557 --- /dev/null +++ b/source/web/css/ie6.css @@ -0,0 +1,8 @@ +/* IE6 Fixes */ + +/* + *** .png fix + */ +img { + behavior: url(/alfresco/scripts/iepngfix.htc) +} diff --git a/source/web/images/parts/blank.gif b/source/web/images/parts/blank.gif new file mode 100644 index 0000000000..75b945d255 Binary files /dev/null and b/source/web/images/parts/blank.gif differ diff --git a/source/web/scripts/iepngfix.htc b/source/web/scripts/iepngfix.htc new file mode 100644 index 0000000000..858f207d33 --- /dev/null +++ b/source/web/scripts/iepngfix.htc @@ -0,0 +1,103 @@ + + + + + \ No newline at end of file