// Fields resizing

This commit is contained in:
Damien Metzger
2013-10-25 11:25:13 +02:00
parent d59c83e64d
commit 087d0d8206
9 changed files with 90 additions and 29 deletions
@@ -110,6 +110,7 @@ class AdminGendersControllerCore extends AdminController
'label' => $this->l('Name:'),
'name' => 'name',
'lang' => true,
'col' => 4,
'hint' => $this->l('Invalid characters:').' 0-9!<>,;?=+()@#"{}_$%:',
'required' => true
),
@@ -141,18 +142,21 @@ class AdminGendersControllerCore extends AdminController
'type' => 'file',
'label' => $this->l('Image:'),
'name' => 'image',
'col' => 6,
'value' => true
),
array(
'type' => 'text',
'label' => $this->l('Image Width:'),
'name' => 'img_width',
'col' => 2,
'hint' => $this->l('Image width in pixels. Enter "0" to use the original size.')
),
array(
'type' => 'text',
'label' => $this->l('Image Height:'),
'name' => 'img_height',
'col' => 2,
'hint' => $this->l('Image height in pixels. Enter "0" to use the original size.')
)
),