// Added units to package dimensions

This commit is contained in:
Damien Metzger committed 2013-08-01 15:52:07 +02:00
1 parent 79a4a84163
commit b27d030fd2
1 file changed
+5 -5
@@ -26,7 +26,7 @@
class AdminCarrierWizardControllerCore extends AdminController class AdminCarrierWizardControllerCore extends AdminController
{ {
protected $wizard_access; protected $wizard_access;
public function __construct() public function __construct()
{ {
@@ -343,7 +343,7 @@ class AdminCarrierWizardControllerCore extends AdminController
), ),
array( array(
'type' => 'text', 'type' => 'text',
'label' => $this->l('Maximium package height:'), 'label' => $this->l('Maximium package height ('.Configuration::get('PS_DIMENSION_UNIT').'):'),
'name' => 'max_height', 'name' => 'max_height',
'required' => false, 'required' => false,
'size' => 10, 'size' => 10,
@@ -351,7 +351,7 @@ class AdminCarrierWizardControllerCore extends AdminController
), ),
array( array(
'type' => 'text', 'type' => 'text',
'label' => $this->l('Maximium package width:'), 'label' => $this->l('Maximium package width ('.Configuration::get('PS_DIMENSION_UNIT').'):'),
'name' => 'max_width', 'name' => 'max_width',
'required' => false, 'required' => false,
'size' => 10, 'size' => 10,
@@ -359,7 +359,7 @@ class AdminCarrierWizardControllerCore extends AdminController
), ),
array( array(
'type' => 'text', 'type' => 'text',
'label' => $this->l('Maximium package depth:'), 'label' => $this->l('Maximium package depth ('.Configuration::get('PS_DIMENSION_UNIT').'):'),
'name' => 'max_depth', 'name' => 'max_depth',
'required' => false, 'required' => false,
'size' => 10, 'size' => 10,
@@ -367,7 +367,7 @@ class AdminCarrierWizardControllerCore extends AdminController
), ),
array( array(
'type' => 'text', 'type' => 'text',
'label' => $this->l('Maximium package weight:'), 'label' => $this->l('Maximium package weight ('.Configuration::get('PS_WEIGHT_UNIT').'):'),
'name' => 'max_weight', 'name' => 'max_weight',
'required' => false, 'required' => false,
'size' => 10, 'size' => 10,