layout fixes

This commit is contained in:
Roland Gruber 2006-10-05 17:52:31 +00:00
parent 34c9a5e678
commit 904fae3aa1
1 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ if (!isset($_SESSION['config']->scriptServer) || (strlen($_SESSION['config']->sc
echo "<td bgcolor=\"red\">" . _("No lamdaemon server set, please update your LAM configuration settings.") . "</td>"; echo "<td bgcolor=\"red\">" . _("No lamdaemon server set, please update your LAM configuration settings.") . "</td>";
} }
elseif (!isset($_SESSION['config']->scriptPath) || (strlen($_SESSION['config']->scriptPath) < 10)) { elseif (!isset($_SESSION['config']->scriptPath) || (strlen($_SESSION['config']->scriptPath) < 10)) {
echo "<td>" . _("Error") . "&nbsp;&nbsp;</td>\n"; echo "<td bgcolor=\"red\">" . _("Error") . "&nbsp;&nbsp;</td>\n";
echo "<td bgcolor=\"red\">" . _("No lamdaemon path set, please update your LAM configuration settings.") . "</td>"; echo "<td bgcolor=\"red\">" . _("No lamdaemon path set, please update your LAM configuration settings.") . "</td>";
$stopTest = true; $stopTest = true;
} }
@ -92,7 +92,7 @@ if (!$stopTest) {
echo "<td bgcolor=\"green\">" . sprintf(_("Using %s to connect to remote server."), $userName) . "</td>"; echo "<td bgcolor=\"green\">" . sprintf(_("Using %s to connect to remote server."), $userName) . "</td>";
} }
else { else {
echo "<td>" . _("Error") . "&nbsp;&nbsp;</td>\n"; echo "<td bgcolor=\"red\">" . _("Error") . "&nbsp;&nbsp;</td>\n";
echo "<td bgcolor=\"red\">" . _("Your LAM admin user must be a valid Unix account to work with lamdaemon!") . "</td>"; echo "<td bgcolor=\"red\">" . _("Your LAM admin user must be a valid Unix account to work with lamdaemon!") . "</td>";
$stopTest = true; $stopTest = true;
} }
@ -109,7 +109,7 @@ if (!$stopTest) {
echo "<td bgcolor=\"green\">" . _("SSH2 module is installed.") . "</td>"; echo "<td bgcolor=\"green\">" . _("SSH2 module is installed.") . "</td>";
} }
else { else {
echo "<td>" . _("Error") . "&nbsp;&nbsp;</td>\n"; echo "<td bgcolor=\"red\">" . _("Error") . "&nbsp;&nbsp;</td>\n";
echo "<td bgcolor=\"red\">" . _("Please install the SSH2 module for PHP and activate it in your php.ini!") . "</td>"; echo "<td bgcolor=\"red\">" . _("Please install the SSH2 module for PHP and activate it in your php.ini!") . "</td>";
$stopTest = true; $stopTest = true;
} }