diff --git a/admin-dev/themes/default/template/controllers/shipping/content.tpl b/admin-dev/themes/default/template/controllers/shipping/content.tpl index 520f25aff..27a1b0dca 100644 --- a/admin-dev/themes/default/template/controllers/shipping/content.tpl +++ b/admin-dev/themes/default/template/controllers/shipping/content.tpl @@ -27,10 +27,10 @@
- +

{l s='Fees by carrier, geographical zone and ranges'} - +

{if empty($carriers)} {l s='If you only have free carriers, there\'s no need to configure delivery prices.'} {else} diff --git a/admin-dev/themes/default/template/helpers/options/options.tpl b/admin-dev/themes/default/template/helpers/options/options.tpl index e25764fcd..b22385e72 100644 --- a/admin-dev/themes/default/template/helpers/options/options.tpl +++ b/admin-dev/themes/default/template/helpers/options/options.tpl @@ -141,21 +141,21 @@ {elseif $field['type'] == 'text'}
- {if isset($field['suffix'])} {$field['suffix']|strval} {/if} - - -
{elseif $field['type'] == 'password'} -
+
+ {if isset($field['suffix'])} + + {$field['suffix']|strval} + + {/if} - {if isset($field['suffix'])} {$field['suffix']|strval}{/if}
{elseif $field['type'] == 'textarea'}
diff --git a/controllers/admin/AdminRangePriceController.php b/controllers/admin/AdminRangePriceController.php index 51de218fe..1cc087515 100644 --- a/controllers/admin/AdminRangePriceController.php +++ b/controllers/admin/AdminRangePriceController.php @@ -62,7 +62,7 @@ class AdminRangePriceControllerCore extends AdminController $this->fields_form = array( 'legend' => array( 'title' => $this->l('Price ranges'), - 'image' => '../img/t/AdminRangePrice.gif' + 'icon' => 'icon-money' ), 'input' => array( array( @@ -70,13 +70,13 @@ class AdminRangePriceControllerCore extends AdminController 'label' => $this->l('Carrier:'), 'name' => 'id_carrier', 'required' => false, - 'desc' => $this->l('You can apply this range to a different carrier by selecting its name.'), + 'hint' => $this->l('You can apply this range to a different carrier by selecting its name.'), 'options' => array( 'query' => $carriers, 'id' => 'id_carrier', 'name' => 'name' ), - 'empty_message' => '
'.$this->l('There is no carrier available for this price range.').'
' + 'empty_message' => '

'.$this->l('There is no carrier available for this price range.').'

' ), array( 'type' => 'text', @@ -84,7 +84,7 @@ class AdminRangePriceControllerCore extends AdminController 'name' => 'delimiter1', 'required' => true, 'suffix' => $currency->getSign('right').' '.$this->l('(Tax Incl.)'), - 'desc' => $this->l('Start range (included)'), + 'hint' => $this->l('Start range (included)'), 'string_format' => '%.2f' ), array( @@ -93,13 +93,13 @@ class AdminRangePriceControllerCore extends AdminController 'name' => 'delimiter2', 'required' => true, 'suffix' => $currency->getSign('right').' '.$this->l('(Tax Incl.)'), - 'desc' => $this->l('End range (excluded)'), + 'hint' => $this->l('End range (excluded)'), 'string_format' => '%.2f' ), ), 'submit' => array( - 'title' => $this->l(' Save '), - 'class' => 'button' + 'title' => $this->l('Save'), + 'class' => 'btn btn-default' ) ); diff --git a/controllers/admin/AdminRangeWeightController.php b/controllers/admin/AdminRangeWeightController.php index a26f7c21d..71d119a14 100644 --- a/controllers/admin/AdminRangeWeightController.php +++ b/controllers/admin/AdminRangeWeightController.php @@ -60,7 +60,7 @@ class AdminRangeWeightControllerCore extends AdminController $this->fields_form = array( 'legend' => array( 'title' => $this->l('Weight ranges'), - 'image' => '../img/t/AdminRangeWeight.gif' + 'icon' => 'icon-suitcase' ), 'input' => array( array( @@ -68,36 +68,34 @@ class AdminRangeWeightControllerCore extends AdminController 'label' => $this->l('Carrier:'), 'name' => 'id_carrier', 'required' => false, - 'desc' => $this->l('You can apply this range to a different carrier by selecting its name.'), + 'hint' => $this->l('You can apply this range to a different carrier by selecting its name.'), 'options' => array( 'query' => $carriers, 'id' => 'id_carrier', 'name' => 'name' ), - 'empty_message' => '
'.$this->l('There is no carrier available for this weight range.').'
' + 'empty_message' => '

'.$this->l('There is no carrier available for this weight range.').'

' ), array( 'type' => 'text', 'label' => $this->l('From:'), 'name' => 'delimiter1', - 'size' => 5, 'required' => true, 'suffix' => Configuration::get('PS_WEIGHT_UNIT'), - 'desc' => $this->l('Start range (included)'), + 'hint' => $this->l('Start range (included)'), ), array( 'type' => 'text', 'label' => $this->l('To:'), 'name' => 'delimiter2', - 'size' => 5, 'required' => true, 'suffix' => Configuration::get('PS_WEIGHT_UNIT'), - 'desc' => $this->l('End range (excluded)'), + 'hint' => $this->l('End range (excluded)'), ), ), 'submit' => array( 'title' => $this->l(' Save '), - 'class' => 'button' + 'class' => 'btn btn-default' ) );