Ignore:
Timestamp:
Mar 12, 2014, 11:28:47 PM (10 years ago)
Author:
Miklfe
Message:

Version de lancement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/MyPiwiShop/admin/template/MyPiwiShopBatchUnit.tpl

    r27568 r27743  
    1919
    2020
    21 {foreach from=$mps_productcheck key=key item=products name=product}
    22 {if $key == $imgid}
    2321<br></br>
    2422
     
    3937        </tread>
    4038        <tbody>
    41         {foreach from=$products item=product name=product}
     39        {foreach from=$mps_products item=product name=product}
    4240                <tr class="{if $smarty.foreach.product.index is odd}row1{else}row2{/if}">
    43                         <td><input type="checkbox" name="productcheck[]" value={$product.id} {if $product.check == 'true'}checked{/if}></td>
     41                        <td><input type="checkbox" name="productcheck[]" value={$product.id}
     42                        {foreach from=$mps_productcheck  item=prodcheck name=prodcheck} {if $prodcheck.id == $imgid && $prodcheck.product_id == $product.id}checked{/if}{/foreach}></td>
    4443                        <td>{$product.product} </td>
    4544                        <td>{$product.noteAdmin}</td>
     
    6766</div>
    6867
    69 {/if}
    70 {/foreach}
Note: See TracChangeset for help on using the changeset viewer.