diff options
| author | spiderr <spider@viovio.com> | 2013-04-06 16:17:47 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2013-04-06 16:17:47 -0400 |
| commit | 8eca82d070d2883cfbca9467b7d22b26fc13552e (patch) | |
| tree | 7887faac9d35c3445c352b236dcd813e555eee9c /templates | |
| parent | cf52453c708b44f9b7fc938554c90f8a705fa957 (diff) | |
| download | boards-8eca82d070d2883cfbca9467b7d22b26fc13552e.tar.gz boards-8eca82d070d2883cfbca9467b7d22b26fc13552e.tar.bz2 boards-8eca82d070d2883cfbca9467b7d22b26fc13552e.zip | |
major clean up for Smarty 3.0 and another pass at cleaning the top menus
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/admin_boards.tpl | 12 | ||||
| -rw-r--r-- | templates/menu_boards.tpl | 3 | ||||
| -rw-r--r-- | templates/user_preferences_inc.tpl | 2 |
3 files changed, 9 insertions, 8 deletions
diff --git a/templates/admin_boards.tpl b/templates/admin_boards.tpl index 165b30e..5aa5278 100644 --- a/templates/admin_boards.tpl +++ b/templates/admin_boards.tpl @@ -25,10 +25,10 @@ <input type="hidden" name="page" value="{$page}" /> {foreach from=$formBitBoardsLists key=item item=output} <div class="control-group"> - {formlabel label=`$output.label` for=$item} + {formlabel label=$output.label for=$item} {forminput} {html_checkboxes name="$item" values="y" checked=$gBitSystem->getConfig($item) labels=false id=$item} - {formhelp note=`$output.note` page=`$output.page`} + {formhelp note=$output.note page=$output.page} {/forminput} </div> {/foreach} @@ -43,10 +43,10 @@ </div> {foreach from=$formBitBoardsSync key=item item=output} <div class="control-group"> - {formlabel label=`$output.label` for=$item} + {formlabel label=$output.label for=$item} {forminput} <input type="text" name="{$item}" value="{$gBitSystem->getConfig($item)}" id={$item}" /> - {formhelp note=`$output.note` page=`$output.page`} + {formhelp note=$output.note page=$output.page} {/forminput} </div> {/foreach} @@ -66,10 +66,10 @@ {foreach from=$formGroupEmailList key=item item=output} <div class="control-group"> - {formlabel label=`$output.label` for=$item} + {formlabel label=$output.label for=$item} {forminput} {html_checkboxes name="$item" values="y" checked=$gBitSystem->getConfig($item) labels=false id=$item} - {formhelp note=`$output.note` page=`$output.page`} + {formhelp note=$output.note page=$output.page} {/forminput} </div> {/foreach} diff --git a/templates/menu_boards.tpl b/templates/menu_boards.tpl index 6858176..384980a 100644 --- a/templates/menu_boards.tpl +++ b/templates/menu_boards.tpl @@ -1,5 +1,6 @@ {strip} - <ul> + <a class="dropdown-toggle" data-toggle="dropdown" href="#"> {tr}{$packageMenuTitle}{/tr} <b class="caret"></b></a> +<ul class="{$packageMenuClass}"> {if $gBitUser->hasPermission( 'p_boards_read')} <li><a class="item" href="{$smarty.const.BOARDS_PKG_URL}index.php">{booticon iname="icon-home" ipackage="icons" iexplain="Boards Home" ilocation=menu}</a></li> {/if} diff --git a/templates/user_preferences_inc.tpl b/templates/user_preferences_inc.tpl index 6b90cd5..c41776e 100644 --- a/templates/user_preferences_inc.tpl +++ b/templates/user_preferences_inc.tpl @@ -20,7 +20,7 @@ {else} <input type="checkbox" name="boards[{$option}]" {if $value=='y'}checked="checked"{/if} value="y" id="boards[{$option}]" /> {/if} - {formhelp note=`$output.note` page=`$output.page` link=`$output.link`} + {formhelp note=$output.note page=$output.page link=$output.link} {/forminput} </div> {/foreach} |
