From bb524bf7a534fc7079e0c511e9ae7cadcc211017 Mon Sep 17 00:00:00 2001 From: rMontagne Date: Tue, 22 Nov 2011 09:35:34 +0000 Subject: [PATCH] // Refactoring images.tpl git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10392 b9a71923-0436-4b27-9f14-aed3839534dd --- admin-dev/themes/template/products/images.tpl | 445 ++++++++++-------- 1 file changed, 258 insertions(+), 187 deletions(-) diff --git a/admin-dev/themes/template/products/images.tpl b/admin-dev/themes/template/products/images.tpl index 7c2c5e571..35efc975a 100644 --- a/admin-dev/themes/template/products/images.tpl +++ b/admin-dev/themes/template/products/images.tpl @@ -6,103 +6,150 @@

- - - - - - - - - - - - -
-
- -
-
- -
    - - + - -

    - {l s='Format:'} JPG, GIF, PNG. {l s='Filesize:'} {$max_image_size / 1000}{l s='Kb max.'} -

    -
    - - {if Tools::getValue('id_image')}{/if} -
    - - - - - - - - {foreach from=$shops item=shop} - - {/foreach} - - - - - {foreach from=$images item=image} - - - - - - {if $shops} - {foreach from=$shops item=shop} - - {/foreach} - {/if} - - - - -{/foreach} -
    {l s='Image'} {l s='Position'}{$shop.name}{l s='Cover'}{l s='Action'}
    - - {$image->id} - {$image->legend|htmlentitiesUTF8} - - {$image->position} - position == 1}style="display: none;"{/if} href="{$currentIndex}&id_image={$image->id_image}&imgPosition={$image->position -1}&imgDirection=0&token={$token}"> - - - position == count($images)} style="display: none;"{/if} href="{$currentIndex}&id_image={$image->id_image}&imgPosition={$image->position+1}&imgDirection=1&token={$token}"> - - - - isAssociatedToShop($shop.id_shop)}checked="checked"{/if} /> - - e - - - {l s='Delete this image'} - -
    -
    - - -{if $shops} - -{/if}