From be7e4b412881bbe541e3759b3037af0d0f3ad34f Mon Sep 17 00:00:00 2001 From: Vincent Augagneur Date: Wed, 31 Jul 2013 11:00:31 +0200 Subject: [PATCH] //carrier wizard Shipping and handling are set to no by default --- .../carrier_wizard/helpers/form/form.tpl | 10 ++++++++++ .../template/controllers/carrier_wizard/logo.tpl | 8 -------- .../admin/AdminCarrierWizardController.php | 15 +++++++++++---- 3 files changed, 21 insertions(+), 12 deletions(-) diff --git a/admin-dev/themes/default/template/controllers/carrier_wizard/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/carrier_wizard/helpers/form/form.tpl index fe581278d..55507c655 100644 --- a/admin-dev/themes/default/template/controllers/carrier_wizard/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/carrier_wizard/helpers/form/form.tpl @@ -35,5 +35,15 @@ {l s='Add new range'} {/if} + {if $input.name == 'logo'} +
+ + +

+ {l s='Format:'} JPG, GIF, PNG. {l s='Filesize:'} {$max_image_size|string_format:"%.2f"} {l s='MB max.'} +
{l s='Current size:'} {l s='undefined'}. +

+
+ {/if} {$smarty.block.parent} {/block} diff --git a/admin-dev/themes/default/template/controllers/carrier_wizard/logo.tpl b/admin-dev/themes/default/template/controllers/carrier_wizard/logo.tpl index d8e5c69b6..e43d37114 100644 --- a/admin-dev/themes/default/template/controllers/carrier_wizard/logo.tpl +++ b/admin-dev/themes/default/template/controllers/carrier_wizard/logo.tpl @@ -25,15 +25,7 @@
-

- - -

{l s='Remove the logo'} -

- {l s='Format:'} JPG, GIF, PNG. {l s='Filesize:'} {$max_image_size|string_format:"%.2f"} {l s='MB max.'} -
{l s='Current size:'} {l s='undefined'}. -