|
From: <tu...@us...> - 2018-02-10 01:46:03
|
Revision: 7948
http://sourceforge.net/p/web-erp/reponame/7948
Author: turbopt
Date: 2018-02-10 01:46:00 +0000 (Sat, 10 Feb 2018)
Log Message:
-----------
PaulT: Remove the last of the remaining URL 'SID' references.
Modified Paths:
--------------
trunk/FixedAssetRegister.php
trunk/FormDesigner.php
trunk/MRPReschedules.php
trunk/SuppShiptChgs.php
trunk/SupplierCredit.php
trunk/Z_DataExport.php
trunk/Z_ImportGLAccountGroups.php
trunk/Z_ImportGLAccountSections.php
trunk/Z_ImportPartCodes.php
trunk/Z_MakeNewCompany.php
trunk/Z_ReApplyCostToSA.php
trunk/Z_RemovePurchaseBackOrders.php
trunk/Z_Upgrade3.10.php
trunk/Z_Upgrade_3.04-3.05.php
trunk/Z_Upgrade_3.05-3.06.php
trunk/Z_Upgrade_3.07-3.08.php
trunk/Z_Upgrade_3.08-3.09.php
trunk/Z_Upgrade_3.09-3.10.php
trunk/Z_Upgrade_3.10-3.11.php
trunk/Z_Upgrade_3.11-4.00.php
trunk/Z_poAddLanguage.php
trunk/Z_poAdmin.php
trunk/Z_poEditLangHeader.php
trunk/Z_poEditLangRemaining.php
trunk/Z_poRebuildDefault.php
trunk/doc/Change.log
Modified: trunk/FixedAssetRegister.php
===================================================================
--- trunk/FixedAssetRegister.php 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/FixedAssetRegister.php 2018-02-10 01:46:00 UTC (rev 7948)
@@ -76,7 +76,7 @@
} elseif (isset($_POST['csv'])) {
$csv_output = "'Asset ID','Description','Serial Number','Location','Date Acquired','Cost B/Fwd','Period Additions','Depn B/Fwd','Period Depreciation','Cost C/Fwd', 'Accum Depn C/Fwd','NBV','Disposal Value'\n";
} else {
- echo '<form id="RegisterForm" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . '">
+ echo '<form id="RegisterForm" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">
<div>';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<div class="centre">' ._('From') . ':' . $_POST['FromDate'] . ' ' . _('to') . ' ' . $_POST['ToDate'] . '</div>';
Modified: trunk/FormDesigner.php
===================================================================
--- trunk/FormDesigner.php 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/FormDesigner.php 2018-02-10 01:46:00 UTC (rev 7948)
@@ -147,25 +147,25 @@
$FormDesign->asXML(sys_get_temp_dir().'/'.$_POST['FormName']);
switch ($_POST['FormName']) {
case 'PurchaseOrder.xml':
- echo '<meta http-equiv="Refresh" content="0; url=' . $RootPath . '/PO_PDFPurchOrder.php?' . SID .'OrderNo=Preview">';
+ echo '<meta http-equiv="Refresh" content="0; url=' . $RootPath . '/PO_PDFPurchOrder.php?OrderNo=Preview">';
break;
case 'GoodsReceived.xml':
- echo '<meta http-equiv="Refresh" content="0; url=' . $RootPath . '/PDFGrn.php?' . SID .'GRNNo=Preview&PONo=1">';
+ echo '<meta http-equiv="Refresh" content="0; url=' . $RootPath . '/PDFGrn.php?GRNNo=Preview&PONo=1">';
break;
case 'PickingList.xml':
- echo '<meta http-equiv="Refresh" content="0; url=' . $RootPath . '/PDFPickingList.php?' . SID .'TransNo=Preview">';
+ echo '<meta http-equiv="Refresh" content="0; url=' . $RootPath . '/PDFPickingList.php?TransNo=Preview">';
break;
case 'QALabel.xml':
- echo '<meta http-equiv="Refresh" content="0; url=' . $RootPath . '/PDFQALabel.php?' . SID .'GRNNo=Preview&PONo=1">';
+ echo '<meta http-equiv="Refresh" content="0; url=' . $RootPath . '/PDFQALabel.php?GRNNo=Preview&PONo=1">';
break;
case 'WOPaperwork.xml':
- echo '<meta http-equiv="Refresh" content="0; url=' . $RootPath . '/PDFWOPrint.php?' . SID .'WO=Preview">';
+ echo '<meta http-equiv="Refresh" content="0; url=' . $RootPath . '/PDFWOPrint.php?WO=Preview">';
break;
case 'FGLabel.xml':
- echo '<meta http-equiv="Refresh" content="0; url=' . $RootPath . '/PDFFGLabel.php?' . SID .'WO=Preview">';
+ echo '<meta http-equiv="Refresh" content="0; url=' . $RootPath . '/PDFFGLabel.php?WO=Preview">';
break;
case 'ShippingLabel.xml':
- echo '<meta http-equiv="Refresh" content="0; url=' . $RootPath . '/PDFShipLabel.php?' . SID .'ORD=Preview">';
+ echo '<meta http-equiv="Refresh" content="0; url=' . $RootPath . '/PDFShipLabel.php?ORD=Preview">';
break;
}
} else {
@@ -183,7 +183,7 @@
* drop down list of possible forms */
if (empty($_POST['FormName'])) {
echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . ' ' . $Title . '</p><br />';
- echo '<form method="post" id="ChooseForm" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . '">';
+ echo '<form method="post" id="ChooseForm" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
echo '<div>';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<table><tr>';
@@ -219,7 +219,7 @@
_('All coordinates are measured from the lower left corner of the sheet to the top left corner of the element.') . '</div><br />';
$Papers=array('A4_Landscape', 'A4_Portrait', 'A5_Landscape', 'A5_Portrait', 'A6_Landscape', 'A3_Landscape', 'A3_Portrait', 'Letter_Portrait', 'Letter_Landscape', 'Legal_Portrait', 'Legal_Landscape'); // Possible paper sizes/orientations
-echo '<form method="post" id="Form" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . '">';
+echo '<form method="post" id="Form" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
echo '<div>';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<input name="FormName" type="hidden" value="'.$_POST['FormName'].'" />';
Modified: trunk/MRPReschedules.php
===================================================================
--- trunk/MRPReschedules.php 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/MRPReschedules.php 2018-02-10 01:46:00 UTC (rev 7948)
@@ -12,7 +12,7 @@
include('includes/header.php');
echo '<br />';
prnMsg( _('The MRP calculation must be run before you can run this report') . '<br />' .
- _('To run the MRP calculation click').' ' . '<a href='.$RootPath .'/MRP.php?' . SID .'>' . _('here') . '</a>', 'error');
+ _('To run the MRP calculation click').' ' . '<a href="'.$RootPath .'/MRP.php">' . _('here') . '</a>', 'error');
include('includes/footer.php');
exit;
}
@@ -55,7 +55,7 @@
$Title = _('MRP Reschedules') . ' - ' . _('Problem Report');
include('includes/header.php');
prnMsg( _('No MRP reschedule retrieved'), 'warn');
- echo '<br /><a href="' .$RootPath .'/index.php?' . SID . '">' . _('Back to the menu') . '</a>';
+ echo '<br /><a href="' .$RootPath .'/index.php">' . _('Back to the menu') . '</a>';
if ($debug==1){
echo '<br />' . $sql;
}
Modified: trunk/SuppShiptChgs.php
===================================================================
--- trunk/SuppShiptChgs.php 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/SuppShiptChgs.php 2018-02-10 01:46:00 UTC (rev 7948)
@@ -87,7 +87,7 @@
echo '<tr><td>' . $EnteredShiptRef->ShiptRef . '</td>
<td class="number">' . locale_number_format($EnteredShiptRef->Amount,2) . '</td>
- <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . '&Delete=' . $EnteredShiptRef->Counter . '">' . _('Delete') . '</a></td></tr>';
+ <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Delete=' . $EnteredShiptRef->Counter . '">' . _('Delete') . '</a></td></tr>';
$TotalShiptValue = $TotalShiptValue + $EnteredShiptRef->Amount;
Modified: trunk/SupplierCredit.php
===================================================================
--- trunk/SupplierCredit.php 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/SupplierCredit.php 2018-02-10 01:46:00 UTC (rev 7948)
@@ -30,9 +30,6 @@
include('includes/header.php');
include('includes/SQL_CommonFunctions.inc');
-//this is available from the menu on this page already
-//echo "<a href='" . $RootPath . '/SelectSupplier.php?' . SID . "'>" . _('Back to Suppliers') . '</a><br />';
-
if (isset($_GET['New'])) {
unset($_SESSION['SuppTrans']);
}
Modified: trunk/Z_DataExport.php
===================================================================
--- trunk/Z_DataExport.php 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/Z_DataExport.php 2018-02-10 01:46:00 UTC (rev 7948)
@@ -69,7 +69,7 @@
$Title = _('Price List Export Problem ....');
include('includes/header.php');
prnMsg( _('The Price List could not be retrieved by the SQL because'). ' - ' . DB_error_msg(), 'error');
- echo '<br /><a href="' .$RootPath .'/index.php?' . SID . '">' . _('Back to the menu'). '</a>';
+ echo '<br /><a href="' .$RootPath .'/index.php">' . _('Back to the menu'). '</a>';
if ($debug==1){
echo '<br />' . $SQL;
}
@@ -344,7 +344,7 @@
$Title = _('Security Token List Export Problem ....');
include('includes/header.php');
prnMsg( _('The Security Token List could not be retrieved by the SQL because'). ' - ' . DB_error_msg(), 'error');
- echo '<br /><a href="' .$RootPath .'/index.php?' . SID . '">' . _('Back to the menu'). '</a>';
+ echo '<br /><a href="' .$RootPath .'/index.php">' . _('Back to the menu'). '</a>';
if ($debug==1){
echo '<br />' . $SQL;
}
@@ -416,7 +416,7 @@
$Title = _('Security Group List Export Problem ....');
include('includes/header.php');
prnMsg( _('The Security Group List could not be retrieved by the SQL because'). ' - ' . DB_error_msg(), 'error');
- echo '<br /><a href="' .$RootPath .'/index.php?' . SID . '">' . _('Back to the menu'). '</a>';
+ echo '<br /><a href="' .$RootPath .'/index.php">' . _('Back to the menu'). '</a>';
if ($debug==1){
echo '<br />' . $SQL;
}
Modified: trunk/Z_ImportGLAccountGroups.php
===================================================================
--- trunk/Z_ImportGLAccountGroups.php 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/Z_ImportGLAccountGroups.php 2018-02-10 01:46:00 UTC (rev 7948)
@@ -66,7 +66,7 @@
prnMsg( _('Select a csv file containing the details of the account sections that you wish to import into webERP. '). '<br />' .
_('The first line must contain the field names that you wish to import. ').
'<a href ="Z_DescribeTable.php?table=accountsection">' . _('The field names can be found here'). '</a>', 'info');
- echo '<form id="ItemForm" enctype="multipart/form-data" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' .SID .'">';
+ echo '<form id="ItemForm" enctype="multipart/form-data" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
echo '<div class="centre">';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<table><tr><td>' . _('File to import') . '</td>' .
Modified: trunk/Z_ImportGLAccountSections.php
===================================================================
--- trunk/Z_ImportGLAccountSections.php 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/Z_ImportGLAccountSections.php 2018-02-10 01:46:00 UTC (rev 7948)
@@ -70,7 +70,7 @@
prnMsg( _('Select a csv file containing the details of the account sections that you wish to import into webERP. '). '<br />' .
_('The first line must contain the field names that you wish to import. ').
'<a href ="Z_DescribeTable.php?table=accountsection">' . _('The field names can be found here'). '</a>', 'info');
- echo '<form id="ItemForm" enctype="multipart/form-data" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' .SID .'">';
+ echo '<form id="ItemForm" enctype="multipart/form-data" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
echo '<div class="centre">';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<table><tr><td>' . _('File to import') . '</td>' .
Modified: trunk/Z_ImportPartCodes.php
===================================================================
--- trunk/Z_ImportPartCodes.php 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/Z_ImportPartCodes.php 2018-02-10 01:46:00 UTC (rev 7948)
@@ -77,7 +77,7 @@
prnMsg( _('Select a csv file containing the details of the parts that you wish to import into webERP. '). '<br />' .
_('The first line must contain the field names that you wish to import. ').
'<a href ="Z_DescribeTable.php?table=stockmaster">' . _('The field names can be found here'). '</a>', 'info');
- echo '<form id="ItemForm" enctype="multipart/form-data" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' .SID .'">';
+ echo '<form id="ItemForm" enctype="multipart/form-data" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
echo '<div class="centre">';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<table><tr><td>' . _('File to import') . '</td>' .
Modified: trunk/Z_MakeNewCompany.php
===================================================================
--- trunk/Z_MakeNewCompany.php 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/Z_MakeNewCompany.php 2018-02-10 01:46:00 UTC (rev 7948)
@@ -9,7 +9,7 @@
if (isset($_POST['EnterCompanyDetails'])) {
- header ('Location:' . $RootPath . '/CompanyPreferences.php?' . SID);
+ header ('Location:' . $RootPath . '/CompanyPreferences.php');
exit;
}
$Title = _('Make New Company Database Utility');
@@ -31,7 +31,7 @@
prnMsg(_('Company database must not contain spaces, \& or " or \''),'error');
} else {
$_POST['NewDatabase'] = strtolower($_POST['NewDatabase']);
- echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . '">';
+ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
echo '<div class="centre">';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
/* check for directory existence */
@@ -229,7 +229,7 @@
prnMsg (_('This utility will create a new company') . '<br /><br />' .
_('If the company name already exists then you cannot recreate it'), 'info', _('PLEASE NOTE'));
echo '<br /></div>';
-echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . '" enctype="multipart/form-data">';
+echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" enctype="multipart/form-data">';
echo '<div class="centre">';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
Modified: trunk/Z_ReApplyCostToSA.php
===================================================================
--- trunk/Z_ReApplyCostToSA.php 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/Z_ReApplyCostToSA.php 2018-02-10 01:46:00 UTC (rev 7948)
@@ -8,7 +8,7 @@
$Period = 42;
-echo "<form method='post' action='" . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . "'>";
+echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
echo '<div>';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
Modified: trunk/Z_RemovePurchaseBackOrders.php
===================================================================
--- trunk/Z_RemovePurchaseBackOrders.php 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/Z_RemovePurchaseBackOrders.php 2018-02-10 01:46:00 UTC (rev 7948)
@@ -6,7 +6,7 @@
$Title=_('Remove Purchase Order Back Orders');
include('includes/header.php');
-echo "<form method='post' action='" . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . "'>";
+echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<br />
Modified: trunk/Z_Upgrade3.10.php
===================================================================
--- trunk/Z_Upgrade3.10.php 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/Z_Upgrade3.10.php 2018-02-10 01:46:00 UTC (rev 7948)
@@ -9,7 +9,7 @@
prnMsg(_('This script will perform any modifications to the database since v 3.10 required to allow the additional functionality in version 3.10 scripts'),'info');
if (!isset($_POST['DoUpgrade'])) {
- echo "<br /><form method='post' action='" . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . "'>";
+ echo '<br /><form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<div class="centre"><input type="submit" name=DoUpgrade value="' . _('Perform Upgrade') . '" /></div>';
echo '</form>';
Modified: trunk/Z_Upgrade_3.04-3.05.php
===================================================================
--- trunk/Z_Upgrade_3.04-3.05.php 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/Z_Upgrade_3.04-3.05.php 2018-02-10 01:46:00 UTC (rev 7948)
@@ -9,8 +9,8 @@
prnMsg(_('This script will run perform any modifications to the database required to allow the additional functionality in version 3.05 scripts'),'info');
-echo "<p><form method='post' action='" . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . "'>";
- echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
+echo '<p><form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
+echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<input type="submit" name="DoUpgrade" value="' . _('Perform Upgrade') . '" />';
echo '</form>';
Modified: trunk/Z_Upgrade_3.05-3.06.php
===================================================================
--- trunk/Z_Upgrade_3.05-3.06.php 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/Z_Upgrade_3.05-3.06.php 2018-02-10 01:46:00 UTC (rev 7948)
@@ -8,7 +8,7 @@
prnMsg(_('This script will run perform any modifications to the database since v 3.06 required to allow the additional functionality in version 3.07 scripts'),'info');
-echo "<p><form method='post' action='" . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . "'>";
+echo '<p><form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<input type="submit" name="DoUpgrade" value="' . _('Perform Upgrade') . '" />';
echo '</form>';
Modified: trunk/Z_Upgrade_3.07-3.08.php
===================================================================
--- trunk/Z_Upgrade_3.07-3.08.php 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/Z_Upgrade_3.07-3.08.php 2018-02-10 01:46:00 UTC (rev 7948)
@@ -8,7 +8,7 @@
prnMsg(_('This script will run perform any modifications to the database since v 3.071 required to allow the additional functionality in version 3.08 scripts'),'info');
-echo "<p><form method='post' action='" . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . "'>";
+echo '<p><form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<input type="submit" name="DoUpgrade" value="' . _('Perform Upgrade') . '" />';
echo '</form>';
Modified: trunk/Z_Upgrade_3.08-3.09.php
===================================================================
--- trunk/Z_Upgrade_3.08-3.09.php 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/Z_Upgrade_3.08-3.09.php 2018-02-10 01:46:00 UTC (rev 7948)
@@ -8,8 +8,8 @@
prnMsg(_('This script will run perform any modifications to the database since v 3.08 required to allow the additional functionality in version 3.09 scripts'),'info');
-echo "<p><form method='post' action='" . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . "'>";
- echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
+echo '<p><form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
+echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<input type="submit" name="DoUpgrade" value="' . _('Perform Upgrade') . '" />';
echo '</form>';
Modified: trunk/Z_Upgrade_3.09-3.10.php
===================================================================
--- trunk/Z_Upgrade_3.09-3.10.php 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/Z_Upgrade_3.09-3.10.php 2018-02-10 01:46:00 UTC (rev 7948)
@@ -8,8 +8,8 @@
prnMsg(_('This script will run perform any modifications to the database since v 3.09 required to allow the additional functionality in version 3.09 scripts'),'info');
-echo "<p><form method='post' action='" . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . "'>";
- echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
+echo '<p><form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
+echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<input type="submit" name="DoUpgrade" value="' . _('Perform Upgrade') . '" />';
echo '</form>';
Modified: trunk/Z_Upgrade_3.10-3.11.php
===================================================================
--- trunk/Z_Upgrade_3.10-3.11.php 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/Z_Upgrade_3.10-3.11.php 2018-02-10 01:46:00 UTC (rev 7948)
@@ -9,7 +9,7 @@
if (empty($_POST['DoUpgrade'])){
prnMsg(_('This script will run perform any modifications to the database since v 3.10 required to allow the additional functionality in version 3.11 scripts'),'info');
- echo "<p><form method='post' action='" . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . "'>";
+ echo '<p><form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<div class="centre"?><input type="submit" name=DoUpgrade value="' . _('Perform Upgrade') . '" /></div>';
echo '</form>';
Modified: trunk/Z_Upgrade_3.11-4.00.php
===================================================================
--- trunk/Z_Upgrade_3.11-4.00.php 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/Z_Upgrade_3.11-4.00.php 2018-02-10 01:46:00 UTC (rev 7948)
@@ -9,7 +9,7 @@
if (empty($_POST['DoUpgrade'])){
prnMsg(_('This script will run perform any modifications to the database since v 3.11 required to allow the additional functionality in version 4.00 scripts'),'info');
- echo "<p><form method='post' action='" . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . "'>";
+ echo '<p><form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<div class="centre"?><input type="submit" name="DoUpgrade" value="' . _('Perform Upgrade') . '" /></div>';
echo '</form>';
Modified: trunk/Z_poAddLanguage.php
===================================================================
--- trunk/Z_poAddLanguage.php 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/Z_poAddLanguage.php 2018-02-10 01:46:00 UTC (rev 7948)
@@ -12,7 +12,7 @@
if (isset($_POST['cancel'])) {
- header ('Location:' . $RootPath . '/Z_poAdmin.php?' . SID);
+ header ('Location:' . $RootPath . '/Z_poAdmin.php');
exit;
}
@@ -50,7 +50,7 @@
echo '<div class="centre">';
echo '<br />';
- echo '<form method="post" action=' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . '>';
+ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
@@ -87,7 +87,7 @@
prnMsg (_('This utility will create a new language and a new language translation file for it from the system default') . '<br /><br />' .
_('If the language already exists then you cannot recreate it'), 'info', _('PLEASE NOTE'));
echo '<br /></div>';
-echo '<form method="post" action=' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . '>';
+echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<table><tr>';
Modified: trunk/Z_poAdmin.php
===================================================================
--- trunk/Z_poAdmin.php 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/Z_poAdmin.php 2018-02-10 01:46:00 UTC (rev 7948)
@@ -25,13 +25,13 @@
if (!is_writable('./locale/' . $_SESSION['Language'])) {
prnMsg(_('You do not have write access to the required files please contact your system administrator'),'error');
} else {
- echo '<p><a href="' . $RootPath . '/Z_poRebuildDefault.php?' . SID . '">' . _('Rebuild the System Default Language File') . '</a>';
- echo '<p><a href="' . $RootPath . '/Z_poAddLanguage.php?' . SID . '">' . _('Add a New Language to the System') . '</a>';
- echo '<p><a href="' . $RootPath . '/Z_poEditLangHeader.php?' . SID . '">' . _('Edit a Language File Header') . '</a>';
- echo '<p><a href="' . $RootPath . '/Z_poEditLangModule.php?' . SID . '">' . _('Edit a Language File Module') . '</a>';
- echo '<p><a href="' . $RootPath . '/Z_poEditLangRemaining.php?' . SID . '">' . _('Edit Remaining Strings For This Language') . '</a>';
- echo '<p><a href="' . $RootPath . '/locale/'.$_SESSION['Language'].'/LC_MESSAGES/messages.po' . SID . '">' . _('Download messages.po file') . '</a>';
- echo '<p><a href="' . $RootPath . '/locale/'.$_SESSION['Language'].'/LC_MESSAGES/messages.mo' . SID . '">' . _('Download messages.mo file') . '</a>';
+ echo '<p><a href="' . $RootPath . '/Z_poRebuildDefault.php">' . _('Rebuild the System Default Language File') . '</a>';
+ echo '<p><a href="' . $RootPath . '/Z_poAddLanguage.php">' . _('Add a New Language to the System') . '</a>';
+ echo '<p><a href="' . $RootPath . '/Z_poEditLangHeader.php">' . _('Edit a Language File Header') . '</a>';
+ echo '<p><a href="' . $RootPath . '/Z_poEditLangModule.php">' . _('Edit a Language File Module') . '</a>';
+ echo '<p><a href="' . $RootPath . '/Z_poEditLangRemaining.php">' . _('Edit Remaining Strings For This Language') . '</a>';
+ echo '<p><a href="' . $RootPath . '/locale/'.$_SESSION['Language'].'/LC_MESSAGES/messages.po">' . _('Download messages.po file') . '</a>';
+ echo '<p><a href="' . $RootPath . '/locale/'.$_SESSION['Language'].'/LC_MESSAGES/messages.mo">' . _('Download messages.mo file') . '</a>';
}
include('includes/footer.php');
Modified: trunk/Z_poEditLangHeader.php
===================================================================
--- trunk/Z_poEditLangHeader.php 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/Z_poEditLangHeader.php 2018-02-10 01:46:00 UTC (rev 7948)
@@ -33,7 +33,7 @@
if (isset($_POST['submit'])) {
echo '<br /><table><tr><td>';
- echo '<form method="post" action=' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . '>';
+ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
/* write the new header then the rest of the language file to a new file */
@@ -90,7 +90,7 @@
prnMsg (_('Your existing translation file (messages.po) will be backed up as messages.po.old') . '<br /><br />' .
_('Make sure you know what you are doing BEFORE you edit the header'), 'info', _('PLEASE NOTE'));
echo '<br /></div>';
- echo '<form method="post" action=' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . '>';
+ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<table><tr><th" colspan="2" ALIGN="center">' . _('Language File Header for') . ' "' . $_POST['language'] . '"</th></tr>';
Modified: trunk/Z_poEditLangRemaining.php
===================================================================
--- trunk/Z_poEditLangRemaining.php 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/Z_poEditLangRemaining.php 2018-02-10 01:46:00 UTC (rev 7948)
@@ -38,7 +38,7 @@
// save the modifications
echo '<br /><table><tr><td>';
- echo '<form method="post" action=' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . '>';
+ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
/* write the new language file */
@@ -105,7 +105,7 @@
prnMsg (_('Your existing translation file (messages.po) will be saved as messages.po.old') . '<br />', 'info', _('PLEASE NOTE'));
echo '<br />';
echo '</div>';
- echo '<form method="post" action=' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . '>';
+ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<table>';
Modified: trunk/Z_poRebuildDefault.php
===================================================================
--- trunk/Z_poRebuildDefault.php 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/Z_poRebuildDefault.php 2018-02-10 01:46:00 UTC (rev 7948)
@@ -32,7 +32,7 @@
if (isset($_POST['submit'])) {
echo '<br /><table><tr><td>';
- echo '<form method="post" action=' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . '>';
+ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
prnMsg (_('Rebuilding the default language file ') . '.....<br />', 'info', ' ');
$Result = rename($PathToDefault, $PathToDefault . '.old');// Renames pot file to bak.
@@ -51,7 +51,7 @@
_('This is not usually necessary but if done before a new language is created then that language will have any new or recently modified strings') . '.<br />' .
_('Existing languages are not affected.') . '.', 'info', _('PLEASE NOTE'));
echo '<br />';
- echo '<form method="post" action=' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . '>';
+ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
echo '<input type="submit" name="submit" value="' . _('Proceed') . '" /> ';
echo '</form>';
Modified: trunk/doc/Change.log
===================================================================
--- trunk/doc/Change.log 2018-02-10 00:49:30 UTC (rev 7947)
+++ trunk/doc/Change.log 2018-02-10 01:46:00 UTC (rev 7948)
@@ -1,5 +1,6 @@
webERP Change Log
+9/2/18 PaulT: Remove the last of the remaining URL 'SID' references.
9/2/18 Paul Becker (PaulT commit): StockLocMovements.php, StockMovements.php: Add serial number column to output. (Reported in forums: http://www.weberp.org/forum/showthread.php?tid=8088)
9/2/18 Paul Becker (PaulT commit): InternalStockRequestFulfill.php: Add controlled stock handling within this script. (Reported in forums: http://www.weberp.org/forum/showthread.php?tid=8086)
9/2/18 Tim/PaulT: MRPPlannedPurchaseOrders.php, MRPPlannedWorkOrders.php: Fix conversion factor matter noted by Tim, use DB_table_exists() from commit 7943 to replace table check query, and minor rework to 'missing cell' handling from commit 7939.
|