|
From: <vv...@us...> - 2012-03-11 19:41:17
|
Revision: 5063
http://web-erp.svn.sourceforge.net/web-erp/?rev=5063&view=rev
Author: vvs2012
Date: 2012-03-11 19:41:09 +0000 (Sun, 11 Mar 2012)
Log Message:
-----------
xhtml
Modified Paths:
--------------
trunk/CustEDISetup.php
trunk/CustLoginSetup.php
trunk/CustWhereAlloc.php
trunk/CustomerAllocations.php
trunk/CustomerBranches.php
trunk/CustomerInquiry.php
trunk/CustomerReceipt.php
trunk/CustomerTransInquiry.php
trunk/CustomerTypes.php
trunk/Customers.php
trunk/GLAccounts.php
trunk/MRPDemands.php
trunk/PaymentMethods.php
trunk/PcTabs.php
trunk/SalesTypes.php
trunk/SelectCustomer.php
trunk/SelectOrderItems.php
trunk/WorkCentres.php
Modified: trunk/CustEDISetup.php
===================================================================
--- trunk/CustEDISetup.php 2012-03-11 09:13:20 UTC (rev 5062)
+++ trunk/CustEDISetup.php 2012-03-11 19:41:09 UTC (rev 5063)
@@ -28,7 +28,7 @@
if (ContainsIllegalCharacters($_POST['EDIReference'])
OR mb_strstr($_POST['EDIReference'],' ')) {
$InputError = 1;
- prnMsg(_('The customers EDI reference code cannot contain any of the following characters') .' - \' & + \" ' . _('or a space'),'warn');
+ prnMsg(_('The customers EDI reference code cannot contain any of the following characters') .' - \' & + \" ' . _('or a space'),'warn');
}
if (mb_strlen($_POST['EDIReference'])<4 AND ($_POST['EDIInvoices']==1 OR $_POST['EDIOrders']==1)){
$InputError = 1;
@@ -70,6 +70,7 @@
}
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 '<br /><table class="selection">';
@@ -108,7 +109,7 @@
echo '<option selected="selected" value="1">'._('Enabled') . '</option>';
}
-echo '</select><a href="' . $rootpath . '/EDIMessageFormat.php?MessageType=INVOIC&PartnerCode=' . $_SESSION['CustomerID'] . '">'._('Create') . '/' . _('Edit Invoice Message Format').'</a></td>
+echo '</select><a href="' . $rootpath . '/EDIMessageFormat.php?MessageType=INVOIC&PartnerCode=' . $_SESSION['CustomerID'] . '">'._('Create') . '/' . _('Edit Invoice Message Format').'</a></td>
</tr>';
echo '<tr><td>'._('Enable Receiving of EDI Orders') . ':</td>
@@ -157,6 +158,7 @@
echo '</table>
<br /><div class="centre"><input tabindex="8" type="submit" name="submit" value="' ._('Update EDI Configuration'). '" /></div>
+ </div>
</form>';
include('includes/footer.inc');
Modified: trunk/CustLoginSetup.php
===================================================================
--- trunk/CustLoginSetup.php 2012-03-11 09:13:20 UTC (rev 5062)
+++ trunk/CustLoginSetup.php 2012-03-11 19:41:09 UTC (rev 5063)
@@ -48,7 +48,7 @@
prnMsg(_('The user ID entered must be at least 4 characters long'),'error');
} elseif (ContainsIllegalCharacters($_POST['UserID']) OR mb_strstr($_POST['UserID'],' ')) {
$InputError = 1;
- prnMsg(_('User names cannot contain any of the following characters') . " - ' & + \" \\ " . _('or a space'),'error');
+ prnMsg(_('User names cannot contain any of the following characters') . " - ' & + \" \\ " . _('or a space'),'error');
} elseif (mb_strlen($_POST['Password'])<5){
if (!$SelectedUser){
$InputError = 1;
@@ -124,6 +124,7 @@
}
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">
@@ -147,7 +148,7 @@
echo '<tr>
<td>' . _('Password') . ':</td>
- <td><input type="password" name="Password" size="22" maxlength="20" value="' . $_POST['Password'] . '" />
+ <td><input type="password" name="Password" size="22" maxlength="20" value="' . $_POST['Password'] . '" /></td>
</tr>
<tr>
<td>' . _('Full Name') . ':</td>
@@ -161,9 +162,9 @@
<td>' . _('Email Address') .':</td>
<td><input type="text" name="Email" value="' . $_POST['Email'] .'" size="32" maxlength="55" /></td>
</tr>
- <input type="hidden" name="Access" value="1" />
- <tr>
- <td>' . _('Branch Code') . ':</td>
+ <tr>
+ <td><input type="hidden" name="Access" value="1" />
+ ' . _('Branch Code') . ':</td>
<td><select name="BranchCode">';
$sql = "SELECT branchcode FROM custbranch WHERE debtorno = '" . $_SESSION['CustomerID'] . "'";
@@ -182,7 +183,7 @@
echo '<option value="' . $myrow['branchcode'] . '">' . $myrow['branchcode'] . '</option>';
}
}
-
+echo '</select></td></tr>';
echo '<tr><td>' . _('Reports Page Size') .':</td>
<td><select name="PageSize">';
@@ -271,6 +272,7 @@
<div class="centre">
<input type="submit" name="submit" value="' . _('Enter Information') . '" />
</div>
+ </div>
</form>';
if (isset($_GET['SelectedUser'])) {
Modified: trunk/CustWhereAlloc.php
===================================================================
--- trunk/CustWhereAlloc.php 2012-03-11 09:13:20 UTC (rev 5062)
+++ trunk/CustWhereAlloc.php 2012-03-11 19:41:09 UTC (rev 5063)
@@ -7,6 +7,7 @@
include('includes/header.inc');
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 '<p class="page_title_text">
@@ -153,7 +154,7 @@
} // end if there are allocations against the transaction
} //got the ID of the transaction to find allocations for
}
-
+echo '</div>';
echo '</form>';
include('includes/footer.inc');
Modified: trunk/CustomerAllocations.php
===================================================================
--- trunk/CustomerAllocations.php 2012-03-11 09:13:20 UTC (rev 5062)
+++ trunk/CustomerAllocations.php 2012-03-11 19:41:09 UTC (rev 5063)
@@ -337,16 +337,17 @@
if (isset($_POST['AllocTrans'])) {
// Page called with trans number
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 '<input type="hidden" name="AllocTrans" value="' . $_POST['AllocTrans'] . '" />';
// Show trans already allocated and potential new allocations
- echo '<p><table class="selection">';
+ echo '<table class="selection">';
echo '<tr>
<th colspan="7">
<div class="centre">
- <font color="blue"><b>' . $_SESSION['Alloc']->DebtorNo . ' - ' . $_SESSION['Alloc']->CustomerName . '</b></font>
+ <b>' . $_SESSION['Alloc']->DebtorNo . ' - ' . $_SESSION['Alloc']->CustomerName . '</b>
</div>';
if ($_SESSION['Alloc']->TransExRate != 1) {
@@ -397,8 +398,8 @@
<td class="number">' . locale_number_format($balance,$_SESSION['Alloc']->CurrDecimalPlaces) . '</td>
</tr>';
} else {
- echo '<input type="hidden" name="YetToAlloc' . $Counter . '" value="' . round($YetToAlloc,$_SESSION['Alloc']->CurrDecimalPlaces) . '" /></td>';
- echo '<td class="number"><input tabindex="' . $j .'" type="checkbox" name="All' . $Counter . '"';
+ echo '<td class="number"><input type="hidden" name="YetToAlloc' . $Counter . '" value="' . round($YetToAlloc,$_SESSION['Alloc']->CurrDecimalPlaces) . '" />';
+ echo '<input tabindex="' . $j .'" type="checkbox" name="All' . $Counter . '"';
if (ABS($AllocnItem->AllocAmt-$YetToAlloc) < 0.01) {
echo ' checked="checked" />';
@@ -418,10 +419,11 @@
echo '<tr>
<td colspan="5" class="number"><b>'._('Total Allocated').':</b></td>
- <td class="number"><b><u>' . locale_number_format($TotalAllocated,$_SESSION['Alloc']->CurrDecimalPlaces) . '</u></b></td>';
+ <td class="number"><b>' . locale_number_format($TotalAllocated,$_SESSION['Alloc']->CurrDecimalPlaces) . '</b></td>';
$j++;
echo '<td colspan="2">
<input tabindex="'.$j.'" type="submit" name="RefreshAllocTotal" value="' . _('Recalculate Total To Allocate') . '" /></td>
+ </tr>
<tr>
<td colspan="5" class="number"><b>'._('Left to allocate').'</b></td>
<td class="number"><b>' . locale_number_format(-$_SESSION['Alloc']->TransAmt-$TotalAllocated,$_SESSION['Alloc']->CurrDecimalPlaces).'</b></td>
@@ -432,7 +434,9 @@
<div class="centre">
<input tabindex="' . $j . '" type="submit" name="UpdateDatabase" value="' . _('Process Allocations') . '" />
<input tabindex="' . $j . '" type="submit" name="Cancel" value="' . _('Cancel') . '" />
- </div>';
+ </div>
+ </div>
+ </form>';
} elseif (isset($_GET['DebtorNo'])) {
// Page called with customer code
@@ -488,9 +492,9 @@
<td class="number">' . locale_number_format($myrow['total'],$myrow['currdecimalplaces']) . '</td>
<td class="number">' . locale_number_format($myrow['total']-$myrow['alloc'],$myrow['currdecimalplaces']) . '</td>
<td>' . $myrow['currcode'] . '</td>';
- echo '<td><a href=' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'). '?AllocTrans=' . $myrow['id'] . '>' . _('Allocate') . '</a></td></tr>';
+ echo '<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'). '?AllocTrans=' . $myrow['id'] . '">' . _('Allocate') . '</a></td></tr>';
}
- echo '</table><p>';
+ echo '</table>';
} else {
/* Page called with no parameters */
unset($_SESSION['Alloc']->Allocs);
@@ -529,7 +533,7 @@
$k=0;
while ($myrow = DB_fetch_array($result)) {
- $AllocateLink = '<a href=' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'). '?AllocTrans=' . $myrow['id'] . '>' . _('Allocate') . '</a>';
+ $AllocateLink = '<a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'). '?AllocTrans=' . $myrow['id'] . '">' . _('Allocate') . '</a>';
if ( $CurrentDebtor != $myrow['debtorno'] ) {
if ( $CurrentTransaction > 1 ) {
@@ -595,10 +599,7 @@
<br />';
}
-echo '</td>
- </tr>
- </table>';
-
+
include('includes/footer.inc');
?>
Modified: trunk/CustomerBranches.php
===================================================================
--- trunk/CustomerBranches.php 2012-03-11 09:13:20 UTC (rev 5062)
+++ trunk/CustomerBranches.php 2012-03-11 19:41:09 UTC (rev 5063)
@@ -48,7 +48,7 @@
if (ContainsIllegalCharacters($_POST['BranchCode']) OR mb_strstr($_POST['BranchCode'],' ')) {
$InputError = 1;
- prnMsg(_('The Branch code cannot contain any of the following characters')." - & \'",'error');
+ prnMsg(_('The Branch code cannot contain any of the following characters')." - & \'",'error');
$Errors[$i] = 'BranchCode';
$i++;
}
@@ -104,8 +104,8 @@
echo '<div class="warn">' . _('Warning - Geocode Integration is enabled, but no hosts are setup. Go to Geocode Setup') . '</div>';
} else {
$address = $_POST['BrAddress1'] . ', ' . $_POST['BrAddress2'] . ', ' . $_POST['BrAddress3'] . ', ' . $_POST['BrAddress4'];
- $base_url = 'http://' . MAPS_HOST . '/maps/geo?output=xml&key=' . KEY;
- $request_url = $base_url . '&q=' . urlencode($address);
+ $base_url = 'http://' . MAPS_HOST . '/maps/geo?output=xml&key=' . KEY;
+ $request_url = $base_url . '&q=' . urlencode($address);
$xml = simplexml_load_string(utf8_encode(file_get_contents($request_url))) or die('url not loading');
$coordinates = $xml->Response->Placemark->Point->coordinates;
$coordinatesSplit = explode(",", $coordinates);
@@ -360,7 +360,7 @@
$TotalEnable = 0;
$TotalDisable = 0;
if ($myrow) {
- echo '<p Class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="" />
+ echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="" />
' . ' ' . _('Branches defined for'). ' '. $DebtorNo . ' - ' . $myrow[0] . '</p>';
echo '<table class="selection">
<tr>
@@ -396,8 +396,8 @@
<td><a href="Mailto:%s">%s</a></td>
<td>%s</td>
<td>%s</td>
- <td><a href="%s?DebtorNo=%s&SelectedBranch=%s">%s</td>
- <td><a href="%s?DebtorNo=%s&SelectedBranch=%s&delete=yes" onclick=\'return confirm("' . _('Are you sure you wish to delete this branch?') . '");\'>%s</td></tr>',
+ <td><a href="%s?DebtorNo=%s&SelectedBranch=%s">%s</a></td>
+ <td><a href="%s?DebtorNo=%s&SelectedBranch=%s&delete=yes" onclick=\'return confirm("' . _('Are you sure you wish to delete this branch?') . '");\'>%s</a></td></tr>',
$myrow[10],
$myrow[2],
$myrow[5],
@@ -464,6 +464,7 @@
if (!isset($_GET['delete'])) {
echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') .'">';
+ echo '<div>';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
if (isset($SelectedBranch)) {
@@ -536,10 +537,10 @@
echo '<input type="hidden" name="SelectedBranch" value="' . $SelectedBranch . '" />';
echo '<input type="hidden" name="BranchCode" value="' . $_POST['BranchCode'] . '" />';
- echo '<p Class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="" />
+ echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="" />
' . ' ' . _('Change Details for Branch'). ' '. $SelectedBranch . '</p>';
if (isset($SelectedBranch)) {
- echo '<div class="centre"><a href=' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?DebtorNo=' . $DebtorNo. '>' . _('Show all branches defined for'). ' '. $DebtorNo . '</a></div>';
+ echo '<div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?DebtorNo=' . $DebtorNo. '">' . _('Show all branches defined for'). ' '. $DebtorNo . '</a></div>';
}
echo '<br />
<table class="selection">
@@ -583,7 +584,7 @@
if (!isset($_POST['BranchCode'])) {
$_POST['BranchCode']='';
}
- echo '<p Class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="" />' . ' ' . _('Add a Branch').'</p>';
+ echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="" />' . ' ' . _('Add a Branch').'</p>';
echo '<table class="selection">
<tr>
<td>'._('Branch Code'). ':</td>
@@ -593,11 +594,12 @@
}
- echo '<input type="hidden" name="DebtorNo" value="'. $DebtorNo . '" />';
+ echo '<tr>
+ <td>';
+ echo '<input type="hidden" name="DebtorNo" value="'. $DebtorNo . '" />';
- echo '<tr>
- <td>'._('Branch Name').':</td>';
+ echo _('Branch Name').':</td>';
if (!isset($_POST['BrName'])) {$_POST['BrName']='';}
echo '<td><input tabindex="2" type="text" name="BrName" size="41" maxlength="40" value="'. $_POST['BrName'].'" /></td>
</tr>';
@@ -904,6 +906,7 @@
<div class="centre">
<input tabindex="28" type="submit" name="submit" value="' . _('Enter Branch') . '" />
</div>
+ </div>
</form>';
} //end if record deleted no point displaying form to add record
Modified: trunk/CustomerInquiry.php
===================================================================
--- trunk/CustomerInquiry.php 2012-03-11 09:13:20 UTC (rev 5062)
+++ trunk/CustomerInquiry.php 2012-03-11 19:41:09 UTC (rev 5063)
@@ -135,11 +135,11 @@
echo '<table class="selection" width="70%">
<tr>
- <th width="20%">' . _('Total Balance') . '</th>
- <th width="20%">' . _('Current') . '</th>
- <th width="20%">' . _('Now Due') . '</th>
- <th width="20%">' . $_SESSION['PastDueDays1'] . '-' . $_SESSION['PastDueDays2'] . ' ' . _('Days Overdue') . '</th>
- <th width="20%">' . _('Over') . ' ' . $_SESSION['PastDueDays2'] . ' ' . _('Days Overdue') . '</th></tr>';
+ <th style="width:20%">' . _('Total Balance') . '</th>
+ <th style="width:20%">' . _('Current') . '</th>
+ <th style="width:20%">' . _('Now Due') . '</th>
+ <th style="width:20%">' . $_SESSION['PastDueDays1'] . '-' . $_SESSION['PastDueDays2'] . ' ' . _('Days Overdue') . '</th>
+ <th style="width:20%">' . _('Over') . ' ' . $_SESSION['PastDueDays2'] . ' ' . _('Days Overdue') . '</th></tr>';
echo '<tr>
<td class="number">' . locale_number_format($CustomerRecord['balance'],$CustomerRecord['decimalplaces']) . '</td>
@@ -153,11 +153,13 @@
echo '<br />
<div class="centre">
<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">
+ <div>
<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'
. _('Show all transactions after') . ': <input tabindex="1" type="text" class="date" alt="' .$_SESSION['DefaultDateFormat']. '" id="datepicker" name="TransAfterDate" value="' . $_POST['TransAfterDate'] . '" maxlength="10" size="12" />
<input tabindex="2" type="submit" name="Refresh Inquiry" value="' . _('Refresh Inquiry') . '" />
- </div>
+ </div>
</form>
+ </div>
<br />';
$DateAfterCriteria = FormatDateForSQL($_POST['TransAfterDate']);
@@ -237,22 +239,22 @@
<td>%s</td>
<td>%s</td>
<td>%s</td>
- <td width="200">%s</td>
+ <td style="width:200px">%s</td>
<td>%s</td>
<td class="number">%s</td>
<td class="number">%s</td>
<td class="number">%s</td>';
- $CreditInvoiceFormatString = '<td><a href="%s/Credit_Invoice.php?InvoiceNumber=%s">' . _('Credit ') .'<img src="%s/credit.gif" title="' . _('Click to credit the invoice') . '" /></a></td>';
+ $CreditInvoiceFormatString = '<td><a href="%s/Credit_Invoice.php?InvoiceNumber=%s">' . _('Credit ') .'<img src="%s/credit.gif" title="' . _('Click to credit the invoice') . '" alt="" /></a></td>';
- $PreviewInvoiceFormatString = '<td><a href="%s/PrintCustTrans.php?FromTransNo=%s&InvOrCredit=Invoice">' . _('HTML ') . '<img src="%s/preview.gif" title="' . _('Click to preview the invoice') . '" /></a></td>
- <td><a href="%s/%s?FromTransNo=%s&InvOrCredit=Invoice&PrintPDF=True">' . _('PDF ') . '<img src="%s/css/' . $theme . '/images/pdf.png" title="' . _('Click for PDF') . '" /></a></td>
- <td><a href="%s/EmailCustTrans.php?FromTransNo=%s&InvOrCredit=Invoice">' . _('Email ') . '<img src="%s/email.gif" title="' . _('Click to email the invoice') . '" /></a></td>';
+ $PreviewInvoiceFormatString = '<td><a href="%s/PrintCustTrans.php?FromTransNo=%s&InvOrCredit=Invoice">' . _('HTML ') . '<img src="%s/preview.gif" title="' . _('Click to preview the invoice') . '" alt="" /></a></td>
+ <td><a href="%s/%s?FromTransNo=%s&InvOrCredit=Invoice&PrintPDF=True">' . _('PDF ') . '<img src="%s/css/' . $theme . '/images/pdf.png" title="' . _('Click for PDF') . '" alt="" /></a></td>
+ <td><a href="%s/EmailCustTrans.php?FromTransNo=%s&InvOrCredit=Invoice">' . _('Email ') . '<img src="%s/email.gif" title="' . _('Click to email the invoice') . '" alt="" /></a></td>';
- $PreviewCreditFormatString = '<td><a href="%s/PrintCustTrans.php?FromTransNo=%s&InvOrCredit=Credit">' . _('HTML ') . ' <IMG SRC="%s/preview.gif" title="' . _('Click to preview the credit note') . '" /></a></td>
- <td><a href="%s/%s?FromTransNo=%s&InvOrCredit=Credit&PrintPDF=True">' . _('PDF ') . '<img src="%s/css/' . $theme . '/images/pdf.png" title="' . _('Click for PDF') . '" /></a></td>
- <td><a href="%s/EmailCustTrans.php?FromTransNo=%s&InvOrCredit=Credit">' . _('Email') . ' <img src="%s/email.gif" title="' . _('Click to email the credit note') . '" /></a></td>';
+ $PreviewCreditFormatString = '<td><a href="%s/PrintCustTrans.php?FromTransNo=%s&InvOrCredit=Credit">' . _('HTML ') . ' <IMG SRC="%s/preview.gif" title="' . _('Click to preview the credit note') . '" /></a></td>
+ <td><a href="%s/%s?FromTransNo=%s&InvOrCredit=Credit&PrintPDF=True">' . _('PDF ') . '<img src="%s/css/' . $theme . '/images/pdf.png" title="' . _('Click for PDF') . '" alt="" /></a></td>
+ <td><a href="%s/EmailCustTrans.php?FromTransNo=%s&InvOrCredit=Credit">' . _('Email') . ' <img src="%s/email.gif" title="' . _('Click to email the credit note') . '" alt="" /></a></td>';
/* assumed allowed page security token 3 allows the user to create credits for invoices */
if (in_array(3,$_SESSION['AllowedPageSecurityTokens']) AND $myrow['type']==10){
@@ -264,8 +266,8 @@
/* format string with GL inquiry options and for invoice to be credited */
printf($BaseFormatString . $CreditInvoiceFormatString . $PreviewInvoiceFormatString .
- '<td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . '
- <img src="' .$rootpath. '/css/'.$theme.'/images/gl.png" title="' . _('View the GL Entries') . '" /></a></td>
+ '<td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . '
+ <img src="' .$rootpath. '/css/'.$theme.'/images/gl.png" title="' . _('View the GL Entries') . '" alt="" /></a></td>
</tr>',
//$BaseFormatString parameters
$myrow['typename'],
@@ -360,8 +362,8 @@
if ($_SESSION['CompanyRecord']['gllink_debtors']== 1 AND in_array(8,$_SESSION['AllowedPageSecurityTokens'])){
printf($BaseFormatString .
$PreviewCreditFormatString .
- '<td><a href="%s/CustomerAllocations.php?AllocTrans=%s">' . _('Allocation') . '<img src="' .$rootpath .'/css/' . $theme .'/images/allocation.png" title="' . _('Click to allocate funds') . '" /></a></td>
- <td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' <a><img src="' .$rootpath.'/css/'.$theme.'/images/gl.png" title="' . _('View the GL Entries') . '" /></a></td></tr>',
+ '<td><a href="%s/CustomerAllocations.php?AllocTrans=%s">' . _('Allocation') . '<img src="' .$rootpath .'/css/' . $theme .'/images/allocation.png" title="' . _('Click to allocate funds') . '" alt="" /></a></td>
+ <td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' <a><img src="' .$rootpath.'/css/'.$theme.'/images/gl.png" title="' . _('View the GL Entries') . '" alt="" /></a></td></tr>',
//$BaseFormatString parameters
$myrow['typename'],
$myrow['transno'],
@@ -393,7 +395,7 @@
} else {
printf($BaseFormatString .
$PreviewCreditFormatString .
- '<td><a href="%s/CustomerAllocations.php?AllocTrans=%s">' . _('Allocation') . '<img src="%s/allocation.png" title="' . _('Click to allocate funds') . '" /></a></td>
+ '<td><a href="%s/CustomerAllocations.php?AllocTrans=%s">' . _('Allocation') . '<img src="%s/allocation.png" title="' . _('Click to allocate funds') . '" alt="" /></a></td>
</tr>',
$myrow['typename'],
$myrow['transno'],
@@ -426,8 +428,8 @@
//If security token 8 in the allowed page security tokens then assumed ok for GL trans inquiries
if ($_SESSION['CompanyRecord']['gllink_debtors']== 1 AND in_array(8,$_SESSION['AllowedPageSecurityTokens'])){
printf($BaseFormatString .
- '<td><a href="%s/CustomerAllocations.php?AllocTrans=%s">' . _('Allocation') . '<img src="' .$rootpath . '/css/' . $theme .'/images/allocation.png" title="' . _('Click to allocate funds') . '" /></a></td>
- <td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' <img src="' .$rootpath . '/css/' . $theme .'/images/gl.png" title="' . _('View the GL Entries') . '" /></a></td>
+ '<td><a href="%s/CustomerAllocations.php?AllocTrans=%s">' . _('Allocation') . '<img src="' .$rootpath . '/css/' . $theme .'/images/allocation.png" title="' . _('Click to allocate funds') . '" alt="" /></a></td>
+ <td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' <img src="' .$rootpath . '/css/' . $theme .'/images/gl.png" title="' . _('View the GL Entries') . '" alt="" /></a></td>
</tr>',
$myrow['typename'],
$myrow['transno'],
@@ -446,7 +448,7 @@
$myrow['transno']);
} else { //no permission for GLTrans Inquiries
printf($BaseFormatString .
- '<td><a href="%s/CustomerAllocations.php?AllocTrans=%s">' . _('Allocation') . '<img src="' .$rootpath . '/css/' . $theme .'/images/allocation.png" title="' . _('Click to allocate funds') . '" /></a></td>
+ '<td><a href="%s/CustomerAllocations.php?AllocTrans=%s">' . _('Allocation') . '<img src="' .$rootpath . '/css/' . $theme .'/images/allocation.png" title="' . _('Click to allocate funds') . '" alt="" /></a></td>
</tr>',
$myrow['typename'],
$myrow['transno'],
@@ -466,7 +468,7 @@
//If security token 8 in the allowed page security tokens then assumed ok for GL trans inquiries
if ($_SESSION['CompanyRecord']['gllink_debtors']== 1 AND in_array(8,$_SESSION['AllowedPageSecurityTokens'])){
printf($BaseFormatString .
- '<td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' <a></td></tr>',
+ '<td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' <a></td></tr>',
$myrow['typename'],
$myrow['transno'],
ConvertSQLDate($myrow['trandate']),
@@ -497,7 +499,7 @@
//If security token 8 in the allowed page security tokens then assumed ok for GL trans inquiries
if ($_SESSION['CompanyRecord']['gllink_debtors']== 1 AND in_array(8,$_SESSION['AllowedPageSecurityTokens'])){
printf($BaseFormatString .
- '<td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' <a></td></tr>',
+ '<td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' <a></td></tr>',
$myrow['typename'],
$myrow['transno'],
ConvertSQLDate($myrow['trandate']),
Modified: trunk/CustomerReceipt.php
===================================================================
--- trunk/CustomerReceipt.php 2012-03-11 09:13:20 UTC (rev 5062)
+++ trunk/CustomerReceipt.php 2012-03-11 19:41:09 UTC (rev 5063)
@@ -729,7 +729,8 @@
/*set up the form whatever */
-echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Type='.$_GET['Type'] . '" method="post" name="form1">';
+echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Type='.$_GET['Type'] . '" method="post" id="form1">';
+echo '<div>';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
/*show the batch header details and the entries in the batch so far */
@@ -755,7 +756,7 @@
<table class="selection">
<tr>
<td>' . _('Bank Account') . ':</td>
- <td><select tabindex="1" name="BankAccount" onChange="ReloadForm(form1.BatchInput)">';
+ <td><select tabindex="1" name="BankAccount" onchange="ReloadForm(form1.BatchInput)">';
if (DB_num_rows($AccountsResults)==0){
echo '</select></td>
@@ -785,11 +786,11 @@
echo '<tr>
<td>' . _('Date Banked') . ':</td>
- <td><input tabindex="2" type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="DateBanked" maxlength="10" size="10" onChange="isDate(this, this.value, '."'".$_SESSION['DefaultDateFormat']."'".')" value="' . $_SESSION['ReceiptBatch']->DateBanked . '" /></td>
+ <td><input tabindex="2" type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="DateBanked" maxlength="10" size="10" onchange="isDate(this, this.value, '."'".$_SESSION['DefaultDateFormat']."'".')" value="' . $_SESSION['ReceiptBatch']->DateBanked . '" /></td>
</tr>
<tr>
<td>' . _('Currency') . ':</td>
- <td><select tabindex="3" name="Currency" onChange="ReloadForm(form1.BatchInput)">';
+ <td><select tabindex="3" name="Currency" onchange="ReloadForm(form1.BatchInput)">';
if (!isset($_SESSION['ReceiptBatch']->Currency)){
$_SESSION['ReceiptBatch']->Currency=$_SESSION['CompanyRecord']['currencydefault'];
@@ -994,7 +995,7 @@
echo '<br />
<table class="selection">
<tr>
- <th colspan="2"><font size="2" color="navy">' . _('General Ledger Receipt Entry') . '</font></th>
+ <th colspan="2">' . _('General Ledger Receipt Entry') . '</th>
</tr>';
//Select the tag
@@ -1101,15 +1102,15 @@
echo '<br />';
echo '<p class="page_title_text">
- <img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="" />' . ' ' . _('Select a Customer') . '</b>
+ <img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="" />' . ' ' . _('Select a Customer') . '</p>
<table class="selection">
<tr>
<td>' . _('Text in the Customer') . ' ' . '<b>' . _('name') . '</b>:</td>
<td><input tabindex="9" type="text" name="Keywords" size="15" maxlength="25" /></td>
- <td><font size="3"><b>' . _('OR') . '</b></font></td>
+ <td><b>' . _('OR') . '</b></td>
<td>' . _('Text extract in the Customer') . ' ' . '<b>' . _('code') . '</b>:</td>
<td><input tabindex="10" type="text" name="CustCode" size="10" maxlength="18" /></td>
- <td><font size="3"><b>' . _('OR') . '</b></font></td>
+ <td><b>' . _('OR') . '</b></td>
<td>' . _('Customer invoice number') . ':</td>
<td><input tabindex="11" type="text" name="CustInvNo" size="8" maxlength="8" /></td>
</tr>
@@ -1170,6 +1171,7 @@
<input tabindex="13" type="submit" name="CommitBatch" value="' . _('Accept and Process Batch') . '" />
</div>';
}
+echo '</div>';
echo '</form>';
include('includes/footer.inc');
?>
\ No newline at end of file
Modified: trunk/CustomerTransInquiry.php
===================================================================
--- trunk/CustomerTransInquiry.php 2012-03-11 09:13:20 UTC (rev 5062)
+++ trunk/CustomerTransInquiry.php 2012-03-11 19:41:09 UTC (rev 5063)
@@ -13,6 +13,7 @@
<br />';
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">
@@ -58,6 +59,7 @@
<div class="centre">
<input tabindex="4" type="submit" name="ShowResults" value="' . _('Show Transactions') . '" />
</div>
+ </div>
</form>';
if (isset($_POST['ShowResults']) && $_POST['TransType'] != ''){
@@ -128,7 +130,7 @@
<td>%s</td>
<td>%s</td>
<td>%s</td>
- <td width="200">%s</td>
+ <td style="width:200px">%s</td>
<td>%s</td>
<td class="number">%s</td>
<td class="number">%s</td>
Modified: trunk/CustomerTypes.php
===================================================================
--- trunk/CustomerTypes.php 2012-03-11 09:13:20 UTC (rev 5062)
+++ trunk/CustomerTypes.php 2012-03-11 19:41:09 UTC (rev 5063)
@@ -199,8 +199,8 @@
printf('<td>%s</td>
<td>%s</td>
- <td><a href="%sSelectedType=%s">' . _('Edit') . '</td>
- <td><a href="%sSelectedType=%s&delete=yes" onclick=\'return confirm("' . _('Are you sure you wish to delete this Customer Type?') . '");\'>' . _('Delete') . '</td>
+ <td><a href="%sSelectedType=%s">' . _('Edit') . '</a></td>
+ <td><a href="%sSelectedType=%s&delete=yes" onclick=\'return confirm("' . _('Are you sure you wish to delete this Customer Type?') . '");\'>' . _('Delete') . '</a></td>
</tr>',
$myrow[0],
$myrow[1],
@@ -216,13 +216,14 @@
//end of ifs and buts!
if (isset($SelectedType)) {
- echo '<div class="centre"><p><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">' . _('Show All Types Defined') . '</a></div><p>';
+ echo '<div class="centre"><br /><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">' . _('Show All Types Defined') . '</a></div>';
}
if (! isset($_GET['delete'])) {
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 '<p><table class="selection">'; //Main table
+ echo '<br />';
// The user wish to EDIT an existing type
@@ -256,13 +257,12 @@
$_POST['typename']='';
}
echo '<tr><td>' . _('Type Name') . ':</td>
- <td><input type="Text" name="typename" value="' . $_POST['typename'] . '" /></td></tr>';
+ <td><input type="text" name="typename" value="' . $_POST['typename'] . '" /></td></tr>';
- echo '</td></tr>
- </table>'; // close main table
+ echo '</table>'; // close main table
- echo '<p><div class="centre"><input type="submit" name="submit" value="' . _('Accept') . '" /></div>';
-
+ echo '<br /><div class="centre"><input type="submit" name="submit" value="' . _('Accept') . '" /></div>';
+ echo '</div>';
echo '</form>';
} // end if user wish to delete
Modified: trunk/Customers.php
===================================================================
--- trunk/Customers.php 2012-03-11 09:13:20 UTC (rev 5062)
+++ trunk/Customers.php 2012-03-11 19:41:09 UTC (rev 5063)
@@ -53,7 +53,7 @@
$i++;
} elseif ($_SESSION['AutoDebtorNo']==0 AND (ContainsIllegalCharacters($_POST['DebtorNo']) OR mb_strpos($_POST['DebtorNo'], ' '))) {
$InputError = 1;
- prnMsg( _('The customer code cannot contain any of the following characters') . " . - ' & + \" " . _('or a space'),'error');
+ prnMsg( _('The customer code cannot contain any of the following characters') . " . - ' & + \" " . _('or a space'),'error');
$Errors[$i] = 'DebtorNo';
$i++;
} elseif (mb_strlen($_POST['Address1']) >40) {
@@ -425,6 +425,7 @@
exit;
}
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 '<input type="hidden" name="New" value="Yes" />';
@@ -441,25 +442,25 @@
}
echo '<tr><td>' . _('Customer Name') . ':</td>
- <td><input tabindex="2" type="Text" name="CustName" size="42" maxlength="40" /></td></tr>';
+ <td><input tabindex="2" type="text" name="CustName" size="42" maxlength="40" /></td></tr>';
echo '<tr><td>' . _('Telephone') . ':</td>
- <td><input tabindex="2" type="Text" name="Phone" size="30" maxlength="40" /></td></tr>';
+ <td><input tabindex="2" type="text" name="Phone" size="30" maxlength="40" /></td></tr>';
echo '<tr><td>' . _('Facsimile') . ':</td>
- <td><input tabindex="2" type="Text" name="Fax" size="30" maxlength="40" /></td></tr>';
+ <td><input tabindex="2" type="text" name="Fax" size="30" maxlength="40" /></td></tr>';
echo '<tr><td>' . _('Email Address') . ':</td>
- <td><input tabindex="2" type="Text" name="Email" size="30" maxlength="40" /></td></tr>';
+ <td><input tabindex="2" type="text" name="Email" size="30" maxlength="40" /></td></tr>';
echo '<tr><td>' . _('Address Line 1 (Street)') . ':</td>
- <td><input tabindex="3" type="Text" name="Address1" size="42" maxlength="40" /></td></tr>';
+ <td><input tabindex="3" type="text" name="Address1" size="42" maxlength="40" /></td></tr>';
echo '<tr><td>' . _('Address Line 2 (Suburb/City)') . ':</td>
- <td><input tabindex="4" type="Text" name="Address2" size="42" maxlength="40" /></td></tr>';
+ <td><input tabindex="4" type="text" name="Address2" size="42" maxlength="40" /></td></tr>';
echo '<tr><td>' . _('Address Line 3 (State/Province)') . ':</td>
- <td><input tabindex="5" type="Text" name="Address3" size="42" maxlength="40" /></td></tr>';
+ <td><input tabindex="5" type="text" name="Address3" size="42" maxlength="40" /></td></tr>';
echo '<tr><td>' . _('Address Line 4 (Postal Code)') . ':</td>
- <td><input tabindex="6" type="Text" name="Address4" size="42" maxlength="40" /></td></tr>';
+ <td><input tabindex="6" type="text" name="Address4" size="42" maxlength="40" /></td></tr>';
echo '<tr><td>' . _('Address Line 5') . ':</td>
- <td><input tabindex="7" type="Text" name="Address5" size="22" maxlength="20" /></td></tr>';
+ <td><input tabindex="7" type="text" name="Address5" size="22" maxlength="20" /></td></tr>';
echo '<tr><td>' . _('Address Line 6') . ':</td>
- <td><input tabindex="8" type="Text" name="Address6" size="17" maxlength="15" /></td></tr>';
+ <td><input tabindex="8" type="text" name="Address6" size="17" maxlength="15" /></td></tr>';
@@ -469,14 +470,14 @@
$DataError =1;
echo '<tr><td colspan="2">' . prnMsg(_('No sales types/price lists defined'),'error') . '<br /><a href="SalesTypes.php?" target="_parent">' . _('Setup Types') . '</a></td></tr>';
} else {
- echo '<tr><td>' . _('Sales Type/Price List') . ':</td>
+ echo '<tr><td>' . _('Sales Type') . '/' . _('Price List') . ':</td>
<td><select tabindex="9" name="SalesType">';
while ($myrow = DB_fetch_array($result)) {
echo '<option value="'. $myrow['typeabbrev'] . '">' . $myrow['sales_type'] . '</option>';
} //end while loopre
DB_data_seek($result,0);
- echo '</select></td></tr>';
+ echo '</select></td></tr>';
}
// Show Customer Type drop down list
@@ -504,7 +505,7 @@
<td><table class="selection">
<tr>
<td>' . _('Discount Percent') . ':</td>
- <td><input tabindex="11" type="textbox" class="number" name="Discount" value="0" size="5" maxlength="4" /></td>
+ <td><input tabindex="11" type="text" class="number" name="Discount" value="0" size="5" maxlength="4" /></td>
</tr>
<tr>
<td>' . _('Discount Code') . ':</td>
@@ -512,7 +513,7 @@
</tr>
<tr>
<td>' . _('Payment Discount Percent') . ':</td>
- <td><input tabindex="13" type="textbox" class ="number" name="PymtDiscount" value="0" size="5" maxlength="4" /></td>
+ <td><input tabindex="13" type="text" class ="number" name="PymtDiscount" value="0" size="5" maxlength="4" /></td>
</tr>
<tr>
<td>' . _('Credit Limit') . ':</td>
@@ -608,10 +609,11 @@
if ($DataError ==0){
echo '<br />
<div class="centre">
- <input tabindex="20" type="submit" name="submit" value="' . _('Add New Customer') . '" /> <input tabindex="21" type="submit" action="Reset" value="' . _('Reset') . '" />
+ <input tabindex="20" type="submit" name="submit" value="' . _('Add New Customer') . '" /> <input tabindex="21" type="submit" value="' . _('Reset') . '" />
</div>';
}
+ echo '</div>';
echo '</form>';
} else {
@@ -619,9 +621,10 @@
//DebtorNo exists - either passed when calling the form or from the form itself
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><td valign="top"><table class="selection">';
+ <tr><td valign="top">';
if (!isset($_POST['New'])) {
$sql = "SELECT debtorsmaster.debtorno,
@@ -655,10 +658,10 @@
/* if $AutoDebtorNo in config.php has not been set or if it has been set to a number less than one,
then display the DebtorNo */
if ($_SESSION['AutoDebtorNo']== 0 ) {
- echo '<tr>
+ echo '<table class="selection"><tr>
<td>' . _('Customer Code') . ':</td>
<td>' . $DebtorNo. '</td>
- </tr>';
+ </tr></table><br />';
}
$_POST['CustName'] = $myrow['name'];
$_POST['Address1'] = $myrow['address1'];
@@ -682,10 +685,12 @@
$_POST['typeid'] = $myrow['typeid'];
echo '<input type="hidden" name="DebtorNo" value="' . $DebtorNo . '" />';
+ echo '<table class="selection">';
} else {
// its a new customer being added
echo '<input type="hidden" name="New" value="Yes" />';
+ echo '<table class="selection">';
/* if $AutoDebtorNo in config.php has not been set or if it has been set to a number less than one,
then provide an input box for the DebtorNo to manually assigned */
@@ -773,6 +778,7 @@
}
} //end while loop
DB_data_seek($result,0);
+ echo '</select></td></tr>';
}
// Select Customer types for drop down list for SELECT/UPDATE
@@ -1043,7 +1049,7 @@
printf('<td>%s</td>
<td>%s</td>
<td>%s</td>
- <td><a href=mailto:%s>%s</a></td>
+ <td><a href="mailto:%s">%s</a></td>
<td>%s</td>
</tr>',
$myrow['contactname'],
@@ -1056,10 +1062,10 @@
printf('<td>%s</td>
<td>%s</td>
<td>%s</td>
- <td><a href=mailto:%s>%s</a></td>
+ <td><a href="mailto:%s">%s</a></td>
<td>%s</td>
- <td><a href="AddCustomerContacts.php?Id=%s&DebtorNo=%s">'. _('Edit'). '</a></td>
- <td><a href="%sID=%s&DebtorNo=%s&delete=1" onclick="return confirm(\'' . _('Are you sure you wish to delete this customer contact?') . '\');">'. _('Delete'). '</a></td>
+ <td><a href="AddCustomerContacts.php?Id=%s&DebtorNo=%s">'. _('Edit'). '</a></td>
+ <td><a href="%sID=%s&DebtorNo=%s&delete=1" onclick="return confirm(\'' . _('Are you sure you wish to delete this customer contact?') . '\');">'. _('Delete'). '</a></td>
</tr>',
$myrow['contactname'],
$myrow['role'],
@@ -1082,16 +1088,17 @@
echo '<div class="centre">
<input type="submit" name="submit" value="' . _('Add New Customer') . '" />
<input type="submit" name="Reset" value="' . _('Reset') . '" />
- </div>
- </form>';
+ </div>';
} elseif (!isset($_GET['Modify'])){
echo '<br />
<div class="centre">
<input type="submit" name="submit" value="' . _('Update Customer') . '" />
- <input type="submit" name="delete" value="' . _('Delete Customer') . '" onclick="return confirm(\'' . _('Are You Sure?') . '\');" />';
+ <input type="submit" name="delete" value="' . _('Delete Customer') . '" onclick="return confirm(\'' . _('Are You Sure?') . '\');" />
+ </div>';
}
- echo '</div>';
+ echo '</div>
+ </form>';
} // end of main ifs
include('includes/footer.inc');
Modified: trunk/GLAccounts.php
===================================================================
--- trunk/GLAccounts.php 2012-03-11 09:13:20 UTC (rev 5062)
+++ trunk/GLAccounts.php 2012-03-11 19:41:09 UTC (rev 5063)
@@ -235,7 +235,7 @@
}
if (!isset($_POST['AccountName'])) {$_POST['AccountName']='';}
- echo '<tr><td>' . _('Account Name') . ':</td><td><input type="Text" size="51" maxlength="50" name="AccountName" value="' . $_POST['AccountName'] . '" /></td></tr>';
+ echo '<tr><td>' . _('Account Name') . ':</td><td><input type="text" size="51" maxlength="50" name="AccountName" value="' . $_POST['AccountName'] . '" /></td></tr>';
$sql = 'SELECT groupname FROM accountgroups ORDER BY sequenceintb';
$result = DB_query($sql, $db);
Modified: trunk/MRPDemands.php
===================================================================
--- trunk/MRPDemands.php 2012-03-11 09:13:20 UTC (rev 5062)
+++ trunk/MRPDemands.php 2012-03-11 19:41:09 UTC (rev 5063)
@@ -329,7 +329,7 @@
if (!isset($StockID)) {
echo'</font><table cellpadding="3" colspan="4" class="selection"><tr>
<td><font size="1">' . _('Enter text extracts in the') . ' <b>' . _('description') . '</b>:</font></td>
- <td><input tabindex="1" type="Text" name="Keywords" size="20" maxlength="25" /></td>
+ <td><input tabindex="1" type="text" name="Keywords" size="20" maxlength="25" /></td>
<td><font size="3"><b>' . _('OR') . '</b></font></td>
<td><font size="1">' . _('Enter extract of the') . ' <b>' . _('Stock Code') . '</b>:</font></td>
<td><input tabindex="2" type="text" name="StockCode" size="15" maxlength="20" /></td>
Modified: trunk/PaymentMethods.php
===================================================================
--- trunk/PaymentMethods.php 2012-03-11 09:13:20 UTC (rev 5062)
+++ trunk/PaymentMethods.php 2012-03-11 19:41:09 UTC (rev 5063)
@@ -254,7 +254,7 @@
}
echo '<tr>
<td>' . _('Payment Method') . ':' . '</td>
- <td><input type="Text" '. (in_array('MethodName',$Errors) ? 'class="inputerror"' : '' ) .' name="MethodName" size="30" maxlength="30" value="' . $_POST['MethodName'] . '" /></td>
+ <td><input type="text" '. (in_array('MethodName',$Errors) ? 'class="inputerror"' : '' ) .' name="MethodName" size="30" maxlength="30" value="' . $_POST['MethodName'] . '" /></td>
</tr>';
echo '<tr>
<td>' . _('Use For Payments') . ':' . '</td>
Modified: trunk/PcTabs.php
===================================================================
--- trunk/PcTabs.php 2012-03-11 09:13:20 UTC (rev 5062)
+++ trunk/PcTabs.php 2012-03-11 19:41:09 UTC (rev 5063)
@@ -370,7 +370,7 @@
}
echo '<tr><td>' . _('Limit Of Tab') . ':</td>
- <td><input type="Text" class="number" name="TabLimit" size="12" maxlength="11" value="' . $_POST['TabLimit'] . '" /></td></tr>';
+ <td><input type="text" class="number" name="TabLimit" size="12" maxlength="11" value="' . $_POST['TabLimit'] . '" /></td></tr>';
echo '<tr><td>' . _('Assigner') . ':</td>
<td><select name="SelectAssigner">';
Modified: trunk/SalesTypes.php
===================================================================
--- trunk/SalesTypes.php 2012-03-11 09:13:20 UTC (rev 5062)
+++ trunk/SalesTypes.php 2012-03-11 19:41:09 UTC (rev 5063)
@@ -266,7 +266,7 @@
$_POST['Sales_Type']='';
}
echo '<tr><td>' . _('Sales Type Name') . ':</td>
- <td><input type="Text" name="Sales_Type" value="' . $_POST['Sales_Type'] . '" /></td></tr>';
+ <td><input type="text" name="Sales_Type" value="' . $_POST['Sales_Type'] . '" /></td></tr>';
echo '</td></tr></table>'; // close main table
Modified: trunk/SelectCustomer.php
===================================================================
--- trunk/SelectCustomer.php 2012-03-11 09:13:20 UTC (rev 5062)
+++ trunk/SelectCustomer.php 2012-03-11 19:41:09 UTC (rev 5063)
@@ -284,7 +284,7 @@
if (isset($_POST['CustPhone'])) {
echo '<input type="text" name="CustPhone" value="' . $_POST['CustPhone'] . '" size="15" maxlength="18" />';
} else {
- echo '<input type="Text" name="CustPhone" size="15" maxlength="18" />';
+ echo '<input type="text" name="CustPhone" size="15" maxlength="18" />';
}
echo '</td>';
echo '<td><font size="3"><b>' . _('OR') . '</b></font></td>
Modified: trunk/SelectOrderItems.php
===================================================================
--- trunk/SelectOrderItems.php 2012-03-11 09:13:20 UTC (rev 5062)
+++ trunk/SelectOrderItems.php 2012-03-11 19:41:09 UTC (rev 5063)
@@ -1627,14 +1627,14 @@
}
echo '</select></td>
- <td><b>' . _('Enter partial Description') . ':</b><input tabindex="2" type="Text" name="Keywords" size="20" maxlength="25" value="' ;
+ <td><b>' . _('Enter partial Description') . ':</b><input tabindex="2" type="text" name="Keywords" size="20" maxlength="25" value="' ;
if (isset($_POST['Keywords'])) {
echo $_POST['Keywords'] ;
}
echo '" /></td>';
- echo '<td align="right"><b>' . _('OR') . ' ' . _('Enter extract of the Stock Code') . ':</b><input tabindex="3" type="Text" name="StockCode" size="15" maxlength="18" value="';
+ echo '<td align="right"><b>' . _('OR') . ' ' . _('Enter extract of the Stock Code') . ':</b><input tabindex="3" type="text" name="StockCode" size="15" maxlength="18" value="';
if (isset($_POST['StockCode'])) {
echo $_POST['StockCode'];
}
Modified: trunk/WorkCentres.php
===================================================================
--- trunk/WorkCentres.php 2012-03-11 09:13:20 UTC (rev 5062)
+++ trunk/WorkCentres.php 2012-03-11 19:41:09 UTC (rev 5063)
@@ -216,7 +216,7 @@
}
echo '<tr>
<td>' . _('Work Centre Description') . ':</td>
- <td><input type="Text" name="Description" size="21" maxlength="20" value="' . $_POST['Description'] . '" /></td>
+ <td><input type="text" name="Description" size="21" maxlength="20" value="' . $_POST['Description'] . '" /></td>
</tr>
<tr><td>' . _('Location') . ':</td>
<td><select name="Location">';
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|