Html attributes and values are lowercase to be forward compatible with xhtml

This commit is contained in:
Jonathan Ernst
2006-06-27 16:54:22 +00:00
committed by WineHQ
parent f3c64ff48f
commit c138da9766
3 changed files with 13 additions and 13 deletions

View File

@@ -70,7 +70,7 @@ else
} }
} }
echo "<form method=\"POST\" action=\"addcomment.php\">\n"; echo "<form method=\"post\" action=\"addcomment.php\">\n";
echo html_frame_start($mesTitle,500,"",0); echo html_frame_start($mesTitle,500,"",0);
@@ -81,19 +81,19 @@ else
echo " <td>&nbsp;<input type=\"text\" size=\"35\" name=\"subject\" value=\"".$aClean['subject']."\" /> </td></tr>\n"; echo " <td>&nbsp;<input type=\"text\" size=\"35\" name=\"subject\" value=\"".$aClean['subject']."\" /> </td></tr>\n";
echo "<tr class=\"color1\"><td colspan=2><textarea name=\"body\" cols=\"70\" rows=\"15\" wrap=\"virtual\">".$aClean['body']."</textarea></td></tr>\n"; echo "<tr class=\"color1\"><td colspan=2><textarea name=\"body\" cols=\"70\" rows=\"15\" wrap=\"virtual\">".$aClean['body']."</textarea></td></tr>\n";
echo "<tr class=\"color1\"><td colspan=2 align=center>\n"; echo "<tr class=\"color1\"><td colspan=2 align=center>\n";
echo " <input type=\"SUBMIT\" value=\"Post Comment\" class=\"button\" />\n"; echo " <input type=\"submit\" value=\"Post Comment\" class=\"button\" />\n";
echo " <input type=\"RESET\" value=\"Reset\" class=\"button\" />\n"; echo " <input type=\"reset\" value=\"Reset\" class=\"button\" />\n";
echo "</td></tr>\n"; echo "</td></tr>\n";
echo "</table>\n"; echo "</table>\n";
echo html_frame_end(); echo html_frame_end();
echo "<input type=\"HIDDEN\" name=\"thread\" value=\"".$aClean['thread']."\" />\n"; echo "<input type=\"hidden\" name=\"thread\" value=\"".$aClean['thread']."\" />\n";
echo "<input type=\"HIDDEN\" name=\"appId\" value=\"".$aClean['appId']."\" />\n"; echo "<input type=\"hidden\" name=\"appId\" value=\"".$aClean['appId']."\" />\n";
echo "<input type=\"HIDDEN\" name=\"versionId\" value=\"".$aClean['versionId']."\" />\n"; echo "<input type=\"hidden\" name=\"versionId\" value=\"".$aClean['versionId']."\" />\n";
if (!empty($aClean['thread'])) if (!empty($aClean['thread']))
{ {
echo "<input type=\"HIDDEN\" name=\"originator\" value=\"$originator\" />\n"; echo "<input type=\"hidden\" name=\"originator\" value=\"$originator\" />\n";
} }
echo "</form>"; echo "</form>";
} }

View File

@@ -33,7 +33,7 @@ if($aClean['action'] == "delete" && is_numeric($aClean['userId']))
// search form // search form
echo html_frame_start("Users Management","400","",0) echo html_frame_start("Users Management","400","",0)
?> ?>
<form action="<?php echo $_SERVER['PHP_SELF'];?>" METHOD="POST"> <form action="<?php echo $_SERVER['PHP_SELF'];?>" method="post">
<table width="100%" border=0 cellpadding=0 cellspacing=0> <table width="100%" border=0 cellpadding=0 cellspacing=0>
<tr> <tr>
<td class="color1">Pattern</td> <td class="color1">Pattern</td>
@@ -52,7 +52,7 @@ echo html_frame_start("Users Management","400","",0)
<tr> <tr>
<td class="color1">Order by</td> <td class="color1">Order by</td>
<td> <td>
<select NAME="sOrderBy"> <select name="sOrderBy">
<option value="email"<?php if($aClean['sOrderBy']=="email")echo" SELECTED";?>>e-mail</option> <option value="email"<?php if($aClean['sOrderBy']=="email")echo" SELECTED";?>>e-mail</option>
<option value="realname"<?php if($aClean['sOrderBy']=="realname")echo" SELECTED";?>>real name</option> <option value="realname"<?php if($aClean['sOrderBy']=="realname")echo" SELECTED";?>>real name</option>
<option value="created"<?php if($aClean['sOrderBy']=="created")echo" SELECTED";?>>creation date</option> <option value="created"<?php if($aClean['sOrderBy']=="created")echo" SELECTED";?>>creation date</option>
@@ -60,7 +60,7 @@ echo html_frame_start("Users Management","400","",0)
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan=2 class=color3 align=center><input type="SUBMIT" name="sSubmit" value="List Users" class="button"></td> <td colspan=2 class=color3 align=center><input type="submit" name="sSubmit" value="List Users" class="button"></td>
</tr> </tr>
</table> </table>
</form> </form>

View File

@@ -33,7 +33,7 @@ if($_SESSION['current']->getPref("confirm_comment_deletion") != "no" && !isset($
{ {
apidb_header("Delete Comment"); apidb_header("Delete Comment");
$mesTitle = "<b>Please state why you are deleting the following comment</b>"; $mesTitle = "<b>Please state why you are deleting the following comment</b>";
echo "<form method=\"POST\" action=\"".$_SERVER['PHP_SELF']."\">\n"; echo "<form method=\"post\" action=\"".$_SERVER['PHP_SELF']."\">\n";
echo html_frame_start($mesTitle,500,"",0); echo html_frame_start($mesTitle,500,"",0);
echo "<br />"; echo "<br />";
echo html_frame_start($oComment->sSubject,500); echo html_frame_start($oComment->sSubject,500);
@@ -42,11 +42,11 @@ if($_SESSION['current']->getPref("confirm_comment_deletion") != "no" && !isset($
echo '<table width="100%" border=0 cellpadding=0 cellspacing=1>',"\n"; echo '<table width="100%" border=0 cellpadding=0 cellspacing=1>',"\n";
echo "<tr class=color1><td colspan=2><textarea name=\"str_why\" cols=\"70\" rows=\"15\" wrap=\"virtual\"></textarea></td></tr>\n"; echo "<tr class=color1><td colspan=2><textarea name=\"str_why\" cols=\"70\" rows=\"15\" wrap=\"virtual\"></textarea></td></tr>\n";
echo "<tr class=color1><td colspan=2 align=center>\n"; echo "<tr class=color1><td colspan=2 align=center>\n";
echo " <input type=\"SUBMIT\" value=\"Delete Comment\" class=\"button\" />\n"; echo " <input type=\"submit\" value=\"Delete Comment\" class=\"button\" />\n";
echo "</td></tr>\n"; echo "</td></tr>\n";
echo "</table>\n"; echo "</table>\n";
echo html_frame_end(); echo html_frame_end();
echo "<input type=\"HIDDEN\" name=\"int_delete_it\" value=\"1\" />\n"; echo "<input type=\"hidden\" name=\"int_delete_it\" value=\"1\" />\n";
echo "<input type=\"hidden\" name=\"commentId\" value=\"".$oComment->iCommentId."\" />"; echo "<input type=\"hidden\" name=\"commentId\" value=\"".$oComment->iCommentId."\" />";
echo "</form>"; echo "</form>";