*** empty log message ***

This commit is contained in:
duergner 2003-11-12 20:33:06 +00:00
parent 6e3f868372
commit 169004f9c2
3 changed files with 9 additions and 5 deletions

View File

@ -46,6 +46,14 @@ function StatusMessage($MessageTyp,$MessageHeadline,$MessageText,$MessageVariabl
$MessageText = parseMessageString($MessageText); $MessageText = parseMessageString($MessageText);
//$MessageTyp = "<h1 " . $class . ">" . $MessageTyp . "</h1>"; // Format $MessageTyp //$MessageTyp = "<h1 " . $class . ">" . $MessageTyp . "</h1>"; // Format $MessageTyp
if (is_file("../graphics/error.png")) {
$MessageTyp = "<img src=\"../graphics/" . strtolower($MessageTyp) . ".png\" alt=\"" . $MessageTyp . "\" width=\"50\" height=\"50\">";
}
else {
$MessageTyp = "<img src=\"../../graphics/" . strtolower($MessageTyp) . ".png\" alt=\"" . $MessageTyp . "\" width=\"50\" height=\"50\">";
}
$MessageTyp = "<img src=\"" . $_SESSION['lamurl'] . "graphics/" . strtolower($MessageTyp) . ".png\" alt=\"" . $MessageTyp . "\" width=\"50\" height=\"50\">"; $MessageTyp = "<img src=\"" . $_SESSION['lamurl'] . "graphics/" . strtolower($MessageTyp) . ".png\" alt=\"" . $MessageTyp . "\" width=\"50\" height=\"50\">";
$MessageHeadline = "<h2 " . $class . ">" . $MessageHeadline . "</h2>"; // Format $MessageHeadline $MessageHeadline = "<h2 " . $class . ">" . $MessageHeadline . "</h2>"; // Format $MessageHeadline
$MessageText = "<p " . $class . ">" . $MessageText . "</p>"; // Format $MessageText $MessageText = "<p " . $class . ">" . $MessageText . "</p>"; // Format $MessageText

View File

@ -39,8 +39,6 @@ function echoHTMLHead()
{ {
echo $_SESSION['header']; echo $_SESSION['header'];
?> ?>
<html>
<head>
<title>LDAP Account Manager Help Center</title> <title>LDAP Account Manager Help Center</title>
<link rel="stylesheet" type="text/css" href="../style/layout.css"> <link rel="stylesheet" type="text/css" href="../style/layout.css">
</head> </head>

View File

@ -55,7 +55,7 @@ function display_LoginPage($config_object,$profile)
$_SESSION['language'] = $config_object->get_defaultLanguage(); $_SESSION['language'] = $config_object->get_defaultLanguage();
$current_language = explode(":",$_SESSION['language']); $current_language = explode(":",$_SESSION['language']);
$_SESSION['header'] = "<?xml version=\"1.0\" encoding=\"" . $current_language[1] . "\"?>\n<!DOCTYPE>\n\n"; $_SESSION['header'] = "<?xml version=\"1.0\" encoding=\"" . $current_language[1] . "\"?>\n<!DOCTYPE>\n\n<html>\n <head>\n <meta http-equiv=\"content-type\" content=\"text/html; charset=" . $current_language[1] . "\">";
// loading available languages from language.conf file // loading available languages from language.conf file
$languagefile = "../config/language"; $languagefile = "../config/language";
@ -93,8 +93,6 @@ function display_LoginPage($config_object,$profile)
echo $_SESSION["header"]; echo $_SESSION["header"];
?> ?>
<html>
<head>
<title>LDAP Account Manager -Login-</title> <title>LDAP Account Manager -Login-</title>
<link rel="stylesheet" type="text/css" href="../style/layout.css"> <link rel="stylesheet" type="text/css" href="../style/layout.css">
</head> </head>