more work on add/edit forms
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -25,13 +25,16 @@ return array(
|
||||
'fields' => array(
|
||||
'ip' => array(
|
||||
'label' => $lng['admin']['ipsandports']['ip'],
|
||||
'type' => 'text'
|
||||
'type' => 'text',
|
||||
'mandatory' => true
|
||||
),
|
||||
'port' => array(
|
||||
'label' => $lng['admin']['ipsandports']['port'],
|
||||
'type' => 'number',
|
||||
'min' => 1,
|
||||
'max' => 65535
|
||||
'max' => 65535,
|
||||
'value' => 80,
|
||||
'mandatory' => true
|
||||
)
|
||||
)
|
||||
),
|
||||
|
||||
@@ -26,14 +26,16 @@ return array(
|
||||
'ip' => array(
|
||||
'label' => $lng['admin']['ipsandports']['ip'],
|
||||
'type' => 'text',
|
||||
'value' => $result['ip']
|
||||
'value' => $result['ip'],
|
||||
'mandatory' => true
|
||||
),
|
||||
'port' => array(
|
||||
'label' => $lng['admin']['ipsandports']['port'],
|
||||
'type' => 'number',
|
||||
'value' => $result['port'],
|
||||
'min' => 1,
|
||||
'max' => 65535
|
||||
'max' => 65535,
|
||||
'mandatory' => true
|
||||
)
|
||||
)
|
||||
),
|
||||
|
||||
@@ -25,7 +25,8 @@ return array(
|
||||
'fields' => array(
|
||||
'name' => array(
|
||||
'label' => $lng['admin']['plans']['name'],
|
||||
'type' => 'text'
|
||||
'type' => 'text',
|
||||
'mandatory' => true
|
||||
),
|
||||
'description' => array(
|
||||
'label' => $lng['admin']['plans']['description'],
|
||||
|
||||
@@ -26,7 +26,8 @@ return array(
|
||||
'name' => array(
|
||||
'label' => $lng['admin']['plans']['name'],
|
||||
'type' => 'text',
|
||||
'value' => $result['name']
|
||||
'value' => $result['name'],
|
||||
'mandatory' => true
|
||||
),
|
||||
'description' => array(
|
||||
'label' => $lng['admin']['plans']['description'],
|
||||
|
||||
Reference in New Issue
Block a user