mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
parent
64600f942d
commit
e6acc2eee4
@ -262,8 +262,6 @@ if (isset($id) && $a_group[$id]){
|
||||
));
|
||||
}
|
||||
|
||||
$ro = ($pconfig['gtype'] == "system");
|
||||
|
||||
$section = new Form_Section('Group properties');
|
||||
|
||||
if ($_GET['act'] != "new")
|
||||
@ -274,13 +272,16 @@ if ($_GET['act'] != "new")
|
||||
));
|
||||
}
|
||||
|
||||
$section->addInput(new Form_Input(
|
||||
$section->addInput($input = new Form_Input(
|
||||
'groupname',
|
||||
'Group name',
|
||||
'text',
|
||||
$pconfig['name']
|
||||
));
|
||||
|
||||
if ($pconfig['gtype'] == "system")
|
||||
$input->setAttribute('readonly', 'readonly');
|
||||
|
||||
$section->addInput(new Form_Input(
|
||||
'description',
|
||||
'Description',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user