fixed many HTML errors

This commit is contained in:
Roland Gruber 2003-06-01 17:51:06 +00:00
parent 145c71e18b
commit 17efd562fb
1 changed files with 10 additions and 13 deletions

View File

@ -86,6 +86,8 @@ 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 ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n");
?> ?>
<html> <html>
@ -107,7 +109,6 @@ for ($i = 0; $i < sizeof($hstprof); $i++) {
<tr> <tr>
<td> <td>
<input checked type="radio" name="profile" value="newuser"> <input checked type="radio" name="profile" value="newuser">
</input>
</td> </td>
<td colspan=2> <td colspan=2>
<? echo _("Create a new User Profile"); ?> <? echo _("Create a new User Profile"); ?>
@ -117,12 +118,11 @@ for ($i = 0; $i < sizeof($hstprof); $i++) {
<tr> <tr>
<td> <td>
<input type="radio" name="profile" value="edituser"> <input type="radio" name="profile" value="edituser">
</input>
</td> </td>
<td> <td>
<select name="e_user" size=1> <select name="e_user" size=1>
<? echo $userprofiles ?> <? echo $userprofiles ?>
<select> </select>
</td> </td>
<td> <td>
<? echo _("Edit User Profile"); ?> <? echo _("Edit User Profile"); ?>
@ -132,12 +132,11 @@ for ($i = 0; $i < sizeof($hstprof); $i++) {
<tr> <tr>
<td> <td>
<input type="radio" name="profile" value="deluser"> <input type="radio" name="profile" value="deluser">
</input>
</td> </td>
<td> <td>
<select name="d_user" size=1> <select name="d_user" size=1>
<? echo $userprofiles ?> <? echo $userprofiles ?>
<select> </select>
</td> </td>
<td> <td>
<? echo _("Delete User Profile"); ?> <? echo _("Delete User Profile"); ?>
@ -158,7 +157,6 @@ for ($i = 0; $i < sizeof($hstprof); $i++) {
<tr> <tr>
<td> <td>
<input type="radio" name="profile" value="newhost"> <input type="radio" name="profile" value="newhost">
</input>
</td> </td>
<td colspan=2> <td colspan=2>
<? echo _("Create a new Samba Host Profile"); ?> <? echo _("Create a new Samba Host Profile"); ?>
@ -168,12 +166,11 @@ for ($i = 0; $i < sizeof($hstprof); $i++) {
<tr> <tr>
<td> <td>
<input type="radio" name="profile" value="edithost"> <input type="radio" name="profile" value="edithost">
</input>
</td> </td>
<td> <td>
<select name="e_host" size=1> <select name="e_host" size=1>
<? echo $hostprofiles ?> <? echo $hostprofiles ?>
<select> </select>
</td> </td>
<td> <td>
<? echo _("Edit Samba Host Profile"); ?> <? echo _("Edit Samba Host Profile"); ?>
@ -183,12 +180,11 @@ for ($i = 0; $i < sizeof($hstprof); $i++) {
<tr> <tr>
<td> <td>
<input type="radio" name="profile" value="delhost"> <input type="radio" name="profile" value="delhost">
</input>
</td> </td>
<td> <td>
<select name="d_host" size=1> <select name="d_host" size=1>
<? echo $hostprofiles ?> <? echo $hostprofiles ?>
<select> </select>
</td> </td>
<td> <td>
<? echo _("Delete Samba Host Profile"); ?> <? echo _("Delete Samba Host Profile"); ?>
@ -201,10 +197,11 @@ for ($i = 0; $i < sizeof($hstprof); $i++) {
<br> <br>
<!-- forward is used to check if buttons were pressed --> <!-- forward is used to check if buttons were pressed -->
<input type="hidden" name="forward" value="yes"></input> <input type="hidden" name="forward" value="yes">
<input type="submit" name="submit" value="<? echo _("Submit"); ?>"></input> <input type="submit" name="submit" value="<? echo _("Submit"); ?>">
<input type="submit" name="abort" value="<? echo _("Abort"); ?>"></input> <input type="submit" name="abort" value="<? echo _("Abort"); ?>">
</form>
</body> </body>
</html> </html>