diff --git a/lam/templates/config/conflogin.php b/lam/templates/config/conflogin.php index 174fd1f1..21c6a436 100644 --- a/lam/templates/config/conflogin.php +++ b/lam/templates/config/conflogin.php @@ -88,15 +88,18 @@ echo $_SESSION['header']; echo "\n"; } // set focus on password field - echo "\n"; - ?> + ?> + diff --git a/lam/templates/config/mainmanage.php b/lam/templates/config/mainmanage.php index cc5d6792..9945bd86 100644 --- a/lam/templates/config/mainmanage.php +++ b/lam/templates/config/mainmanage.php @@ -189,7 +189,7 @@ if (!$cfg->isWritable()) {
@@ -152,8 +155,8 @@ echo $_SESSION['header']; else echo "\n"; if (sizeof($files) > 0) echo "\n"; else echo "\n"; - if (sizeof($files) > 0) echo "\n"; - else echo " \n"; + if (sizeof($files) > 0) echo "\n"; + else echo " \n"; // help link printHelpLink(getHelp('', '200'), '200'); ?> diff --git a/lam/templates/config/mainlogin.php b/lam/templates/config/mainlogin.php index e3048aa9..bcc78422 100644 --- a/lam/templates/config/mainlogin.php +++ b/lam/templates/config/mainlogin.php @@ -152,9 +152,14 @@ echo $_SESSION['header']; - "> +   +
- +
@@ -236,7 +236,7 @@ if (!$cfg->isWritable()) {
- +
isWritable()) {
- +
@@ -359,7 +359,7 @@ if (!$cfg->isWritable()) {
- +
@@ -393,9 +393,15 @@ if (!$cfg->isWritable()) {

isWritable()) { ?> - "> + - "> + +
diff --git a/lam/templates/config/profmanage.php b/lam/templates/config/profmanage.php index cfddcadd..9032c7fc 100644 --- a/lam/templates/config/profmanage.php +++ b/lam/templates/config/profmanage.php @@ -92,7 +92,7 @@ foreach ($jsFiles as $jsEntry) { $cfg = new LAMCfgMain(); // check if submit button was pressed -if ($_POST['submit']) { +if (isset($_POST['submit'])) { // check master password if (!$cfg->checkPassword($_POST['passwd'])) { $error = _("Master password is wrong!"); @@ -379,11 +379,16 @@ if (!isset($cfg->default)) {     - "> +   +