addInput(new Form_Checkbox( 'enable', 'Enable', null, $pconfig['enable'] )); $section->addInput(new Form_Input( 'name', 'Name', 'text', $pconfig['name'] ))->setHelp('The name of the service may only consist of the characters "a-z, A-Z, 0-9 and _".'); $section->addInput(new Form_Input( 'url', 'URL', 'text', $pconfig['url'] )); $section->addInput(new Form_Input( 'username', 'User name', 'text', $pconfig['username'] )); $section->addPassword(new Form_Input( 'passwordfld', 'Password', 'password', $pconfig['password'] )); $section->addInput(new Form_Checkbox( 'verifysslpeer', 'Verify SSL Peer', 'Verify SSL Peer', $pconfig['verifysslpeer'] )); $section->addInput(new Form_Input( 'descr', 'Description', 'text', $pconfig['descr'] ))->setHelp('A description may be entered here for administrative reference (not parsed).'); if (isset($id) && $a_checkip[$id]) { $section->addInput(new Form_Input( 'id', null, 'hidden', $id )); } $form->add($section); print($form); include("foot.inc");