From 55a5c69d409537aed6ebcd4e5300e543939fda88 Mon Sep 17 00:00:00 2001 From: Jerome Nadaud Date: Tue, 1 Oct 2013 16:03:34 +0200 Subject: [PATCH] // Remove language select on only one language --- .../default/template/controllers/products/informations.tpl | 6 ++++++ .../template/controllers/products/input_text_lang.tpl | 4 ++++ .../default/template/controllers/products/textarea_lang.tpl | 4 ++++ 3 files changed, 14 insertions(+) diff --git a/admin-dev/themes/default/template/controllers/products/informations.tpl b/admin-dev/themes/default/template/controllers/products/informations.tpl index 277faea3b..de610cab1 100644 --- a/admin-dev/themes/default/template/controllers/products/informations.tpl +++ b/admin-dev/themes/default/template/controllers/products/informations.tpl @@ -421,11 +421,16 @@
+ {if $languages|count > 1}
+ {/if} {foreach from=$languages item=language} + {if $languages|count > 1}
+ {/if} + {if $languages|count > 1}
+ {/if} {/foreach}
diff --git a/admin-dev/themes/default/template/controllers/products/input_text_lang.tpl b/admin-dev/themes/default/template/controllers/products/input_text_lang.tpl index 766cf612c..c1255702e 100644 --- a/admin-dev/themes/default/template/controllers/products/input_text_lang.tpl +++ b/admin-dev/themes/default/template/controllers/products/input_text_lang.tpl @@ -24,8 +24,10 @@ *} {foreach from=$languages item=language} + {if $languages|count > 1}
+ {/if} {if isset($maxchar)}
{$maxchar} @@ -42,6 +44,7 @@ {if isset($maxchar)}
{/if} + {if $languages|count > 1}
+ {/if} {/foreach} {if isset($maxchar)}