[-] BO : fixed #PSFV-727 (issue #9 to #13)

This commit is contained in:
lLefevre
2012-04-05 13:51:40 +00:00
parent 2235fdb440
commit 652d2841c7
7 changed files with 13 additions and 17 deletions
@@ -94,7 +94,7 @@ class AdminAdminPreferencesControllerCore extends AdminController
'validation' => 'isInt',
'cast' => 'intval',
'type' => 'text',
'suffix' => $this->l('Megabits'),
'suffix' => $this->l('Megabytes'),
'default' => '2'
),
'PS_LIMIT_UPLOAD_FILE_VALUE' => array(
@@ -103,7 +103,7 @@ class AdminAdminPreferencesControllerCore extends AdminController
'validation' => 'isInt',
'cast' => 'intval',
'type' => 'text',
'suffix' => $this->l('Megabits'),
'suffix' => $this->l('Megabytes'),
'default' => '1'
),
'PS_LIMIT_UPLOAD_IMAGE_VALUE' => array(
@@ -112,7 +112,7 @@ class AdminAdminPreferencesControllerCore extends AdminController
'validation' => 'isInt',
'cast' => 'intval',
'type' => 'text',
'suffix' => $this->l('Megabits'),
'suffix' => $this->l('Megabytes'),
'default' => '1'
),
),
@@ -231,7 +231,7 @@ class AdminCmsCategoriesControllerCore extends AdminController
),
array(
'type' => 'textarea',
'label' => $this->l('Name:'),
'label' => $this->l('Description:'),
'name' => 'description',
'lang' => true,
'rows' => 5,
@@ -120,9 +120,8 @@ class AdminOrderPreferencesControllerCore extends AdminController
'list' => $cms_tab,
'identifier' => 'id',
'cast' => 'intval'
),
),
'submit' => array('title' => $this->l('Save'), 'class' => 'button'),
)
)
),
'gift' => array(
'title' => $this->l('Gift options'),
@@ -47,7 +47,7 @@ class AdminPPreferencesControllerCore extends AdminController
'type' => 'bool'
),
'PS_COMPARATOR_MAX_ITEM' => array(
'title' => $this->l('Maximum number of items for comparison:'),
'title' => $this->l('Set the maximum number of products that can be selected for comparison:'),
'desc' => $this->l('Set the threshold at which a message will announce the product is close to being out of stock.').' '.$this->l('Set to 0 to disable this feature'),
'validation' => 'isUnsignedId',
'required' => true,