diff options
| -rw-r--r-- | smartyplugins/function.formlabel.php | 6 | ||||
| -rw-r--r-- | templates/admin_custom_modules.tpl | 2 | ||||
| -rw-r--r-- | templates/admin_layout.tpl | 7 | ||||
| -rw-r--r-- | templates/icon_browser.tpl | 2 | ||||
| -rw-r--r-- | templates/module_config_inc.tpl | 2 | ||||
| -rw-r--r-- | templates/module_config_role_inc.tpl | 2 | ||||
| -rw-r--r-- | templates/theme_control.tpl | 2 | ||||
| -rw-r--r-- | templates/theme_control_objects.tpl | 2 | ||||
| -rw-r--r-- | templates/theme_control_sections.tpl | 2 |
9 files changed, 13 insertions, 14 deletions
diff --git a/smartyplugins/function.formlabel.php b/smartyplugins/function.formlabel.php index f4dab43..af6e4f5 100644 --- a/smartyplugins/function.formlabel.php +++ b/smartyplugins/function.formlabel.php @@ -16,7 +16,7 @@ */ function smarty_function_formlabel( $params,&$gBitSmarty ) { $atts = ''; - $class = 'control-label '; + $class = 'control-label'; foreach($params as $key => $val) { switch( $key ) { case 'label': @@ -25,7 +25,7 @@ function smarty_function_formlabel( $params,&$gBitSmarty ) { case 'mandatory': $mandatory = true; case 'class': - $class .= $val; + $class .= ' '.$val; default: if( $val ) { $atts .= ' '.$key.'="'.$val.'"'; @@ -40,7 +40,7 @@ function smarty_function_formlabel( $params,&$gBitSmarty ) { if( $atts != '' ) { $html .= $atts; } - $html .= '">'; + $html .= '>'; if( empty( $params['no_translate'] ) ) { $html .= tra( $name ); } else { diff --git a/templates/admin_custom_modules.tpl b/templates/admin_custom_modules.tpl index 83f22e5..07bd16f 100644 --- a/templates/admin_custom_modules.tpl +++ b/templates/admin_custom_modules.tpl @@ -43,7 +43,7 @@ </div> {/form} -<table class="data"> +<table class="table data"> <caption>{tr}Custom Modules{/tr}</caption> <tr> <th>{tr}Name{/tr}</th> diff --git a/templates/admin_layout.tpl b/templates/admin_layout.tpl index 6290f1b..cd1f3ec 100644 --- a/templates/admin_layout.tpl +++ b/templates/admin_layout.tpl @@ -230,11 +230,10 @@ </div> <div class="control-group"> - {formlabel label="Add to all Layouts" for="add_to_all"} - {forminput} - <input type="checkbox" value="y" id="add_to_all" name="fAssign[add_to_all]" /> + <label class="checkbox"> + <input type="checkbox" value="y" id="add_to_all" name="fAssign[add_to_all]" />Add to all Layouts {formhelp note="If you check this, the module will be added to all custom layouts."} - {/forminput} + </label> </div> <div class="control-group submit"> diff --git a/templates/icon_browser.tpl b/templates/icon_browser.tpl index ebc877c..79e4496 100644 --- a/templates/icon_browser.tpl +++ b/templates/icon_browser.tpl @@ -9,7 +9,7 @@ {tr}These are the icons available in a standard set of icons. Icons from the Tango icon style are displayed here since this is the default style and should be used as refernce. Both sizes <em>large</em> and <em>small</em> are displayed side by side.{/tr}<br /> Please view the <a class="external" href="http://tango.freedesktop.org/Tango_Icon_Gallery">Tango icon gallery</a> for the originally designated uses of the icons. </p> - <table class="data"> + <table class="table data"> <tr> {foreach from=$iconList item=icons key=iconStyle} <th class="width1p" colspan="3"><a href="{$smarty.request.SCRIPT_NAME}?icon_style={$iconStyle}">{$iconStyle}</a></th> diff --git a/templates/module_config_inc.tpl b/templates/module_config_inc.tpl index 00f7c35..803cb99 100644 --- a/templates/module_config_inc.tpl +++ b/templates/module_config_inc.tpl @@ -28,7 +28,7 @@ {if !$condensed} {if !$smarty.request.nocollapse && $gBitThemes->isJavascriptEnabled()}<div id="id-{$modInfo.module_id}" style="display:none;">{/if} - <table class="data"> + <table class="table data"> <tr> <td class="alignright">{tr}Position{/tr}</td> <td> diff --git a/templates/module_config_role_inc.tpl b/templates/module_config_role_inc.tpl index abf98f4..3063434 100644 --- a/templates/module_config_role_inc.tpl +++ b/templates/module_config_role_inc.tpl @@ -30,7 +30,7 @@ {if !$condensed} {if !$smarty.request.nocollapse && $gBitThemes->isJavascriptEnabled()}<div id="id-{$modInfo.module_id}" style="display:none;">{/if} - <table class="data"> + <table class="table data"> <tr> <td class="alignright">{tr}Position{/tr}</td> <td> diff --git a/templates/theme_control.tpl b/templates/theme_control.tpl index 6761b60..6a575ac 100644 --- a/templates/theme_control.tpl +++ b/templates/theme_control.tpl @@ -63,7 +63,7 @@ <form action="{$smarty.const.THEMES_PKG_URL}theme_control.php" method="post"> -<table class="data"> +<table class="table data"> <tr> <th> </th> <th><a href="{$smarty.const.THEMES_PKG_URL}theme_control.php?offset={$offset}&sort_mode={if $sort_mode eq 'name_desc'}name_asc{else}name_desc{/if}">{tr}category{/tr}</a></th> diff --git a/templates/theme_control_objects.tpl b/templates/theme_control_objects.tpl index 5ecf318..918e49a 100644 --- a/templates/theme_control_objects.tpl +++ b/templates/theme_control_objects.tpl @@ -74,7 +74,7 @@ <input type="hidden" name="type" value="{$type|escape}" /> -<table class="data"> +<table class="table data"> <tr> <th> </th> <th><a href="{$smarty.const.THEMES_PKG_URL}theme_control_objects.php?offset={$offset}&sort_mode={if $sort_mode eq 'type_desc'}type_asc{else}type_desc{/if}">{tr}type{/tr}</a></th> diff --git a/templates/theme_control_sections.tpl b/templates/theme_control_sections.tpl index 614a5d6..a865d7b 100644 --- a/templates/theme_control_sections.tpl +++ b/templates/theme_control_sections.tpl @@ -49,7 +49,7 @@ <h2>{tr}Assigned sections{/tr}</h2> <form action="{$smarty.const.THEMES_PKG_URL}theme_control_sections.php" method="post"> -<table class="data"> +<table class="table data"> <tr> <th> </th> <th><a href="{$smarty.const.THEMES_PKG_URL}theme_control_sections.php?offset={$offset}&sort_mode={if $sort_mode eq 'section_desc'}section_asc{else}section_desc{/if}">{tr}section{/tr}</a></th> |
