|
From: <dai...@us...> - 2013-04-07 00:11:58
|
Revision: 5837
http://sourceforge.net/p/web-erp/reponame/5837
Author: daintree
Date: 2013-04-07 00:11:55 +0000 (Sun, 07 Apr 2013)
Log Message:
-----------
remove code using incorrect css
Modified Paths:
--------------
trunk/SelectSupplier.php
trunk/Suppliers.php
trunk/build/make_release.sh
trunk/doc/Change.log
Modified: trunk/SelectSupplier.php
===================================================================
--- trunk/SelectSupplier.php 2013-04-06 09:28:15 UTC (rev 5836)
+++ trunk/SelectSupplier.php 2013-04-07 00:11:55 UTC (rev 5837)
@@ -4,19 +4,20 @@
include ('includes/session.inc');
$Title = _('Search Suppliers');
+/* webERP manual links before header.inc */
$ViewTopic= 'AccountsPayable';
$BookMark = 'SelectSupplier';
include ('includes/header.inc');
include ('includes/SQL_CommonFunctions.inc');
if (!isset($_SESSION['SupplierID'])) {
- echo '<p class="page_title_text noPrint" ><img src="' . $RootPath . '/css/' . $Theme . '/images/supplier.png" title="' . _('Search') . '" alt="" />' . ' ' . _('Suppliers') . '</p>';
+ echo '<p class="page_title_text"><img src="' . $RootPath . '/css/' . $Theme . '/images/supplier.png" title="' . _('Search') . '" alt="" />' . ' ' . _('Suppliers') . '</p>';
}
if (isset($_GET['SupplierID'])) {
$_SESSION['SupplierID']=$_GET['SupplierID'];
}
// only get geocode information if integration is on, and supplier has been selected
-if ($_SESSION['geocode_integration'] == 1 and isset($_SESSION['SupplierID'])) {
+if ($_SESSION['geocode_integration'] == 1 AND isset($_SESSION['SupplierID'])) {
$sql = "SELECT * FROM geocode_param WHERE 1";
$ErrMsg = _('An error occurred in retrieving the information');;
$result = DB_query($sql, $db, $ErrMsg);
@@ -81,10 +82,10 @@
OR isset($_POST['Next'])
OR isset($_POST['Previous'])) {
- if (mb_strlen($_POST['Keywords']) > 0 and mb_strlen($_POST['SupplierCode']) > 0) {
+ if (mb_strlen($_POST['Keywords']) > 0 AND mb_strlen($_POST['SupplierCode']) > 0) {
prnMsg( _('Supplier name keywords have been used in preference to the Supplier code extract entered'), 'info' );
}
- if ($_POST['Keywords'] == '' and $_POST['SupplierCode'] == '') {
+ if ($_POST['Keywords'] == '' AND $_POST['SupplierCode'] == '') {
$SQL = "SELECT supplierid,
suppname,
currcode,
@@ -150,8 +151,8 @@
$myrow = DB_fetch_row($SupplierNameResult);
$SupplierName = $myrow[0];
}
- echo '<p class="page_title_text noPrint" ><img src="' . $RootPath . '/css/' . $Theme . '/images/supplier.png" title="' . _('Supplier') . '" alt="" />' . ' ' . _('Supplier') . ' : <b>' . stripslashes($_SESSION['SupplierID']) . ' - ' . $SupplierName . '</b> ' . _('has been selected') . '.</p>';
- echo '<div class="page_help_text noPrint">' . _('Select a menu option to operate using this supplier.') . '</div>';
+ echo '<p class="page_title_text"><img src="' . $RootPath . '/css/' . $Theme . '/images/supplier.png" title="' . _('Supplier') . '" alt="" />' . ' ' . _('Supplier') . ' : <b>' . $_SESSION['SupplierID'] . ' - ' . $SupplierName . '</b> ' . _('has been selected') . '.</p>';
+ echo '<div class="page_help_text">' . _('Select a menu option to operate using this supplier.') . '</div>';
echo '<br />
<table width="90%" cellpadding="4">
<tr>
@@ -160,34 +161,35 @@
<th style="width:33%">' . _('Supplier Maintenance') . '</th>
</tr>';
echo '<tr><td valign="top" class="select">'; /* Inquiry Options */
- echo '<a href="' . $RootPath . '/SupplierInquiry.php?SupplierID=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('Supplier Account Inquiry') . '</a>
+ echo '<a href="' . $RootPath . '/SupplierInquiry.php?SupplierID=' . $_SESSION['SupplierID'] . '">' . _('Supplier Account Inquiry') . '</a>
<br />
<br />';
- echo '<br /><a href="' . $RootPath . '/PO_SelectOSPurchOrder.php?SelectedSupplier=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('Add / Receive / View Outstanding Purchase Orders') . '</a>';
- echo '<br /><a href="' . $RootPath . '/PO_SelectPurchOrder.php?SelectedSupplier=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('View All Purchase Orders') . '</a><br />';
- wikiLink('Supplier', urlencode(stripslashes($_SESSION['SupplierID'])));
- echo '<br /><a href="' . $RootPath . '/ShiptsList.php?SupplierID=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '&SupplierName=' . urlencode($SupplierName) . '">' . _('List all open shipments for') .' '.$SupplierName. '</a>';
- echo '<br /><a href="' . $RootPath . '/Shipt_Select.php?SelectedSupplier=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('Search / Modify / Close Shipments') . '</a>';
- echo '<br /><a href="' . $RootPath . '/SuppPriceList.php?SelectedSupplier=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('Supplier Price List') . '</a>';
+ echo '<br /><a href="' . $RootPath . '/PO_SelectOSPurchOrder.php?SelectedSupplier=' . $_SESSION['SupplierID'] . '">' . _('Add / Receive / View Outstanding Purchase Orders') . '</a>';
+ echo '<br /><a href="' . $RootPath . '/PO_SelectPurchOrder.php?SelectedSupplier=' . $_SESSION['SupplierID'] . '">' . _('View All Purchase Orders') . '</a><br />';
+ wikiLink('Supplier', $_SESSION['SupplierID']);
+ echo '<br /><a href="' . $RootPath . '/ShiptsList.php?SupplierID=' . $_SESSION['SupplierID'] . '&SupplierName=' . urlencode($SupplierName) . '">' . _('List all open shipments for') .' '.$SupplierName. '</a>';
+ echo '<br /><a href="' . $RootPath . '/Shipt_Select.php?SelectedSupplier=' . $_SESSION['SupplierID'] . '">' . _('Search / Modify / Close Shipments') . '</a>';
+ echo '<br /><a href="' . $RootPath . '/SuppPriceList.php?SelectedSupplier=' . $_SESSION['SupplierID'] . '">' . _('Supplier Price List') . '</a>';
echo '</td><td valign="top" class="select">'; /* Supplier Transactions */
- echo '<a href="' . $RootPath . '/PO_Header.php?NewOrder=Yes&SupplierID=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('Enter a Purchase Order for This Supplier') . '</a><br />';
- echo '<a href="' . $RootPath . '/SupplierInvoice.php?SupplierID=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('Enter a Suppliers Invoice') . '</a><br />';
- echo '<a href="' . $RootPath . '/SupplierCredit.php?New=true&SupplierID=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('Enter a Suppliers Credit Note') . '</a><br />';
- echo '<a href="' . $RootPath . '/Payments.php?SupplierID=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('Enter a Payment to, or Receipt from the Supplier') . '</a><br />';
+ echo '<a href="' . $RootPath . '/PO_Header.php?NewOrder=Yes&SupplierID=' . $_SESSION['SupplierID'] . '">' . _('Enter a Purchase Order for This Supplier') . '</a><br />';
+ echo '<a href="' . $RootPath . '/SupplierInvoice.php?SupplierID=' . $_SESSION['SupplierID'] . '">' . _('Enter a Suppliers Invoice') . '</a><br />';
+ echo '<a href="' . $RootPath . '/SupplierCredit.php?New=true&SupplierID=' . $_SESSION['SupplierID'] . '">' . _('Enter a Suppliers Credit Note') . '</a><br />';
+ echo '<a href="' . $RootPath . '/Payments.php?SupplierID=' . $_SESSION['SupplierID'] . '">' . _('Enter a Payment to, or Receipt from the Supplier') . '</a><br />';
echo '<br />';
- echo '<br /><a href="' . $RootPath . '/ReverseGRN.php?SupplierID=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('Reverse an Outstanding Goods Received Note (GRN)') . '</a>';
+ echo '<br /><a href="' . $RootPath . '/ReverseGRN.php?SupplierID=' . $_SESSION['SupplierID'] . '">' . _('Reverse an Outstanding Goods Received Note (GRN)') . '</a>';
echo '</td><td valign="top" class="select">'; /* Supplier Maintenance */
echo '<a href="' . $RootPath . '/Suppliers.php">' . _('Add a New Supplier') . '</a>
- <br /><a href="' . $RootPath . '/Suppliers.php?SupplierID=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('Modify Or Delete Supplier Details') . '</a>
- <br /><a href="' . $RootPath . '/SupplierContacts.php?SupplierID=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('Add/Modify/Delete Supplier Contacts') . '</a>
+ <br /><a href="' . $RootPath . '/Suppliers.php?SupplierID=' . $_SESSION['SupplierID'] . '">' . _('Modify Or Delete Supplier Details') . '</a>
+ <br /><a href="' . $RootPath . '/SupplierContacts.php?SupplierID=' . $_SESSION['SupplierID'] . '">' . _('Add/Modify/Delete Supplier Contacts') . '</a>
<br />
- <br /><a href="' . $RootPath . '/SellThroughSupport.php?SupplierID=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('Set Up Sell Through Support Deals') . '</a>
+ <br /><a href="' . $RootPath . '/SellThroughSupport.php?SupplierID=' . $_SESSION['SupplierID'] . '">' . _('Set Up Sell Through Support Deals') . '</a>
<br /><a href="' . $RootPath . '/Shipments.php?NewShipment=Yes">' . _('Set Up A New Shipment') . '</a>
<br /><a href="' . $RootPath . '/SuppLoginSetup.php">' . _('Supplier Login Configuration') . '</a>
</td>
</tr>
</table>';
+} else {
// Supplier is not selected yet
echo '<br />';
echo '<table width="90%" cellpadding="4">
@@ -205,10 +207,10 @@
</tr>
</table>';
}
-echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post" class="noPrint">';
+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 noPrint" ><img src="' . $RootPath . '/css/' . $Theme . '/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' ' . _('Search for Suppliers') . '</p>
+echo '<p class="page_title_text"><img src="' . $RootPath . '/css/' . $Theme . '/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' ' . _('Search for Suppliers') . '</p>
<table cellpadding="3" class="selection">
<tr>
<td>' . _('Enter a partial Name') . ':</td>
@@ -230,7 +232,7 @@
echo '</td></tr>
</table>
<br /><div class="centre"><input type="submit" name="Search" value="' . _('Search Now') . '" /></div>';
-//if (isset($result) and !isset($SingleSupplierReturned)) {
+//if (isset($result) AND !isset($SingleSupplierReturned)) {
if (isset($_POST['Search'])) {
$ListCount = DB_num_rows($result);
$ListPageMax = ceil($ListCount / $_SESSION['DisplayRecordsMax']);
@@ -285,7 +287,7 @@
if (DB_num_rows($result) <> 0) {
DB_data_seek($result, ($_POST['PageOffset'] - 1) * $_SESSION['DisplayRecordsMax']);
}
- while (($myrow = DB_fetch_array($result)) and ($RowIndex <> $_SESSION['DisplayRecordsMax'])) {
+ while (($myrow = DB_fetch_array($result)) AND ($RowIndex <> $_SESSION['DisplayRecordsMax'])) {
if ($k == 1) {
echo '<tr class="EvenTableRows">';
$k = 0;
Modified: trunk/Suppliers.php
===================================================================
--- trunk/Suppliers.php 2013-04-06 09:28:15 UTC (rev 5836)
+++ trunk/Suppliers.php 2013-04-07 00:11:55 UTC (rev 5837)
@@ -5,13 +5,14 @@
include('includes/session.inc');
$Title = _('Supplier Maintenance');
+/* webERP manual links before header.inc */
$ViewTopic= 'AccountsPayable';
$BookMark = 'NewSupplier';
include('includes/header.inc');
include('includes/SQL_CommonFunctions.inc');
include('includes/CountriesArray.php');
-function Is_ValidAccount ($ActNo) {
+Function Is_ValidAccount ($ActNo) {
if (mb_strlen($ActNo) < 16) {
echo _('NZ account numbers must have 16 numeric characters in it');
@@ -42,7 +43,7 @@
}
break;
case '02':
- if (!(($BranchNumber >= 1 and $BranchNumber <= 999) or ($BranchNumber >= 1200 and $BranchNumber <= 1299))) {
+ If (!(($BranchNumber >= 1 and $BranchNumber <= 999) or ($BranchNumber >= 1200 and $BranchNumber <= 1299))) {
echo _('Bank Of New Zealand branches must be between 0001 and 0999 or between 1200 and 1299') . '. ' . _('The branch number used is invalid');
return False;
exit;
@@ -138,7 +139,7 @@
default:
echo _('The prefix') . ' - ' . $BankPrefix . ' ' . _('is not a valid New Zealand Bank') . '.<br />' .
- _('if you are using KwaMoja outside New Zealand error trapping relevant to your country should be used');
+ _('If you are using webERP outside New Zealand error trapping relevant to your country should be used');
return False;
exit;
@@ -215,7 +216,7 @@
if ($BankPrefix == '08'){
$CheckSum = $CheckSum + $DigitVal * 4;
} elseif ($BankPrefix == '09') {
- if (($DigitVal * 5) > 9) {
+ If (($DigitVal * 5) > 9) {
$CheckSum = $CheckSum + (int) mb_substr((string)($DigitVal * 5),0,1) + (int) mb_substr((string)($DigitVal * 5),mb_strlen((string)($DigitVal *5))-1, 1);
} else {
$CheckSum = $CheckSum + $DigitVal * 5;
@@ -259,7 +260,7 @@
case 13:
if ($BankPrefix == '09') {
- if (($DigitVal * 2) > 9) {
+ If (($DigitVal * 2) > 9) {
$CheckSum = $CheckSum + (int) mb_substr(($DigitVal * 2),0,1) + (int) mb_substr(($DigitVal * 2),mb_strlen($DigitVal * 2)-1, 1);
} else {
$CheckSum = $CheckSum + $DigitVal * 2;
@@ -290,7 +291,7 @@
}
}
-} //End function
+} //End Function
if (isset($_GET['SupplierID'])){
@@ -301,14 +302,14 @@
unset($SupplierID);
}
-echo '<p class="page_title_text noPrint" ><img src="'.$RootPath.'/css/'.$Theme.'/images/supplier.png" title="' . _('Search') . '" alt="" />' . ' ' . _('Suppliers') . '</p>';
+echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/supplier.png" title="' . _('Search') . '" alt="" />' . ' ' . _('Suppliers') . '</p>';
$InputError = 0;
if (isset($Errors)) {
unset($Errors);
}
-$Errors=array();
+$Errors=Array();
if (isset($_POST['submit'])) {
//initialise no input errors assumed initially before we test
@@ -327,8 +328,8 @@
$i++;
}
if (mb_strlen($_POST['SuppName']) > 40
- or mb_strlen($_POST['SuppName']) == 0
- or $_POST['SuppName'] == '') {
+ OR mb_strlen($_POST['SuppName']) == 0
+ OR $_POST['SuppName'] == '') {
$InputError = 1;
prnMsg(_('The supplier name must be entered and be forty characters or less long'),'error');
@@ -341,12 +342,12 @@
$Errors[$i]='ID';
$i++;
}
-// if (ContainsIllegalCharacters($SupplierID)) {
-// $InputError = 1;
-// prnMsg(_('The supplier code cannot contain any of the illegal characters') ,'error');
-// $Errors[$i]='ID';
-// $i++;
-// }
+ if (ContainsIllegalCharacters($SupplierID)) {
+ $InputError = 1;
+ prnMsg(_('The supplier code cannot contain any of the illegal characters') ,'error');
+ $Errors[$i]='ID';
+ $i++;
+ }
if (mb_strlen($_POST['Phone']) >25) {
$InputError = 1;
prnMsg(_('The telephone number must be 25 characters or less long'),'error');
@@ -365,7 +366,7 @@
$Errors[$i] = 'Email';
$i++;
}
- if (mb_strlen($_POST['Email'])>0 and !IsEmailAddress($_POST['Email'])) {
+ if (mb_strlen($_POST['Email'])>0 AND !IsEmailAddress($_POST['Email'])) {
$InputError = 1;
prnMsg(_('The email address is not correctly formed'),'error');
$Errors[$i] = 'Email';
@@ -410,7 +411,7 @@
define('KEY', $api_key);
// check that some sane values are setup already in geocode tables, if not skip the geocoding but add the record anyway.
if ($map_host=="") {
- echo '<div class="warn">' . _('Warning - Geocode Integration is enabled, but no hosts are setup. Go to Geocode Setup') . '</div>';
+ echo '<div class="warn">' . _('Warning - Geocode Integration is enabled, but no hosts are setup. Go to Geocode Setup') . '</div>';
} else {
$address = $_POST['Address1'] . ', ' . $_POST['Address2'] . ', ' . $_POST['Address3'] . ', ' . $_POST['Address4'] . ', ' . $_POST['Address5']. ', ' . $_POST['Address6'];
@@ -607,7 +608,7 @@
}
-} elseif (isset($_POST['delete']) and $_POST['delete'] != '') {
+} elseif (isset($_POST['delete']) AND $_POST['delete'] != '') {
//the link to delete a selected record was clicked instead of the submit button
@@ -656,10 +657,10 @@
if (!isset($SupplierID)) {
-/*if the page was called without $SupplierID passed to page then assume a new supplier is to be entered show a form with a Supplier Code field other wise the form showing the fields with the existing entries against the supplier will show for editing with only a hidden SupplierID field*/
+/*If the page was called without $SupplierID passed to page then assume a new supplier is to be entered show a form with a Supplier Code field other wise the form showing the fields with the existing entries against the supplier will show for editing with only a hidden SupplierID field*/
- echo '<form method="post" class="noPrint" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
- echo '<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 '<input type="hidden" name="New" value="Yes" />';
@@ -691,9 +692,9 @@
<td>' . _('Country') . ':</td>
<td><select name="Address6">';
foreach ($CountriesArray as $CountryEntry => $CountryName){
- if (isset($_POST['Address6']) and ($_POST['Address6'] == $CountryName)){
+ if (isset($_POST['Address6']) AND ($_POST['Address6'] == $CountryName)){
echo '<option selected="selected" value="' . $CountryName . '">' . $CountryName .'</option>';
- }elseif (!isset($_POST['Address6']) and $CountryName == "") {
+ }elseif (!isset($_POST['Address6']) AND $CountryName == "") {
echo '<option selected="selected" value="' . $CountryName . '">' . $CountryName .'</option>';
} else {
echo '<option value="' . $CountryName . '">' . $CountryName .'</option>';
@@ -741,7 +742,7 @@
echo '<option value="'. $myrow['termsindicator'] . '">' . $myrow['terms'] .'</option>';
} //end while loop
DB_data_seek($result, 0);
- echo '</select></td></tr>';
+ echo '</select></td></tr>';
$result=DB_query("SELECT id, coyname FROM factorcompanies", $db);
@@ -749,12 +750,13 @@
<td><select name="FactorID">';
echo '<option value="0">' . _('None') . '</option>';
while ($myrow = DB_fetch_array($result)) {
- if (isset($_POST['FactorID']) and $_POST['FactorID'] == $myrow['id']){
- echo '<option selected="selected" value="' . $myrow['id'] . '">' . $myrow['coyname'] .'</option>';
+ if (isset($_POST['FactorID']) AND $_POST['FactorID'] == $myrow['id']){
+ echo '<option selected="selected" value="' . $myrow['id'] . '">' . $myrow['coyname'] .'</option>';
} else {
- echo '<option value="' . $myrow['id'] . '">' . $myrow['coyname'] .'</option>';
+ echo '<option value="' . $myrow['id'] . '">' . $myrow['coyname'] .'</option>';
}
} //end while loop
+ DB_data_seek($result, 0);
echo '</select></td></tr>';
echo '<tr><td>' . _('Tax Reference') . ':</td>
<td><input type="text" name="TaxRef" size="21" maxlength="20" /></td></tr>';
@@ -804,16 +806,16 @@
echo '</select></td></tr>
</table>
<br />
- <div class="centre"><input type="submit" name="submit" value="' . _('Insert New Supplier') . '" /></div>';
+ <div class="centre"><input type="submit" name="submit" value="' . _('Insert New Supplier') . '" /></div>';
echo '</div>
- </form>';
+ </form>';
} else {
//SupplierID exists - either passed when calling the form or from the form itself
- echo '<form method="post" class="noPrint" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
- echo '<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">';
@@ -894,9 +896,9 @@
<td>' . _('Country') . ':</td>
<td><select name="Address6">';
foreach ($CountriesArray as $CountryEntry => $CountryName){
- if (isset($_POST['Address6']) and ($_POST['Address6'] == $CountryName)){
+ if (isset($_POST['Address6']) AND ($_POST['Address6'] == $CountryName)){
echo '<option selected="selected" value="' . $CountryName . '">' . $CountryName .'</option>';
- }elseif (!isset($_POST['Address6']) and $CountryName == "") {
+ }elseif (!isset($_POST['Address6']) AND $CountryName == "") {
echo '<option selected="selected" value="' . $CountryName . '">' . $CountryName .'</option>';
} else {
echo '<option value="' . $CountryName . '">' . $CountryName .'</option>';
@@ -945,7 +947,7 @@
}
} //end while loop
DB_data_seek($result, 0);
- echo '</select></td></tr>';
+ echo '</select></td></tr>';
$result=DB_query("SELECT id, coyname FROM factorcompanies", $db);
@@ -959,7 +961,8 @@
echo '<option value="' . $myrow['id'] . '">' . $myrow['coyname'] .'</option>';
}
} //end while loop
- echo '</select></td></tr>';
+ DB_data_seek($result, 0);
+ echo '</select></td></tr>';
echo '<tr><td>' . _('Tax Reference') . ':</td>
<td><input type="text" name="TaxRef" size="21" maxlength="20" value="' . $_POST['TaxRef'] .'" /></td></tr>';
@@ -1012,9 +1015,9 @@
if (isset($_POST['New'])) {
echo '<br />
- <div class="centre">
- <input type="submit" name="submit" value="' . _('Add These New Supplier Details') . '" />
- </div>';
+ <div class="centre">
+ <input type="submit" name="submit" value="' . _('Add These New Supplier Details') . '" />
+ </div>';
} else {
echo '<br />
<div class="centre">
@@ -1027,11 +1030,11 @@
<div class="centre">
<input type="submit" name="delete" value="' . _('Delete Supplier') . '" onclick="return confirm(\'' . _('Are you sure you wish to delete this supplier?') . '\');" />';
echo '<br />
- <a href="' . $RootPath . '/SupplierContacts.php?SupplierID=' . urlencode($SupplierID) . '">' . _('Review Contact Details') . '</a>
+ <a href="' . $RootPath . '/SupplierContacts.php?SupplierID=' . $SupplierID . '">' . _('Review Contact Details') . '</a>
</div>';
}
echo '</div>
- </form>';
+ </form>';
} // end of main ifs
include('includes/footer.inc');
Modified: trunk/build/make_release.sh
===================================================================
--- trunk/build/make_release.sh 2013-04-06 09:28:15 UTC (rev 5836)
+++ trunk/build/make_release.sh 2013-04-07 00:11:55 UTC (rev 5837)
@@ -133,4 +133,4 @@
cd ..
-zip -r $OUTPUT_DIR/webERP webERP -x \*.svn* \*/config.php \*.ecoder*
+zip -r $OUTPUT_DIR/webERP webERP -x \*.svn* \*/config.php
Modified: trunk/doc/Change.log
===================================================================
--- trunk/doc/Change.log 2013-04-06 09:28:15 UTC (rev 5836)
+++ trunk/doc/Change.log 2013-04-07 00:11:55 UTC (rev 5837)
@@ -1,6 +1,5 @@
webERP Change Log
-6/4/13 Tim Schofield: Fix up issues preventing ampersands and apostrophes in supplier codes
6/4/13 Rafael: PDFPriceList.php split long description to maximum of 132 characters long
1/4/13 Kalmer Piiskop: Correct includes/LanguagesArray.php to use correct decimal point and thousands separator
27/3/13 Fahad Hatib: Updates to editing tenders and button to close a tender
@@ -8,7 +7,7 @@
21/3/13 Arwan: CustomerReceipt.php Added GL tag name for GL analysis of receipts
6/3/13 Tim Schofield: Only display those offers that have not gone past their expiry dates
-25/2/13 Re-released 4.10.1 without the duplicate records in reportlinks table and other errors caused by svn not being updated till after release
+25/2/13 Re-released 4.10.1 without the duplicate records in reportlinks table
24/2/13 Tim Schofield: SalesGraph.php Fix syntax error, missing ; at end of line
24/2/13 Tim Schofield: CustWhereAlloc.php Fix syntax error, bad indenting, and an extra } entered because of it
|