summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Sutcliffe <dansut@users.sourceforge.net>2010-01-27 20:16:47 +0000
committerDaniel Sutcliffe <dansut@users.sourceforge.net>2010-01-27 20:16:47 +0000
commit96f5f29e56c29f5039daa6c326fb6f51ac62d467 (patch)
treeb84d8067a73db3ef7f862ecbb612d6b084ebd8ee /templates
parent4f2d6b3379cd85ae2915fe1553651d75a3affbb7 (diff)
downloadthemes-96f5f29e56c29f5039daa6c326fb6f51ac62d467.tar.gz
themes-96f5f29e56c29f5039daa6c326fb6f51ac62d467.tar.bz2
themes-96f5f29e56c29f5039daa6c326fb6f51ac62d467.zip
new param for {bitmodule}, classplus, allowing additonal class(es) to be provided for encapsulating div
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 b1908c9..538ee03 100644
--- a/templates/module.tpl
+++ b/templates/module.tpl
@@ -1,4 +1,4 @@
-{* $Header: /cvsroot/bitweaver/_bit_themes/templates/module.tpl,v 1.11 2007/11/25 04:51:52 spiderr Exp $ *}
+{* $Header: /cvsroot/bitweaver/_bit_themes/templates/module.tpl,v 1.12 2010/01/27 20:16:47 dansut Exp $ *}
{strip}
{if empty($moduleArea)}
{if $moduleParams.layout_area == "l"}
@@ -16,7 +16,7 @@
{assign var=area value=$moduleArea}
{/if}
-<div class="module {$modInfo.name|replace:"_":"-"}" {if !empty($area)}id="{$area}{$moduleParams.pos}"{/if}>
+<div class="module{if !empty($modInfo.classplus)} {$modInfo.classplus}{/if} {$modInfo.name|replace:'_':'-'}" {if !empty($area)}id="{$area}{$moduleParams.pos}"{/if}>
{if $modInfo.title}
<h3>
{if $gBitSystem->isFeatureActive( 'themes_module_controls' )}