From: <ex...@us...> - 2013-08-15 04:59:10
|
Revision: 6224 http://sourceforge.net/p/web-erp/reponame/6224 Author: exsonqu Date: 2013-08-15 04:59:04 +0000 (Thu, 15 Aug 2013) Log Message: ----------- 15/8/2013 Exson: Make TaxGroups.php html5 compatible. Modified Paths: -------------- trunk/TaxGroups.php Modified: trunk/TaxGroups.php =================================================================== --- trunk/TaxGroups.php 2013-08-15 04:24:28 UTC (rev 6223) +++ trunk/TaxGroups.php 2013-08-15 04:59:04 UTC (rev 6224) @@ -169,8 +169,8 @@ } else { echo '<table class="selection"> <tr> - <th>' . _('Group No') . '</th> - <th>' . _('Tax Group') . '</th> + <th class="assending" onclick="SortSelect(this)" >' . _('Group No') . '</th> + <th class="assending" onclick="SortSelect(this)" >' . _('Tax Group') . '</th> </tr>'; $k=0; //row colour counter @@ -237,7 +237,7 @@ $_POST['GroupName']=''; } echo '<tr><td>' . _('Tax Group') . ':</td> - <td><input type="text" name="GroupName" size="40" maxlength="40" value="' . $_POST['GroupName'] . '" /></td>'; + <td><input pattern="(?!^ +$)[^><+-]{4,}" title="'._('The group name must be more 4 and less than 40 characters and cannot be left blank').'" placeholder="'._('4 to 40 legal characters').'" type="text" name="GroupName" size="40" maxlength="40" value="' . $_POST['GroupName'] . '" /></td>'; echo '<td><input type="submit" name="submit" value="' . _('Enter Group') . '" /></td> </tr> </table> @@ -305,7 +305,7 @@ } echo '<td>' . $TaxAuthRow[$i]['taxname'] . '</td> - <td><input type="text" class="number" name="CalcOrder_' . $TaxAuthRow[$i]['taxauthid'] . '" value="' . $TaxAuthRow[$i]['calculationorder'] . '" size="2" maxlength="2" style="width: 100%" /></td> + <td><input type="text" class="integer" pattern="[1-4]{1}" title="'._('The input must be positive integer and less than 5').'" name="CalcOrder_' . $TaxAuthRow[$i]['taxauthid'] . '" value="' . $TaxAuthRow[$i]['calculationorder'] . '" size="2" maxlength="2" style="width: 100%" /></td> <td><select name="TaxOnTax_' . $TaxAuthRow[$i]['taxauthid'] . '" style="width: 100%">'; if ($TaxAuthRow[$i]['taxontax']==1){ echo '<option selected="selected" value="1">' . _('Yes') . '</option>'; @@ -412,4 +412,4 @@ include('includes/footer.inc'); -?> \ No newline at end of file +?> |