From 5626fe5e08fd32121157fe549af8a77af3f3f389 Mon Sep 17 00:00:00 2001 From: Christian Fowler Date: Sat, 4 Jul 2009 03:14:23 +0000 Subject: add options to control themes_use_msie_js_fix - which version of IE to support, if at all --- templates/admin_themes.tpl | 14 +++++++++++--- templates/header_inc.tpl | 8 +++----- 2 files changed, 14 insertions(+), 8 deletions(-) (limited to 'templates') diff --git a/templates/admin_themes.tpl b/templates/admin_themes.tpl index 24c22c4..8479e5b 100644 --- a/templates/admin_themes.tpl +++ b/templates/admin_themes.tpl @@ -1,4 +1,4 @@ -{* $Header: /cvsroot/bitweaver/_bit_themes/templates/admin_themes.tpl,v 1.3 2007/06/25 07:53:39 squareing Exp $ *} +{* $Header: /cvsroot/bitweaver/_bit_themes/templates/admin_themes.tpl,v 1.4 2009/07/04 03:14:23 spiderr Exp $ *} {strip} {form legend="Theme Settings"} @@ -11,10 +11,18 @@
- {formlabel label="Set default Icon size" for="site_icon_size"} + {formlabel label="Default Icon Size" for="site_icon_size"} {forminput} {html_options name="site_icon_size" id="site_icon_size" options=$biticon_sizes selected=$gBitSystem->getConfig('site_icon_size')} - {formhelp note="Pick the icon size you wish to use on your site. Please note that if the icon does not exist in the requested size, it will use the small one instead."} + {formhelp note="pick the icon size you wish to use on your site. please note that if the icon does not exist in the requested size, it will use the small one instead."} + {/forminput} +
+ +
+ {formlabel label="Use IE js fix" for="themes_use_msie_js_fix"} + {forminput} + {html_options name="themes_use_msie_js_fix" id="themes_use_msie_js_fix" options=$ieFixOptions selected=$gBitSystem->getConfig('themes_use_msie_js_fix')} + {formhelp note="A Javascript library to make Microsoft's Internet Explorer behave like a standards-compliant browser. It fixes many HTML and CSS issues and makes transparent PNG work correctly under IE7 and older. It is also needed for CSS driven dropdown menus. It does cause some delay on every page load."} {/forminput}
diff --git a/templates/header_inc.tpl b/templates/header_inc.tpl index b17ce01..9d9a3b4 100644 --- a/templates/header_inc.tpl +++ b/templates/header_inc.tpl @@ -1,4 +1,4 @@ -{* $Header: /cvsroot/bitweaver/_bit_themes/templates/header_inc.tpl,v 1.53 2009/05/29 06:55:06 lsces Exp $ *} +{* $Header: /cvsroot/bitweaver/_bit_themes/templates/header_inc.tpl,v 1.54 2009/07/04 03:14:23 spiderr Exp $ *} {strip} {foreach from=$gBitThemes->mRawFiles.css item=cssFile} @@ -8,8 +8,6 @@ {/if} {/strip} -{if $gBrowserInfo.browser eq 'ie'} - {if $gBrowserInfo.maj_ver lt '8'} - - {/if} +{if $gBrowserInfo.browser eq 'ie' && $gBitSystem->getConfig('themes_use_msie_js_fix') && $gBrowserInfo.maj_ver lt '8'} + {/if} -- cgit v1.3