diff options
| author | Christian Fowler <spider@viovio.com> | 2009-07-04 03:14:23 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2009-07-04 03:14:23 +0000 |
| commit | 5626fe5e08fd32121157fe549af8a77af3f3f389 (patch) | |
| tree | e3ea655e6cc473cc6e98c255e785f6587c4591b0 /templates | |
| parent | a8b3ef6c4d046e92f935999a2eaff2b173ccdb39 (diff) | |
| download | themes-5626fe5e08fd32121157fe549af8a77af3f3f389.tar.gz themes-5626fe5e08fd32121157fe549af8a77af3f3f389.tar.bz2 themes-5626fe5e08fd32121157fe549af8a77af3f3f389.zip | |
add options to control themes_use_msie_js_fix - which version of IE to support, if at all
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/admin_themes.tpl | 14 | ||||
| -rw-r--r-- | templates/header_inc.tpl | 8 |
2 files changed, 14 insertions, 8 deletions
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"} <input type="hidden" name="page" value="{$page}" /> @@ -11,10 +11,18 @@ </div> <div class="row"> - {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} + </div> + + <div class="row"> + {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} </div> 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} <link rel="stylesheet" title="{$style}" type="text/css" href="{$cssFile}" media="all" /> @@ -8,8 +8,6 @@ {/if} {/strip} -{if $gBrowserInfo.browser eq 'ie'} - {if $gBrowserInfo.maj_ver lt '8'} - <script type="text/javascript" src="{$smarty.const.UTIL_PKG_URL}javascript/fixes/ie7/IE8.js"></script> - {/if} +{if $gBrowserInfo.browser eq 'ie' && $gBitSystem->getConfig('themes_use_msie_js_fix') && $gBrowserInfo.maj_ver lt '8'} + <script type="text/javascript" src="{$smarty.const.UTIL_PKG_URL}javascript/fixes/ie7/IE{$gBitSystem->getConfig('themes_use_msie_js_fix')}.js"></script> {/if} |
