From 320e1512df87655c5736f6b59aa9d5cb1d40f0ea Mon Sep 17 00:00:00 2001 From: Jerome Nadaud Date: Mon, 23 Sep 2013 18:03:32 +0200 Subject: [PATCH] // Multistore checkbox design --- admin-dev/themes/default/template/header.tpl | 2 +- .../template/helpers/options/options.tpl | 47 +++++++++++++++---- 2 files changed, 38 insertions(+), 11 deletions(-) diff --git a/admin-dev/themes/default/template/header.tpl b/admin-dev/themes/default/template/header.tpl index 36bd7b91e..7da451979 100644 --- a/admin-dev/themes/default/template/header.tpl +++ b/admin-dev/themes/default/template/header.tpl @@ -299,7 +299,7 @@ {if $display_header && $is_multishop && $shop_list && ($multishop_context & Shop::CONTEXT_GROUP || $multishop_context & Shop::CONTEXT_SHOP)}
- +
{$shop_list}
diff --git a/admin-dev/themes/default/template/helpers/options/options.tpl b/admin-dev/themes/default/template/helpers/options/options.tpl index a0839e907..ac017e277 100644 --- a/admin-dev/themes/default/template/helpers/options/options.tpl +++ b/admin-dev/themes/default/template/helpers/options/options.tpl @@ -41,7 +41,7 @@ enctype="multipart/form-data" class="form-horizontal"> {foreach $option_list AS $category => $categoryData} {if isset($categoryData['top'])}{$categoryData['top']}{/if} -
+
{* Options category title *}

@@ -59,7 +59,31 @@ {/if} {if !$categoryData['hide_multishop_checkbox'] && $use_multishop} - {l s='Check/uncheck all'} {l s='(Check boxes if you want to set a custom value for this shop or group shop context)'} +
+ +
+
+
+ + + + + + + +
+
+

{l s='Check / Uncheck all'} {l s='(Check boxes if you want to set a custom value for this shop or group shop context)'}

+
+
+
+
{/if} {foreach $categoryData['fields'] AS $key => $field} @@ -67,15 +91,13 @@ {else}
-
- {if !$categoryData['hide_multishop_checkbox'] && $field['multishop_default'] && empty($field['no_multishop_checkbox'])} -
- -
- {/if} +
{block name="label"} {if isset($field['title']) && isset($field['hint'])} - {/if} + + {/if} {/block} {block name="field"}