diff options
| author | Christian Fowler <spider@viovio.com> | 2011-03-16 19:00:53 -0400 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2011-03-16 19:00:53 -0400 |
| commit | d731d86d299b4001b0ad34e5357717366cf1986c (patch) | |
| tree | 72454134e08c9799528c0fa5c76f5b6a3d2be2ad /templates | |
| parent | d862f8f9f5912aa2d20ef4ad069a8c33376eddf4 (diff) | |
| download | themes-d731d86d299b4001b0ad34e5357717366cf1986c.tar.gz themes-d731d86d299b4001b0ad34e5357717366cf1986c.tar.bz2 themes-d731d86d299b4001b0ad34e5357717366cf1986c.zip | |
fix module layout variable collision
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/admin_layout.tpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/admin_layout.tpl b/templates/admin_layout.tpl index d6690ea..e7fd919 100644 --- a/templates/admin_layout.tpl +++ b/templates/admin_layout.tpl @@ -7,12 +7,12 @@ {formlabel label="Customized layout" for="module_package"} {forminput} <select name="module_package" id="module_package" onchange="this.form.submit();"> - {foreach key=layoutName item=layout from=$gBitThemes->getAllLayouts()} + {foreach key=layoutName item=layoutDisplay from=$layoutList} <option value="{$layoutName}" {if $module_package == $layoutName}selected="selected"{/if}> {if $layoutName eq 'kernel'} {tr}Site Default{/tr} {else} - {tr}{$layoutName|capitalize}{/tr} + {tr}{$layoutDisplay|capitalize}{/tr} {/if} </option> {/foreach} @@ -66,10 +66,10 @@ <tr> <th>{tr}{$colkey} area{/tr}</th> </tr> - {section name=ix loop=$layout.$area} + {section name=ix loop=$editLayout.$area} <tr> <td> - {include file="bitpackage:themes/module_config_inc.tpl" modInfo=$layout.$area[ix] condensed=1} + {include file="bitpackage:themes/module_config_inc.tpl" modInfo=$editLayout.$area[ix] condensed=1} </td> </tr> {sectionelse} |
