- Timestamp:
- Mar 12, 2014, 11:28:47 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/MyPiwiShop/admin/template/MyPiwiShopBatchUnit.tpl
r27568 r27743 19 19 20 20 21 {foreach from=$mps_productcheck key=key item=products name=product}22 {if $key == $imgid}23 21 <br></br> 24 22 … … 39 37 </tread> 40 38 <tbody> 41 {foreach from=$ products item=product name=product}39 {foreach from=$mps_products item=product name=product} 42 40 <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> 44 43 <td>{$product.product} </td> 45 44 <td>{$product.noteAdmin}</td> … … 67 66 </div> 68 67 69 {/if}70 {/foreach}
Note: See TracChangeset
for help on using the changeset viewer.