mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add size support to row helper fields
This commit is contained in:
parent
6915d688b4
commit
ee8655e42a
@ -500,7 +500,10 @@ if ($pkg['tabs'] <> "") {
|
||||
$type = $rowhelper['type'];
|
||||
$fieldname = $rowhelper['fieldname'];
|
||||
if($type == "option") $options = &$rowhelper['options']['option'];
|
||||
$size = "8";
|
||||
if($rowhelper['size'] && isint($rowhelper['size']))
|
||||
$size = $rowhelper['size'];
|
||||
else
|
||||
$size = "8";
|
||||
if($rowhelper['size'] <> "") $size = $rowhelper['size'];
|
||||
display_row($rowcounter, $value, $fieldname, $type, $rowhelper, $size);
|
||||
// javascript helpers for row_helper_dynamic.js
|
||||
|
||||
Loading…
Reference in New Issue
Block a user