ChangeSet ID: 26081 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner@winehq.org 2006/06/27 11:54:22
Modified files: . : addcomment.php deletecomment.php admin : adminUsers.php
Log message: Jonathan Ernst jonathan@ernstfamily.ch Html attributes and values are lowercase to be forward compatible with xhtml
Patch: http://cvs.winehq.org/patch.py?id=26081
Old revision New revision Changes Path 1.22 1.23 +7 -7 appdb/addcomment.php 1.22 1.23 +3 -3 appdb/deletecomment.php 1.6 1.7 +3 -3 appdb/admin/adminUsers.php
Index: appdb/addcomment.php diff -u -p appdb/addcomment.php:1.22 appdb/addcomment.php:1.23 --- appdb/addcomment.php:1.22 27 Jun 2006 16:54:22 -0000 +++ appdb/addcomment.php 27 Jun 2006 16:54:22 -0000 @@ -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);
@@ -81,19 +81,19 @@ else echo " <td> <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 align=center>\n"; - echo " <input type="SUBMIT" value="Post Comment" class="button" />\n"; - echo " <input type="RESET" value="Reset" class="button" />\n"; + echo " <input type="submit" value="Post Comment" class="button" />\n"; + echo " <input type="reset" value="Reset" class="button" />\n"; echo "</td></tr>\n"; echo "</table>\n";
echo html_frame_end();
- 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="versionId" value="".$aClean['versionId']."" />\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="versionId" value="".$aClean['versionId']."" />\n"; if (!empty($aClean['thread'])) { - echo "<input type="HIDDEN" name="originator" value="$originator" />\n"; + echo "<input type="hidden" name="originator" value="$originator" />\n"; } echo "</form>"; } Index: appdb/deletecomment.php diff -u -p appdb/deletecomment.php:1.22 appdb/deletecomment.php:1.23 --- appdb/deletecomment.php:1.22 27 Jun 2006 16:54:22 -0000 +++ appdb/deletecomment.php 27 Jun 2006 16:54:22 -0000 @@ -33,7 +33,7 @@ if($_SESSION['current']->getPref("confir { apidb_header("Delete Comment"); $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 "<br />"; echo html_frame_start($oComment->sSubject,500); @@ -42,11 +42,11 @@ if($_SESSION['current']->getPref("confir 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 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 "</table>\n"; 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 "</form>";
Index: appdb/admin/adminUsers.php diff -u -p appdb/admin/adminUsers.php:1.6 appdb/admin/adminUsers.php:1.7 --- appdb/admin/adminUsers.php:1.6 27 Jun 2006 16:54:22 -0000 +++ appdb/admin/adminUsers.php 27 Jun 2006 16:54:22 -0000 @@ -33,7 +33,7 @@ if($aClean['action'] == "delete" && is_n // search form 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> <tr> <td class="color1">Pattern</td> @@ -52,7 +52,7 @@ echo html_frame_start("Users Management" <tr> <td class="color1">Order by</td> <td> - <select NAME="sOrderBy"> + <select name="sOrderBy"> <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="created"<?php if($aClean['sOrderBy']=="created")echo" SELECTED";?>>creation date</option> @@ -60,7 +60,7 @@ echo html_frame_start("Users Management" </td> </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> </table> </form>