From e3bc7527fd8a8778ac2da98d0423fd7e79c8716e Mon Sep 17 00:00:00 2001 From: tDidierjean Date: Fri, 18 Nov 2011 15:30:22 +0000 Subject: [PATCH] // Fix AdminThemesController thumbnails --- .../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'])}