changed doctype to HTML 4 Strict, solves problems with Konqueror and Opera

This commit is contained in:
Roland Gruber 2003-06-09 10:30:10 +00:00
parent a92782eb48
commit b95bda9c08
1 changed files with 17 additions and 28 deletions

View File

@ -87,7 +87,7 @@ for ($i = 0; $i < sizeof($hstprof); $i++) {
} }
echo ("<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\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 Strict//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\n");
?> ?>
<html> <html>
@ -96,23 +96,21 @@ echo ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http:/
<link rel="stylesheet" type="text/css" href="../../style/layout.css"> <link rel="stylesheet" type="text/css" href="../../style/layout.css">
</head> </head>
<body> <body>
<br> <p></p>
<form action="profilemain.php" method="post"> <form action="profilemain.php" method="post">
<!-- user profile options --> <!-- user profile options -->
<fieldset> <fieldset>
<legend> <legend>
<b> <? echo _("User Profiles"); ?> </b> <b><? echo _("User Profiles"); ?></b>
</legend> </legend>
<table align="left" border=0> <table border=0>
<!-- new user profile --> <!-- new user profile -->
<tr> <tr>
<td> <td>
<input checked type="radio" name="profile" value="newuser"> <input type="radio" name="profile" value="newuser" checked>
</td>
<td colspan=2>
<? echo _("Create a new User Profile"); ?>
</td> </td>
<td colspan=2><? echo _("Create a new User Profile"); ?></td>
</tr> </tr>
<!-- edit user profile --> <!-- edit user profile -->
<tr> <tr>
@ -124,9 +122,7 @@ echo ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http:/
<? echo $userprofiles ?> <? echo $userprofiles ?>
</select> </select>
</td> </td>
<td> <td><? echo _("Edit User Profile"); ?></td>
<? echo _("Edit User Profile"); ?>
</td>
</tr> </tr>
<!-- delete user profile --> <!-- delete user profile -->
<tr> <tr>
@ -138,29 +134,25 @@ echo ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http:/
<? echo $userprofiles ?> <? echo $userprofiles ?>
</select> </select>
</td> </td>
<td> <td><? echo _("Delete User Profile"); ?></td>
<? echo _("Delete User Profile"); ?>
</td>
</tr> </tr>
</table> </table>
</fieldset> </fieldset>
<br> <p></p>
<!-- host profile options --> <!-- host profile options -->
<fieldset> <fieldset>
<legend> <legend>
<b> <? echo _("Samba Host Profiles"); ?> </b> <b><? echo _("Samba Host Profiles"); ?></b>
</legend> </legend>
<table align="left" border=0> <table border=0>
<!-- new host profile --> <!-- new host profile -->
<tr> <tr>
<td> <td>
<input type="radio" name="profile" value="newhost"> <input type="radio" name="profile" value="newhost">
</td> </td>
<td colspan=2> <td colspan=2><? echo _("Create a new Samba Host Profile"); ?></td>
<? echo _("Create a new Samba Host Profile"); ?>
</td>
</tr> </tr>
<!-- edit host profile --> <!-- edit host profile -->
<tr> <tr>
@ -172,9 +164,7 @@ echo ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http:/
<? echo $hostprofiles ?> <? echo $hostprofiles ?>
</select> </select>
</td> </td>
<td> <td><? echo _("Edit Samba Host Profile"); ?></td>
<? echo _("Edit Samba Host Profile"); ?>
</td>
</tr> </tr>
<!-- delete host profile --> <!-- delete host profile -->
<tr> <tr>
@ -186,21 +176,20 @@ echo ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http:/
<? echo $hostprofiles ?> <? echo $hostprofiles ?>
</select> </select>
</td> </td>
<td> <td><? echo _("Delete Samba Host Profile"); ?></td>
<? echo _("Delete Samba Host Profile"); ?>
</td>
</tr> </tr>
</table> </table>
</fieldset> </fieldset>
<br> <p></p>
<br>
<!-- forward is used to check if buttons were pressed --> <!-- forward is used to check if buttons were pressed -->
<p>
<input type="hidden" name="forward" value="yes"> <input type="hidden" name="forward" value="yes">
<input type="submit" name="submit" value="<? echo _("Submit"); ?>"> <input type="submit" name="submit" value="<? echo _("Submit"); ?>">
<input type="submit" name="abort" value="<? echo _("Abort"); ?>"> <input type="submit" name="abort" value="<? echo _("Abort"); ?>">
</p>
</form> </form>
</body> </body>