From: <tim...@us...> - 2010-08-09 13:35:18
|
Revision: 3688 http://web-erp.svn.sourceforge.net/web-erp/?rev=3688&view=rev Author: tim_schofield Date: 2010-08-09 13:35:12 +0000 (Mon, 09 Aug 2010) Log Message: ----------- Paul Thursby: SelectProduct.php - Variable $msg will never print. Elimnate to use function prnMsg() instead. Modified Paths: -------------- trunk/SelectProduct.php trunk/doc/Change.log.html Modified: trunk/SelectProduct.php =================================================================== --- trunk/SelectProduct.php 2010-08-08 07:43:13 UTC (rev 3687) +++ trunk/SelectProduct.php 2010-08-09 13:35:12 UTC (rev 3688) @@ -5,7 +5,7 @@ include ('includes/session.inc'); $title = _('Search Inventory Items'); include ('includes/header.inc'); -$msg = ''; + if (isset($_GET['StockID'])) { //The page is called with a StockID $_GET['StockID'] = trim(strtoupper($_GET['StockID'])); @@ -453,7 +453,7 @@ echo '</td></tr></table>'; } // end displaying item options if there is one and only one record echo '<form action="' . $_SERVER['PHP_SELF'] . '?' . SID . '" method=post>'; -echo '<b>' . $msg . '</b>'; + echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/magnifier.png" title="' . _('Search') . '" alt="">' . ' ' . _('Search for Inventory Items'); echo '<table class=selection><tr>'; echo '<td>' . _('In Stock Category') . ':'; @@ -502,7 +502,7 @@ $_POST['PageOffset'] = 1; } if ($_POST['Keywords'] AND $_POST['StockCode']) { - $msg = _('Stock description keywords have been used in preference to the Stock code extract entered'); + prnMsg (_('Stock description keywords have been used in preference to the Stock code extract entered'), 'info'); } if ($_POST['Keywords']) { //insert wildcard characters in spaces Modified: trunk/doc/Change.log.html =================================================================== --- trunk/doc/Change.log.html 2010-08-08 07:43:13 UTC (rev 3687) +++ trunk/doc/Change.log.html 2010-08-09 13:35:12 UTC (rev 3688) @@ -1,5 +1,6 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p> <p></p> +<p>07/08/10 Paul Thursby: SelectProduct.php - Variable $msg will never print. Elimnate to use function prnMsg() instead.</p> <p>08/08/10 Phil: Contracts.php SelectContracts.php DeliveryDetails.php - more work to convert Contracts to quotations and on conversion of contract quotations to orders to create contract work order to issue materials to <p>07/08/10 Tim: PDFLowGP.php - Sql quoting correction, layout changes, and assorted minor bug corrections</p> <p>07/08/10 Tim: PO_Items.php - Sql quoting correction, layout changes, and assorted minor bug corrections</p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |