// Colored switch, removed "required field" legend, removed duplicate links quick access

This commit is contained in:
Kevin Granger
2013-09-04 18:14:11 +02:00
parent b4ecaf3ddb
commit 22d636f93a
8 changed files with 75 additions and 198 deletions
@@ -189,7 +189,7 @@ class AdminCarrierWizardControllerCore extends AdminController
array(
'type' => 'logo',
'label' => $this->l('Logo:'),
'name' => 'logo',
'name' => 'logo'
),
array(
'type' => 'text',
@@ -256,21 +256,21 @@ class AdminCarrierWizardControllerCore extends AdminController
'required' => false,
'class' => 't',
'values' => array(
array(
'id' => 'is_free_off',
'value' => 0,
'label' => '<img src="../img/admin/enabled.gif" alt="'.$this->l('Yes').'" title="'.$this->l('Yes').'" />'
),
array(
'id' => 'is_free_on',
'value' => 1,
'label' => '<img src="../img/admin/disabled.gif" alt="'.$this->l('No').'" title="'.$this->l('No').'" />'
),
array(
'id' => 'is_free_off',
'value' => 0,
'label' => '<img src="../img/admin/enabled.gif" alt="'.$this->l('Yes').'" title="'.$this->l('Yes').'" />'
)
),
'hint' => $this->l('Apply both regular shipping cost and product-specific shipping costs.')
),
array(
'type' => 'switch',
'type' => 'radio',
'label' => $this->l('Billing:'),
'name' => 'shipping_method',
'required' => false,
@@ -303,10 +303,6 @@ class AdminCarrierWizardControllerCore extends AdminController
)
)
),
array(
'type' => 'zone',
'name' => 'zones'
),
array(
'type' => 'select',
'label' => $this->l('Out-of-range behavior:'),
@@ -326,7 +322,12 @@ class AdminCarrierWizardControllerCore extends AdminController
'name' => 'name'
),
'hint' => $this->l('Out-of-range behavior occurs when no defined range matches the customer\'s cart (e.g. when the weight of the cart is greater than the highest weight limit defined by the weight ranges)')
),
array(
'type' => 'zone',
'name' => 'zones'
)
),
));