fixed several HTML errors

This commit is contained in:
Roland Gruber 2003-06-04 18:47:40 +00:00
parent 483e5dd219
commit cdc7acd409
11 changed files with 21 additions and 17 deletions

View File

@ -20,14 +20,15 @@ $Id$
*/
// CSS layout for LAM
/* CSS layout for LAM */
/**
* global page layout
*
*/
h1,h2,h3,h4,p,ul,ol,li,div,td,th,address,blockquote,nobr,b,i {
h1,h2,h3,h4,p,ul,ol,li,div,td,th,address,blockquote,b,i {
font-family:Arial,Verdana,sans-serif;
}
@ -35,7 +36,7 @@ body {
background-color:#F5F5F5;
}
/// links
/* links */
a {
color:blue;
text-decoration:underline;
@ -62,7 +63,7 @@ background-color:#EEEEEE;
}
legend {
color:darkgreen;
color:green;
}

View File

@ -27,7 +27,7 @@ $Id$
session_save_path("../../sess");
session_start();
echo ("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
echo ("<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>");
echo ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">");
?>

View File

@ -92,7 +92,7 @@ if (!(($conf->get_Passwd()) == $passwd)) {
exit;
}
echo ("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
echo ("<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n");
echo ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n");
echo ("<html>\n");

View File

@ -62,7 +62,7 @@ if ($passwd != $conf->get_Passwd()) {
exit;
}
echo ("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
echo ("<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n");
echo ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n");
echo "<html><head><title>listusers</title>\n";

View File

@ -55,6 +55,8 @@ if ($_POST['new_group'] || $_POST['del_group']){
exit;
}
echo ("<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n");
echo ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n");
echo "<html><head><title>listgroups</title>\n";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
echo "</head><body>\n";

View File

@ -55,6 +55,8 @@ if ($_POST['new_host'] || $_POST['del_host']){
exit;
}
echo ("<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n");
echo ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n");
echo "<html><head><title>listhosts</title>\n";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
echo "</head><body>\n";

View File

@ -23,7 +23,7 @@ $Id$
*/
echo ("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
echo ("<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n");
echo ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n");
?>

View File

@ -46,7 +46,7 @@ if (!$_SESSION['ldap'] || !$_SESSION['ldap']->server()) {
}
// print header
echo ("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
echo ("<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n");
echo ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n");
echo ("<html><head>\n<title></title>\n<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n</head><body><br>\n");

View File

@ -38,7 +38,7 @@ if (!$_SESSION['ldap'] || !$_SESSION['ldap']->server()) {
}
// print header
echo ("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
echo ("<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n");
echo ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n");
echo ("<html><head>\n<title></title>\n<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n</head><body><br>\n");

View File

@ -86,7 +86,7 @@ for ($i = 0; $i < sizeof($hstprof); $i++) {
$hostprofiles = $hostprofiles . "<option>" . $hstprof[$i] . "</option>\n";
}
echo ("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
echo ("<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n");
echo ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n");
?>

View File

@ -38,7 +38,7 @@ if (!$_SESSION['ldap'] || !$_SESSION['ldap']->server()) {
}
// print header
echo ("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
echo ("<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n");
echo ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n");
echo ("<html><head>\n<title></title>\n<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n</head><body><br>\n");
@ -86,8 +86,7 @@ echo ("<tr>\n");
echo ("<td align=\"right\"><b>" . _("Additional groups") . ": </b></td>\n");
echo ("<td><select name=\"general_groupadd[]\" size=5 multiple>\n");
for ($i = 0; $i < sizeof($groups); $i++) {
echo "<br>hallo";
if (in_array($groups[$i], $acct->general_groupadd)) echo ("<option selected>" . $groups[$i] . "</option>\n");
if ($acct->general_groupadd && in_array($groups[$i], $acct->general_groupadd)) echo ("<option selected>" . $groups[$i] . "</option>\n");
else echo ("<option>" . $groups[$i] . "</option>\n");
}
echo ("</select></td>\n");