change port field in ipsandports to type-number

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-02-19 11:15:03 +01:00
parent 0b61bd9a79
commit 90d2333eef
4 changed files with 8 additions and 6 deletions

View File

@@ -29,8 +29,9 @@ return array(
),
'port' => array(
'label' => $lng['admin']['ipsandports']['port'],
'type' => 'text',
'size' => 5
'type' => 'number',
'min' => 1,
'max' => 65535
)
)
),

View File

@@ -30,9 +30,10 @@ return array(
),
'port' => array(
'label' => $lng['admin']['ipsandports']['port'],
'type' => 'text',
'type' => 'number',
'value' => $result['port'],
'size' => 5
'min' => 1,
'max' => 65535
)
)
),