[Weberp-svn] SF.net SVN: weberp:[5925] trunk
Brought to you by:
sotandeka,
tim_schofield
From: <tim...@us...> - 2011-07-12 13:22:12
|
Revision: 5925 http://weberp.svn.sourceforge.net/weberp/?rev=5925&view=rev Author: tim_schofield Date: 2011-07-12 13:22:06 +0000 (Tue, 12 Jul 2011) Log Message: ----------- Remove unnecessary use of SID Modified Paths: -------------- trunk/PaymentMethods.php trunk/Payments.php Modified: trunk/PaymentMethods.php =================================================================== --- trunk/PaymentMethods.php 2011-07-12 13:21:54 UTC (rev 5924) +++ trunk/PaymentMethods.php 2011-07-12 13:22:06 UTC (rev 5925) @@ -209,7 +209,7 @@ if (isset($SelectedPaymentID)) { - echo '<div class="centre"><a href=' . $_SERVER['PHP_SELF'] . '?' . SID .'>' . _('Review Payment Methods') . '</a></div>'; + echo '<div class="centre"><a href="' . $_SERVER['PHP_SELF'] . '">' . _('Review Payment Methods') . '</a></div>'; } echo '<br />'; Modified: trunk/Payments.php =================================================================== --- trunk/Payments.php 2011-07-12 13:21:54 UTC (rev 5924) +++ trunk/Payments.php 2011-07-12 13:22:06 UTC (rev 5925) @@ -37,7 +37,7 @@ } //note this is already linked from this page -//echo "<a href='" . $rootpath . '/SelectSupplier.php?' . SID . "'>" . _('Back to Suppliers') . '</a><br />'; +//echo "<a href='" . $rootpath . '/SelectSupplier.php'>" . _('Back to Suppliers') . '</a><br />'; echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . _('Payment Entry') . '" alt="" />' . ' ' . _('Payment Entry') . '</p>'; @@ -258,7 +258,7 @@ AND ($myrow[0] == 1)) { // it is a supplier payment by cheque and haven't printed yet so print cheque - echo '<br /><a href="' . $rootpath . '/PrintCheque.php?' . SID . '&ChequeNum=' . $_POST['ChequeNum'] . '">' . _('Print Cheque using pre-printed stationery') . '</a><br /><br />'; + echo '<br /><a href="' . $rootpath . '/PrintCheque.php?ChequeNum=' . $_POST['ChequeNum'] . '">' . _('Print Cheque using pre-printed stationery') . '</a><br /><br />'; echo '<form method=post action="' . $_SERVER['PHP_SELF'] . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; @@ -1003,7 +1003,7 @@ <td>' . $PaymentItem->GLCode . ' - ' . $PaymentItem->GLActName . '</td> <td>' . stripslashes($PaymentItem->Narrative) . '</td> <td>' . $PaymentItem->tag . ' - ' . $TagName . '</td> - <td><a href="' . $_SERVER['PHP_SELF'] . '?' . SID . '&Delete=' . $PaymentItem->ID . '">' . _('Delete') . '</a></td> + <td><a href="' . $_SERVER['PHP_SELF'] . '?Delete=' . $PaymentItem->ID . '">' . _('Delete') . '</a></td> </tr>'; $PaymentTotal += $PaymentItem->Amount; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |