From dc0311f1512f1174146dc1845a1176be11900d6b Mon Sep 17 00:00:00 2001 From: Gytautas Date: Tue, 12 Nov 2024 17:33:55 +0200 Subject: [PATCH 01/69] PIPRES-468: frontend implementation by reusing prestashop multilang form --- .../admin/_configure/helpers/form/form.tpl | 75 ++++++++++++++++++- 1 file changed, 71 insertions(+), 4 deletions(-) diff --git a/views/templates/admin/_configure/helpers/form/form.tpl b/views/templates/admin/_configure/helpers/form/form.tpl index c160578c6..294c7b352 100644 --- a/views/templates/admin/_configure/helpers/form/form.tpl +++ b/views/templates/admin/_configure/helpers/form/form.tpl @@ -179,16 +179,83 @@ {/if} + + +
-
- +
+ {foreach from=$languages item=language} + {if $languages|count > 1} +
+
+
+ {/if} + + {if $languages|count > 1} +
+
+ + +
+
+
+ {/if} + {/foreach}
+ + {* *} + +{*
*} +{* *} + +{* *} +{*
*} +{* {foreach from=$languages item=language}*} +{* *} +{*
*} + +{* *} +{*
*} +{* *} +{* *} +{*
*} +{*
*} +{* {/foreach}*} + + +
{/if} - -
- {* *} - -{*
*} -{* *} - -{* *} -{*
*} -{* {foreach from=$languages item=language}*} -{* *} -{*
*} - -{* *} -{*
*} -{* *} -{* *} -{*
*} -{*
*} -{* {/foreach}*} - - -