[*] BO : #PSFV-94 - added AdminTaxesController + HelperList improvements

This commit is contained in:
tDidierjean
2011-11-03 13:53:42 +00:00
parent 5647b43be3
commit 22b223f304
6 changed files with 265 additions and 227 deletions
@@ -24,7 +24,7 @@
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file="../options.tpl"}
{extends file="helper/options/options.tpl"}
{block name="start_field_block"}
{if $field['type'] == 'checkbox_table'}
<div class="margin-form" style="float: left; padding-left: 0; width: 317px; margin-top: 6px; height: 300px; overflow-y: auto;">
@@ -30,19 +30,11 @@
{if $index is odd}class="alt_row"{/if}
{if isset($tr.color) && $color_on_bg}style="background-color: {$tr.color}"{/if}
>
<td class="center">
{if $bulk_actions}
{assign var=bulkActionPossible value=true}
{foreach $list_skip_actions as $key => $value}
{if in_array($tr.$identifier, $value) == true}
{assign var=bulkActionPossible value=false}
{/if}
{/foreach}
{if $bulkActionPossible == true}
<input type="checkbox" name="{$table}Box[]" value="{$tr.$identifier}" class="noborder" />
{/if}
{/if}
</td>
{if isset($tr.has_bulk_actions) && $tr.has_bulk_actions}
<td class="center">
<input type="checkbox" name="{$table}Box[]" value="{$tr.$identifier}" class="noborder" />
</td>
{/if}
{foreach $fields_display AS $key => $params}
<td
{if isset($params.position)}
@@ -106,7 +106,7 @@
<thead>
<tr class="nodrag nodrop">
<th style="width:10px;">
{if $delete}
{if $has_bulk_actions}
<input type="checkbox" name="checkme" class="noborder" onclick="checkDelBoxes(this.form, '{$table}Box[]', this.checked)" />
{/if}
</th>