diff --git a/lam/templates/config/confmain.php b/lam/templates/config/confmain.php
index f4323f47..2f1bfc50 100644
--- a/lam/templates/config/confmain.php
+++ b/lam/templates/config/confmain.php
@@ -317,11 +317,8 @@ $container->addElement($lamdaemonSettings, true);
$container->addElement(new htmlSpacer(null, '10px'), true);
-parseHtml(null, $container, array(), false, $tabindex, 'user');
-
// LAM Pro settings
if (isLAMProVersion()) {
-
$pwdMailContent = new htmlTable();
$pwdMailFrom = new htmlTableExtendedInputField(_('From address'), 'pwdResetMail_from', $conf->getLamProMailFrom(), '550');
@@ -334,80 +331,49 @@ if (isLAMProVersion()) {
$pwdMailContent->addElement($pwdMailBody, true);
$pwdMailFieldset = new htmlFieldset($pwdMailContent, _("Password mail settings"), '../../graphics/mailBig.png');
- parseHtml(null, $pwdMailFieldset, array(), true, $tabindex, 'config');
-
- echo ("
\n");
+ $container->addElement($pwdMailFieldset, true);
+ $container->addElement(new htmlSpacer(null, '10px'), true);
}
// security setings
-echo ("
\n");
+$password1 = new htmlTableExtendedInputField(_("New password"), 'passwd1', null, '212');
+$password1->setIsPassword(true);
+$password2 = new htmlTableExtendedInputField(_("Reenter password"), 'passwd2');
+$password2->setIsPassword(true);
+$securitySettingsContent->addElement($password1, true);
+$securitySettingsContent->addElement($password2, true);
+$securitySettings = new htmlFieldset($securitySettingsContent, _("Security settings"), '../../graphics/security.png');
+$container->addElement($securitySettings, true);
+$container->addElement(new htmlSpacer(null, '10px'), true);
-echo ("* = ". _("required") . "
");
+$container->addElement(new htmlOutputText('*=' . _("required")), true);
+
+parseHtml(null, $container, array(), false, $tabindex, 'user');
echo ("\n");
echo ("