From fd90a0313d85b086ffd4f8ccd91f0c6407e05af2 Mon Sep 17 00:00:00 2001 From: tDidierjean Date: Fri, 18 Nov 2011 15:30:22 +0000 Subject: [PATCH] // Fix AdminThemesController thumbnails git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10275 b9a71923-0436-4b27-9f14-aed3839534dd --- .../template/helper/options/options.tpl | 27 +-------- controllers/admin/AdminThemesController.php | 59 ++++++++++--------- 2 files changed, 34 insertions(+), 52 deletions(-) diff --git a/admin-dev/themes/template/helper/options/options.tpl b/admin-dev/themes/template/helper/options/options.tpl index 0502d5058..3caf94861 100644 --- a/admin-dev/themes/template/helper/options/options.tpl +++ b/admin-dev/themes/template/helper/options/options.tpl @@ -126,31 +126,10 @@ {elseif $field['type'] == 'textarea'} {elseif $field['type'] == 'file'} - {if isset($field['thumb']) && $field['thumb'] && $field['thumb']['pos'] == 'before'} - {$field['title']}
+ {if isset($field['thumb']) && $field['thumb']} + {$field['title']}
{/if} - {* {elseif $field['type'] == 'image'} - - - $i = 0; - foreach ($field['list'] as $theme) - { - '; - if (isset($field['max']) && ($i +1 ) % $field['max'] == 0) - echo ''; - $i++; - } - echo ''; - echo '
- '; - echo ''; - echo '
'; - echo ''; - echo '
'; - *} {elseif $field['type'] == 'textLang' || $field['type'] == 'textareaLang' || $field['type'] == 'selectLang'} {if $field['type'] == 'textLang'} {foreach $field['languages'] AS $id_lang => $value} @@ -198,8 +177,6 @@ {/if}
{/if} - {if isset($field['method'])}$field['method']{/if} - {if ($field['multishop_default'])}