summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-04-02 21:17:15 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-04-02 21:17:15 +0000
commit63de5c797823b9319c8da567a08faaca68d222ea (patch)
tree194c10ae4d166973847e611974a9baa13156114d /templates
parentf7e395afef65e8f2e25edc1c453aa0c78776ca5c (diff)
downloadthemes-63de5c797823b9319c8da567a08faaca68d222ea.tar.gz
themes-63de5c797823b9319c8da567a08faaca68d222ea.tar.bz2
themes-63de5c797823b9319c8da567a08faaca68d222ea.zip
move module.tpl from kernel to themes
Diffstat (limited to 'templates')
-rw-r--r--templates/module.tpl27
1 files changed, 27 insertions, 0 deletions
diff --git a/templates/module.tpl b/templates/module.tpl
new file mode 100644
index 0000000..eaca0d5
--- /dev/null
+++ b/templates/module.tpl
@@ -0,0 +1,27 @@
+{* $Header: /cvsroot/bitweaver/_bit_themes/templates/module.tpl,v 1.1 2007/04/02 21:17:15 squareing Exp $ *}
+{strip}
+<div class="module box {$modInfo.name}">
+ {if $moduleParams.title}
+ <h3>
+ {if $gBitSystem->isFeatureActive( 'themes_module_controls' )}
+ <div class="control">
+ <a title="{tr}Move module up{/tr}" href="{$smarty.const.KERNEL_PKG_URL}module_controls_inc.php?fMove=up&fPackage={$module_layout}&fModule={$module_id}">
+ {biticon ipackage=liberty iname="move_up" iexplain="up"}</a>
+ <a title="{tr}Move module down{/tr}" href="{$smarty.const.KERNEL_PKG_URL}module_controls_inc.php?fMove=down&fPackage={$module_layout}&fModule={$module_id}">
+ {biticon ipackage=liberty iname="move_down" iexplain="down"}</a>
+ <a title="{tr}Move module to opposite side{/tr}" href="{$smarty.const.KERNEL_PKG_URL}module_controls_inc.php?fMove={$colkey}&fPackage={$module_layout}&fModule={$module_id}">
+ {biticon ipackage=liberty iname="move_left_right" iexplain="move left right"}</a>
+ <a title="{tr}Unassign this module{/tr}" href="{$smarty.const.KERNEL_PKG_URL}module_controls_inc.php?fMove=unassign&fPackage={$module_layout}&fModule={$module_id}" onclick="return confirm('{tr}Are you sure you want to unassign this module?{/tr}')">
+ {biticon ipackage="icons" iname="edit-delete" iexplain="remove"}</a>
+ </div>
+ {/if}
+ {if $gBitSystem->isFeatureActive( 'themes_collapsible_modules' )}<a href="javascript:toggle('{$modInfo.name}');">{/if}
+ {tr}{$moduleParams.title}{/tr}
+ {if $gBitSystem->isFeatureActive( 'themes_collapsible_modules' )}</a>{/if}
+ </h3>
+ {/if}
+ <div class="boxcontent" id="{$modInfo.module_name}"{if $gBitSystem->isFeatureActive( 'themes_collapsible_modules' )} style="display:{$modInfo.toggle_state};"{/if}>
+ {$modInfo.data}
+ </div>
+</div>
+{/strip}