From: <tim...@us...> - 2010-09-06 14:06:32
|
Revision: 3709 http://web-erp.svn.sourceforge.net/web-erp/?rev=3709&view=rev Author: tim_schofield Date: 2010-09-06 14:06:25 +0000 (Mon, 06 Sep 2010) Log Message: ----------- Move dummy status array from DefinePOClass.php Modified Paths: -------------- trunk/PO_Header.php trunk/doc/Change.log.html trunk/includes/DefinePOClass.php Modified: trunk/PO_Header.php =================================================================== --- trunk/PO_Header.php 2010-09-06 10:18:00 UTC (rev 3708) +++ trunk/PO_Header.php 2010-09-06 14:06:25 UTC (rev 3709) @@ -6,6 +6,18 @@ include('includes/DefinePOClass.php'); include('includes/session.inc'); +/* Dummy for gettext */ + +$sDummy = _('New Order') . + _('Pending') . + _('Authorised') . + _('Rejected') . + _('Cancelled') . + _('Printed') . + _('Completed'); + +unset($sDummy); + if (isset($_GET['ModifyOrderNumber'])) { $title = _('Modify Purchase Order') . ' ' . $_GET['ModifyOrderNumber']; } else { Modified: trunk/doc/Change.log.html =================================================================== --- trunk/doc/Change.log.html 2010-09-06 10:18:00 UTC (rev 3708) +++ trunk/doc/Change.log.html 2010-09-06 14:06:25 UTC (rev 3709) @@ -1,5 +1,6 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p> <p></p> +<p>06/09/10 Tim: PO_Header.php - Move dummy status array from DefinePOClass.php</p> <p>06/09/10 Tim: upgrade3.11.1-3.12.sql - Change syntax to work in both windows and linux</p> <p>06/09/10 Tim: SupplierInvoice.php - Correct the roundings so that the double entry balances</p> <p>05/09/10 Tim: PO_AuthoriseMyOrders.php - Update correct status when language not English</p> Modified: trunk/includes/DefinePOClass.php =================================================================== --- trunk/includes/DefinePOClass.php 2010-09-06 10:18:00 UTC (rev 3708) +++ trunk/includes/DefinePOClass.php 2010-09-06 14:06:25 UTC (rev 3709) @@ -3,19 +3,7 @@ /* Definition of the PurchOrder class to hold all the information for a purchase order and delivery */ -/* Dummy for gettext */ -$sDummy = _('New Order') . - _('Pending') . - _('Authorised') . - _('Rejected') . - _('Cancelled') . - _('Printed') . - _('Completed'); - -unset($sDummy); - - Class PurchOrder { const STATUS_NEW_ORDER = 'New Order'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |