diff options
| author | Christian Fowler <spider@viovio.com> | 2010-02-10 19:33:07 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2010-02-10 19:33:07 +0000 |
| commit | e67949e14b7b0830f3d8d2f33b8ef34c5532b918 (patch) | |
| tree | 8ac638f69ae07bea9c44dc22d97c69208b0a5a50 /templates | |
| parent | 0d32bec6dddda6ce357ce9f0de9d47871c98bfda (diff) | |
| download | themes-e67949e14b7b0830f3d8d2f33b8ef34c5532b918.tar.gz themes-e67949e14b7b0830f3d8d2f33b8ef34c5532b918.tar.bz2 themes-e67949e14b7b0830f3d8d2f33b8ef34c5532b918.zip | |
update javascript to use BitBase namespace
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/admin_layout_inc.tpl | 2 | ||||
| -rw-r--r-- | templates/module.tpl | 4 | ||||
| -rw-r--r-- | templates/module_config_inc.tpl | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/templates/admin_layout_inc.tpl b/templates/admin_layout_inc.tpl index 0e42092..276e0e2 100644 --- a/templates/admin_layout_inc.tpl +++ b/templates/admin_layout_inc.tpl @@ -44,7 +44,7 @@ {formhelp note="List of available modules and their parameters. If a module is not listed, it might not take any parameters." page="ModuleParameters"} <noscript><div>{smartlink ititle="Expand Help" page=$page expand_all=1}</div></noscript> {foreach from=$allModulesHelp key=package item=help} - <h2><a href="javascript:flip('id{$package}')">{$package}</a></h2> + <h2><a href="javascript:BitBase.toggleElementDisplay('id{$package}','block')">{$package}</a></h2> <div class="modulehelp" id="id{$package}" {if !$smarty.request.expand_all}style="display:none;"{/if}> {foreach from=$help key=file item=module} <h3>{$module.title|capitalize}</h3> diff --git a/templates/module.tpl b/templates/module.tpl index 538ee03..2dd0c69 100644 --- a/templates/module.tpl +++ b/templates/module.tpl @@ -1,4 +1,4 @@ -{* $Header: /cvsroot/bitweaver/_bit_themes/templates/module.tpl,v 1.12 2010/01/27 20:16:47 dansut Exp $ *} +{* $Header: /cvsroot/bitweaver/_bit_themes/templates/module.tpl,v 1.13 2010/02/10 19:33:07 spiderr Exp $ *} {strip} {if empty($moduleArea)} {if $moduleParams.layout_area == "l"} @@ -29,7 +29,7 @@ {biticon ipackage=liberty iname="move_left_right" iexplain="move left right"}</a> </div> {/if} - {if $gBitSystem->isFeatureActive( 'themes_collapsible_modules' )}<a href="javascript:toggle('module{$area}{$moduleParams.pos}');">{/if} + {if $gBitSystem->isFeatureActive( 'themes_collapsible_modules' )}<a href="javascript:BitBase.toggle('module{$area}{$moduleParams.pos}','block',true);">{/if} {if $modInfo.notra} {$modInfo.title} {else} diff --git a/templates/module_config_inc.tpl b/templates/module_config_inc.tpl index ed973e0..2c3f8fb 100644 --- a/templates/module_config_inc.tpl +++ b/templates/module_config_inc.tpl @@ -19,7 +19,7 @@ {strip} <h3> - {if !$smarty.request.nocollapse && !$condensed && $gBitThemes->isJavascriptEnabled()}<a href="javascript:flipWithSign('id-{$modInfo.module_id}');"><span id="flipperid-{$modInfo.module_id}" class="monospace">[+]</span> {/if} + {if !$smarty.request.nocollapse && !$condensed && $gBitThemes->isJavascriptEnabled()}<a href="javascript:BitBase.flipWithSign('id-{$modInfo.module_id}');"><span id="flipperid-{$modInfo.module_id}" class="monospace">[+]</span> {/if} {$modInfo.name} <input type="hidden" name="modules[{$modInfo.module_id}][layout_area]" value="{$area}" /> <input type="hidden" name="modules[{$modInfo.module_id}][layout]" value="{$module_package}" /> |
