From 8211b2f3c9ed3b0512d4d950a0b833b859af0566 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Thu, 7 Oct 2004 10:16:11 +0000 Subject: [PATCH] print message if no proviles are available --- lam/templates/config/conflogin.php | 31 ++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/lam/templates/config/conflogin.php b/lam/templates/config/conflogin.php index f3de5317..0a71ebb6 100644 --- a/lam/templates/config/conflogin.php +++ b/lam/templates/config/conflogin.php @@ -88,30 +88,41 @@ echo $_SESSION['header'];   " . - "" . $message . "" . - ""); - echo " "; + echo "\n"; + echo "\n"; + echo "" . $message . "\n"; + echo "\n"; + echo "\n"; + echo "\n"; + echo " \n"; + echo "\n"; } ?> - \n"; $conf = new CfgMain(); $defaultprofile = $conf->default; for ($i = 0; $i < sizeof($files); $i++) { if ($files[$i] == $defaultprofile) echo ("\n"); else echo ("\n"); } + echo "\n"; + } + else echo "\n"; + if (sizeof($files) > 0) echo "\n"; + else echo "\n"; + if (sizeof($files) > 0) echo "\n"; + else echo "\n"; ?> - - - ">