summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorspiderr <spiderr@bitweaver.org>2018-09-06 00:18:27 -0400
committerspiderr <spiderr@bitweaver.org>2018-09-06 00:18:27 -0400
commite2ad5a8e8fee1314498bab52ed62afd69a0184fa (patch)
treebd92278992455fd0ef1bb0f807430f4cc4b1e211 /templates
parent1ee986f86c90b93bbcf6b00d287df4810e7f47db (diff)
downloadthemes-e2ad5a8e8fee1314498bab52ed62afd69a0184fa.tar.gz
themes-e2ad5a8e8fee1314498bab52ed62afd69a0184fa.tar.bz2
themes-e2ad5a8e8fee1314498bab52ed62afd69a0184fa.zip
allow setting of module tag as a parameter for easy use of <nav> and similar
Diffstat (limited to 'templates')
-rw-r--r--templates/module.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/module.tpl b/templates/module.tpl
index 6cc374d..d478d66 100644
--- a/templates/module.tpl
+++ b/templates/module.tpl
@@ -15,7 +15,7 @@
{assign var=area value=$moduleArea}
{/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}>
+<{$moduleTag} class="panel panel-default module{if !empty($modInfo.class)} {$modInfo.class}{/if} {$modInfo.name|replace:'_':'-'}" {if !empty($area)}id="{$area}{$moduleParams.pos}"{/if}>
{if empty($modInfo.notitle)}
<div class="panel-heading">
{if $gBitSystem->isFeatureActive( 'themes_module_controls' )}
@@ -40,5 +40,5 @@
<div class="panel-body"{if $gBitSystem->isFeatureActive( 'themes_collapsible_modules' )} style="display:{$moduleParams.toggle_state|default:block};" id="module{$area}{$moduleParams.pos}"{/if}>
{$modInfo.data}
</div>
-</div>
+</{$moduleTag}>
{/strip}