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 * 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; font-family:Arial,Verdana,sans-serif;
} }
@ -35,7 +36,7 @@ body {
background-color:#F5F5F5; background-color:#F5F5F5;
} }
/// links /* links */
a { a {
color:blue; color:blue;
text-decoration:underline; text-decoration:underline;
@ -52,7 +53,7 @@ text-decoration:none;
} }
form { } form { }
input { input {
font-weight:bold; font-weight:bold;
background-color:#CCCCFF; background-color:#CCCCFF;
} }
@ -62,7 +63,7 @@ background-color:#EEEEEE;
} }
legend { legend {
color:darkgreen; color:green;
} }

View File

@ -19,7 +19,7 @@ $Id$
along with this program; if not, write to the Free Software along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Login page to change the preferences. Login page to change the preferences.
*/ */
@ -27,7 +27,7 @@ $Id$
session_save_path("../../sess"); session_save_path("../../sess");
session_start(); 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\">"); 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; 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 ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n");
echo ("<html>\n"); echo ("<html>\n");

View File

@ -62,7 +62,7 @@ if ($passwd != $conf->get_Passwd()) {
exit; 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 ("<!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"; echo "<html><head><title>listusers</title>\n";

View File

@ -55,6 +55,8 @@ if ($_POST['new_group'] || $_POST['del_group']){
exit; 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 "<html><head><title>listgroups</title>\n";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n"; echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
echo "</head><body>\n"; echo "</head><body>\n";

View File

@ -55,6 +55,8 @@ if ($_POST['new_host'] || $_POST['del_host']){
exit; 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 "<html><head><title>listhosts</title>\n";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n"; echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
echo "</head><body>\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"); echo ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n");
?> ?>
@ -60,4 +60,4 @@ echo ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http:/
</tr> </tr>
</table> </table>
</body> </body>
</html> </html>

View File

@ -46,7 +46,7 @@ if (!$_SESSION['ldap'] || !$_SESSION['ldap']->server()) {
} }
// print header // 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 ("<!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"); 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 // 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 ("<!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"); 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"; $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"); 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 // 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 ("<!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"); 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 align=\"right\"><b>" . _("Additional groups") . ": </b></td>\n");
echo ("<td><select name=\"general_groupadd[]\" size=5 multiple>\n"); echo ("<td><select name=\"general_groupadd[]\" size=5 multiple>\n");
for ($i = 0; $i < sizeof($groups); $i++) { for ($i = 0; $i < sizeof($groups); $i++) {
echo "<br>hallo"; if ($acct->general_groupadd && in_array($groups[$i], $acct->general_groupadd)) echo ("<option selected>" . $groups[$i] . "</option>\n");
if (in_array($groups[$i], $acct->general_groupadd)) echo ("<option selected>" . $groups[$i] . "</option>\n");
else echo ("<option>" . $groups[$i] . "</option>\n"); else echo ("<option>" . $groups[$i] . "</option>\n");
} }
echo ("</select></td>\n"); echo ("</select></td>\n");