addElement($caption, true);
$table->addElement($spacer, true);
// print message if login was incorrect or no config profiles are present
if (isset($message)) { // $message is set by confmain.php (requires conflogin.php then)
$messageField = new htmlStatusMessage('ERROR', $message);
$table->addElement($messageField, true);
$table->addElement($spacer, true);
}
// password field
$gap = new htmlSpacer('1px', null);
$passwordGroup = new htmlGroup();
$passwordGroup->alignment = htmlElement::ALIGN_CENTER;
$passwordGroup->addElement(new htmlOutputText(_('Master password')));
$passwordGroup->addElement($gap);
$passwordField = new htmlInputField('passwd');
$passwordField->setFieldSize(15);
$passwordField->setIsPassword(true);
$passwordGroup->addElement($passwordField);
$passwordGroup->addElement($gap);
$passwordGroup->addElement(new htmlButton('submit', _("Ok")));
$passwordGroup->addElement($gap);
$passwordGroup->addElement(new htmlHelpLink('236'));
$table->addElement($passwordGroup, true);
$tabindex = 1;
parseHtml(null, $table, array(), false, $tabindex, 'user');
?>
|
|