|
From: <vv...@us...> - 2012-04-06 02:48:07
|
Revision: 5228
http://web-erp.svn.sourceforge.net/web-erp/?rev=5228&view=rev
Author: vvs2012
Date: 2012-04-06 02:48:00 +0000 (Fri, 06 Apr 2012)
Log Message:
-----------
xhtml
Modified Paths:
--------------
trunk/GLAccountInquiry.php
trunk/PDFBankingSummary.php
trunk/PDFCustomerList.php
trunk/PDFDIFOT.php
trunk/PDFDeliveryDifferences.php
trunk/PDFLowGP.php
trunk/PDFOrderStatus.php
trunk/PDFOrdersInvoiced.php
trunk/PDFPeriodStockTransListing.php
trunk/PDFPickingList.php
trunk/PDFPriceList.php
trunk/PDFPrintLabel.php
trunk/PDFSuppTransListing.php
Modified: trunk/GLAccountInquiry.php
===================================================================
--- trunk/GLAccountInquiry.php 2012-04-05 15:35:33 UTC (rev 5227)
+++ trunk/GLAccountInquiry.php 2012-04-06 02:48:00 UTC (rev 5228)
@@ -264,7 +264,7 @@
}
$FormatedTranDate = ConvertSQLDate($myrow['trandate']);
- $URL_to_TransDetail = $rootpath . '/GLTransInquiry.php?' . SID . '&TypeID=' . $myrow['type'] . '&TransNo=' . $myrow['typeno'];
+ $URL_to_TransDetail = $rootpath . '/GLTransInquiry.php?' . SID . '&TypeID=' . $myrow['type'] . '&TransNo=' . $myrow['typeno'];
$tagsql="SELECT tagdescription FROM tags WHERE tagref='".$myrow['tag'] . "'";
$tagresult=DB_query($tagsql,$db);
Modified: trunk/PDFBankingSummary.php
===================================================================
--- trunk/PDFBankingSummary.php 2012-04-05 15:35:33 UTC (rev 5227)
+++ trunk/PDFBankingSummary.php 2012-04-06 02:48:00 UTC (rev 5228)
@@ -24,9 +24,10 @@
ORDER BY transno DESC";
$result=DB_query($sql, $db);
- echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">
- <table class="selection">';
- echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
+ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
+ echo '<div>';
+ echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
+ echo '<table class="selection">';
echo '<tr><td>' . _('Select the batch number of receipts to be printed') . ':</td>';
echo '<td><select name="BatchNo">';
while ($myrow=DB_fetch_array($result)) {
@@ -39,6 +40,7 @@
<div class="centre">
<input type="submit" name="EnterBatchNo" value="' . _('Create PDF') . '" />
</div>
+ </div>
</form>';
include ('includes/footer.inc');
Modified: trunk/PDFCustomerList.php
===================================================================
--- trunk/PDFCustomerList.php 2012-04-05 15:35:33 UTC (rev 5227)
+++ trunk/PDFCustomerList.php 2012-04-06 02:48:00 UTC (rev 5228)
@@ -368,9 +368,11 @@
echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' .
$title . '" alt="" />' . ' ' . $title . '</p>';
- echo '<form action=' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . ' method="post"><table class="selection">';
+ echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">';
+ echo '<div>';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
- echo '<tr><td>' . _('For Sales Areas') . ':</td><td><select name=Areas[] multiple="multiple">';
+ echo '<table class="selection">';
+ echo '<tr><td>' . _('For Sales Areas') . ':</td><td><select name="Areas[]" multiple="multiple">';
$sql="SELECT areacode, areadescription FROM areas";
$AreasResult= DB_query($sql,$db);
@@ -383,7 +385,7 @@
echo '</select></td></tr>';
echo '<tr><td>' . _('For Sales folk'). ':</td>
- <td><select name=SalesPeople[] multiple="multiple">
+ <td><select name="SalesPeople[]" multiple="multiple">
<option selected="selected" value="All">'. _('All sales folk') . '</option>';
$sql = "SELECT salesmancode, salesmanname FROM salesman";
@@ -408,14 +410,16 @@
$DefaultActivitySince = Date($_SESSION['DefaultDateFormat'], Mktime(0,0,0,Date('m')-6,0,Date('y')));
echo '<tr>
<td>' . _('Activity Since'). ':</td>
- <td><input type="text" class=date alt="'.$_SESSION['DefaultDateFormat'].'" name="ActivitySince" size="10" maxlength="10" value="' . $DefaultActivitySince . '" /></td>
+ <td><input type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="ActivitySince" size="10" maxlength="10" value="' . $DefaultActivitySince . '" /></td>
</tr>';
echo '</table>
<br />
<div class="centre">
- <input type="submit" Name="PrintPDF" value="'. _('Print PDF'). '" />
+ <input type="submit" name="PrintPDF" value="'. _('Print PDF'). '" />
</div>';
+ echo '</div>
+ </form>';
include('includes/footer.inc');
Modified: trunk/PDFDIFOT.php
===================================================================
--- trunk/PDFDIFOT.php 2012-04-05 15:35:33 UTC (rev 5227)
+++ trunk/PDFDIFOT.php 2012-04-06 02:48:00 UTC (rev 5228)
@@ -25,7 +25,8 @@
. _('DIFOT Report') . '</p>';
echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
- echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
+ echo '<div>';
+ echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<table class="selection">
<tr>
<td>' . _('Enter the date from which variances between orders and deliveries are to be listed') . ':</td>
@@ -80,6 +81,8 @@
<div class="centre">
<input type="submit" name="Go" value="' . _('Create PDF') . '" />
</div>';
+ echo '</div>
+ </form>';
if ($InputError==1){
prnMsg($msg,'error');
Modified: trunk/PDFDeliveryDifferences.php
===================================================================
--- trunk/PDFDeliveryDifferences.php 2012-04-05 15:35:33 UTC (rev 5227)
+++ trunk/PDFDeliveryDifferences.php 2012-04-06 02:48:00 UTC (rev 5228)
@@ -22,9 +22,10 @@
include ('includes/header.inc');
echo '<div class="centre"><p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . $title . '" alt="" />' . ' '
- . _('Delivery Differences Report') . '</p>';
+ . _('Delivery Differences Report') . '</p></div>';
echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
+ echo '<div>';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<table class="selection">
<tr>
@@ -80,6 +81,8 @@
<div class="centre">
<input type="submit" name="Go" value="' . _('Create PDF') . '" />
</div>';
+ echo '</div>
+ </form>';
if ($InputError==1){
prnMsg($msg,'error');
Modified: trunk/PDFLowGP.php
===================================================================
--- trunk/PDFLowGP.php 2012-04-05 15:35:33 UTC (rev 5227)
+++ trunk/PDFLowGP.php 2012-04-06 02:48:00 UTC (rev 5228)
@@ -124,10 +124,10 @@
$_POST['FromDate']=Date($_SESSION['DefaultDateFormat']);
$_POST['ToDate']=Date($_SESSION['DefaultDateFormat']);
$_POST['GPMin']=0;
- echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">
- <table class="selection">';
- echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
-
+ echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">';
+ echo '<div>';
+ echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
+ echo '<table class="selection">';
echo '<tr><td>' . _('Sales Made From') . ' (' . _('in the format') . ' ' . $_SESSION['DefaultDateFormat'] . '):</td>
<td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="FromDate" size="10" maxlength="10" value="' . $_POST['FromDate'] . '" /></td>
</tr>';
@@ -145,6 +145,8 @@
<div class="centre">
<input type="submit" name="PrintPDF" value="' . _('Print PDF') . '" />
</div>';
+ echo '</div>
+ </form>';
}
include('includes/footer.inc');
Modified: trunk/PDFOrderStatus.php
===================================================================
--- trunk/PDFOrderStatus.php 2012-04-05 15:35:33 UTC (rev 5227)
+++ trunk/PDFOrderStatus.php 2012-04-06 02:48:00 UTC (rev 5228)
@@ -30,6 +30,7 @@
echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . $title . '" alt="" />' . ' ' . _('Order Status Report') . '</p>';
echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
+ echo '<div>';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<table class="selection">
<tr>
@@ -72,6 +73,8 @@
<div class="centre">
<input type="submit" name="Go" value="' . _('Create PDF') . '" />
</div>';
+ echo '</div>
+ </form>';
include('includes/footer.inc');
exit;
Modified: trunk/PDFOrdersInvoiced.php
===================================================================
--- trunk/PDFOrdersInvoiced.php 2012-04-05 15:35:33 UTC (rev 5227)
+++ trunk/PDFOrdersInvoiced.php 2012-04-06 02:48:00 UTC (rev 5228)
@@ -34,6 +34,7 @@
. _('Orders Invoiced Report') . '</p>';
echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
+ echo '<div>';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<table class="selection">
<tr>
@@ -68,6 +69,8 @@
echo '</table>
<br />
<div class="centre"><input type="submit" name="Go" value="' . _('Create PDF') . '" /></div>';
+ echo '</div>
+ </form>';
include('includes/footer.inc');
exit;
Modified: trunk/PDFPeriodStockTransListing.php
===================================================================
--- trunk/PDFPeriodStockTransListing.php 2012-04-05 15:35:33 UTC (rev 5227)
+++ trunk/PDFPeriodStockTransListing.php 2012-04-06 02:48:00 UTC (rev 5228)
@@ -17,14 +17,15 @@
include ('includes/header.inc');
echo '<div class="centre">
- <p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . $title . '" alt="" />' . ' '. _('Stock Transaction Listing').'</img></p>
+ <p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . $title . '" alt="" />' . ' '. _('Stock Transaction Listing').'</p>
</div>';
if ($InputError==1){
prnMsg($msg,'error');
}
- echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
+ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
+ echo '<div>';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<table class="selection">';
echo '<tr>
@@ -79,6 +80,8 @@
<div class="centre">
<input type="submit" name="Go" value="' . _('Create PDF') . '" />
</div>';
+ echo '</div>
+ </form>';
include('includes/footer.inc');
exit;
Modified: trunk/PDFPickingList.php
===================================================================
--- trunk/PDFPickingList.php 2012-04-05 15:35:33 UTC (rev 5227)
+++ trunk/PDFPickingList.php 2012-04-06 02:48:00 UTC (rev 5228)
@@ -27,6 +27,7 @@
$result=DB_query($sql, $db);
echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/sales.png" title="' . _('Search') . '" alt="" />' . ' ' . $title.'</p><br />';
echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post" name="form">';
+ echo '<div>';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<table class="selection">
<tr>
@@ -45,6 +46,7 @@
<div class="centre">
<input type="submit" name="Process" value="' . _('Print Picking Lists') . '" />
</div>
+ </div>
</form>';
include('includes/footer.inc');
exit();
Modified: trunk/PDFPriceList.php
===================================================================
--- trunk/PDFPriceList.php 2012-04-05 15:35:33 UTC (rev 5227)
+++ trunk/PDFPriceList.php 2012-04-06 02:48:00 UTC (rev 5228)
@@ -258,19 +258,22 @@
/*if $FromCriteria is not set then show a form to allow input */
- echo '<form action=' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . ' method="post"><table class="selection">';
+ echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">';
+ echo '<div>';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
+ echo '<table class="selection">';
+ echo '<tr><td>'. _('From Inventory Category Code') .':</td>
+ <td><select name="FromCriteria">';
- echo '<tr><td>'. _('From Inventory Category Code') .':</font></td><td><select name=FromCriteria>';
-
$sql='SELECT categoryid, categorydescription FROM stockcategory ORDER BY categoryid';
$CatResult= DB_query($sql,$db);
While ($myrow = DB_fetch_array($CatResult)){
- echo "<option value='" . $myrow['categoryid'] . "'>" . $myrow['categoryid'] . ' - ' . $myrow['categorydescription'];
+ echo "<option value='" . $myrow['categoryid'] . "'>" . $myrow['categoryid'] . ' - ' . $myrow['categorydescription'] . '</option>';
}
echo '</select></td></tr>';
- echo '<tr><td>' . _('To Inventory Category Code'). ':</td><td><select name=ToCriteria>';
+ echo '<tr><td>' . _('To Inventory Category Code'). ':</td>
+ <td><select name="ToCriteria">';
/*Set the index for the categories result set back to 0 */
DB_data_seek($CatResult,0);
@@ -297,7 +300,7 @@
echo '</select></td></tr>';
echo '<tr><td>' . _('Price Listing Type'). ':</td><td><select name="CustomerSpecials">';
- echo '<option selected="selected" value="Sales Type Prices">'. _('Default Sales Type Prices');
+ echo '<option selected="selected" value="Sales Type Prices">'. _('Default Sales Type Prices') . '</option>';
echo '<option value="Customer Special Prices Only">'. _('Customer Special Prices Only') . '</option>';
echo '<option value="Full Description">'. _('Full Description') . '</option>';
echo '</select></td></tr>';
@@ -306,7 +309,9 @@
echo '<td><input type="text" size="11" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="EffectiveDate" value="' . Date($_SESSION['DefaultDateFormat']) . '" />';
echo '</td></tr>';
- echo '</table><br /><div class="centre"><input type="submit" Name="PrintPDF" value="'. _('Print PDF'). '" /></div>';
+ echo '</table><br /><div class="centre"><input type="submit" name="PrintPDF" value="'. _('Print PDF'). '" /></div>';
+ echo '</div>
+ </form>';
}
include('includes/footer.inc');
Modified: trunk/PDFPrintLabel.php
===================================================================
--- trunk/PDFPrintLabel.php 2012-04-05 15:35:33 UTC (rev 5227)
+++ trunk/PDFPrintLabel.php 2012-04-06 02:48:00 UTC (rev 5228)
@@ -127,18 +127,19 @@
<input type="submit" name="PDFTest" value="'. _('Print labels with borders') .'" /></div>';
$iTxt=0;
- echo "<script type=\"text/javascript\">
+ echo '<script type="text/javascript">
function setAll(all) {
- var x=document.getElementById('form1');
+ var x=document.getElementById("form1");
for (var i=0;i<x.length;i++) {
- if (x.elements[i].id=='item');
+ if (x.elements[i].id=="item");
x.elements[i].checked=all.checked;
}
}
- </script>";
+ </script>';
echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . ' ' .$txt[$iTxt++].'</p>';
- echo '<form name ="form1" action="'.htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8').'" method="post" id="form1">';
+ echo '<form action="'.htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8').'" method="post" id="form1">';
+ echo '<div>';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<table class="selection">';
echo '<tbody>';
@@ -159,7 +160,8 @@
'.$OptionSales.'
</select></td>
</tr>';
- echo '<td class="number">'.$txt[$iTxt++].':</td>
+ echo '<tr>
+ <td class="number">'.$txt[$iTxt++].':</td>
<td><select name="Currency" onchange="ReloadForm(form1.refresh)">
'.$OptionCurrency.'
</select></td>
@@ -171,11 +173,12 @@
</select> </td>
</tr>';
echo '<tr><td class="number">'.$txt[$iTxt++].':</td>
- <td><input type="text" class=date alt="'.$_SESSION['DefaultDateFormat'].'" name="EffectiveDate" size="11" maxlength="10" value="' . $_POST['EffectiveDate'] . '" /></td></tr>';
+ <td><input type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="EffectiveDate" size="11" maxlength="10" value="' . $_POST['EffectiveDate'] . '" /></td></tr>';
echo '<tr>
<th colspan="2">
<input type="submit" name="refresh" value="' . _('Refresh options') . '" />
- </th>';
+ </th>
+ </tr>';
echo '<tr>
<td colspan="2">
'.$TableItems.'
@@ -184,6 +187,7 @@
echo '</tbody>
</table>
'.$SendButton.'
+ </div>
</form>';
}
@@ -224,7 +228,7 @@
function selectOptions($list, $currentKey) {
$html='';
foreach ($list as $key=>$value) {
- $xs = ($currentKey==$key) ? " selected":"";
+ $xs = ($currentKey==$key) ? ' selected="selected"':'';
$html .= '
<option value="'. $key .'"'. $xs .'>'. $value. '</option>';
}
@@ -258,7 +262,7 @@
<th>'.$txt[$ix++].'</th>
<th>'.$txt[$ix++].'</th>
<th colspan="2" align="center">'.$txt[$ix++].'
- <input type="checkbox" checked onclick="setAll(this);" />
+ <input type="checkbox" checked="checked" onclick="setAll(this);" />
</th>
</tr>
</thead>
@@ -276,7 +280,7 @@
<td>{$myrow['description']}</td>
<td class="number">{$price}</td>
<td><div class="centre">
- <input type="checkbox" checked name="StockID[{$myrow['stockid']}]" id="item" />
+ <input type="checkbox" checked="checked" name="StockID[{$myrow['stockid']}]" id="item" />
</div>
</td>
<td> </td>
@@ -285,8 +289,7 @@
}
return $html . '
</tbody>
- </table>
- </div>';
+ </table>';
}
function noneButton($msg) {
Modified: trunk/PDFSuppTransListing.php
===================================================================
--- trunk/PDFSuppTransListing.php 2012-04-05 15:35:33 UTC (rev 5227)
+++ trunk/PDFSuppTransListing.php 2012-04-06 02:48:00 UTC (rev 5228)
@@ -18,19 +18,20 @@
include ('includes/header.inc');
echo '<div class="centre"><p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . $title . '" alt="" />' . ' '
- . _('Supplier Transaction Listing').'</p>';
+ . _('Supplier Transaction Listing').'</p></div>';
if ($InputError==1){
prnMsg($msg,'error');
}
echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
- echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
+ echo '<div>';
+ echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<table class="selection">
- <tr>
+ <tr>
<td>' . _('Enter the date for which the transactions are to be listed') . ':</td>
<td><input type="text" name="Date" maxlength="10" size="10" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" value="' . Date($_SESSION['DefaultDateFormat']) . '" /></td>
- <tr>';
+ </tr>';
echo '<tr>
<td>' . _('Transaction type') . '</td>
@@ -46,6 +47,8 @@
<div class="centre">
<input type="submit" name="Go" value="' . _('Create PDF') . '" />
</div>';
+ echo '</div>
+ </form>';
include('includes/footer.inc');
exit;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|