diff options
| author | spider <spider@bitweaver.org> | 2014-06-18 09:22:04 -0400 |
|---|---|---|
| committer | spider <spider@bitweaver.org> | 2014-06-18 09:22:04 -0400 |
| commit | 637801eac96bd4ed25a3ded0f76192b02a354353 (patch) | |
| tree | ce9f9673a71353cce7f97fc517be43eb158d29aa /templates | |
| parent | 95c1a9363b9453617900ebd6125c0e8b2e0aa256 (diff) | |
| download | themes-637801eac96bd4ed25a3ded0f76192b02a354353.tar.gz themes-637801eac96bd4ed25a3ded0f76192b02a354353.tar.bz2 themes-637801eac96bd4ed25a3ded0f76192b02a354353.zip | |
add notitle option to bitmodule, handle custom module titles
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/module.tpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/module.tpl b/templates/module.tpl index 36c6a33..6cc374d 100644 --- a/templates/module.tpl +++ b/templates/module.tpl @@ -16,7 +16,7 @@ {/if} <div class="panel panel-default module{if !empty($modInfo.class)} {$modInfo.class}{/if} {$modInfo.name|replace:'_':'-'}" {if !empty($area)}id="{$area}{$moduleParams.pos}"{/if}> - {if $moduleParams.title} + {if empty($modInfo.notitle)} <div class="panel-heading"> {if $gBitSystem->isFeatureActive( 'themes_module_controls' )} <div class="control"> @@ -30,9 +30,9 @@ {/if} {if $gBitSystem->isFeatureActive( 'themes_collapsible_modules' )}<a href="javascript:BitBase.toggle('module{$area}{$moduleParams.pos}','block',true);">{/if} {if $modInfo.notra} - {$moduleParams.title} + {$modInfo.title|default:$moduleParams.title} {else} - {tr}{$moduleParams.title}{/tr} + {tr}{$modInfo.title|default:$moduleParams.title}{/tr} {/if} {if $gBitSystem->isFeatureActive( 'themes_collapsible_modules' )}</a>{/if} </div> |
