[Weberp-svn] SF.net SVN: weberp:[8763] trunk
Brought to you by:
sotandeka,
tim_schofield
From: <tim...@us...> - 2012-05-01 21:44:17
|
Revision: 8763 http://weberp.svn.sourceforge.net/weberp/?rev=8763&view=rev Author: tim_schofield Date: 2012-05-01 21:44:11 +0000 (Tue, 01 May 2012) Log Message: ----------- Layout improvements, new css and buttons Modified Paths: -------------- trunk/GoodsReceived.php trunk/GoodsReceivedControlled.php trunk/InternalStockRequestAuthorisation.php trunk/InternalStockRequestFulfill.php trunk/InventoryPlanning.php trunk/InventoryPlanningPrefSupplier.php trunk/InventoryQuantities.php trunk/InventoryValuation.php trunk/Locations.php Modified: trunk/GoodsReceived.php =================================================================== --- trunk/GoodsReceived.php 2012-05-01 20:42:55 UTC (rev 8762) +++ trunk/GoodsReceived.php 2012-05-01 21:44:11 UTC (rev 8763) @@ -259,20 +259,20 @@ if ($SomethingReceived==0 AND isset($_POST['ProcessGoodsReceived'])){ /*Then dont bother proceeding cos nothing to do ! */ prnMsg(_('There is nothing to process') . '. ' . _('Please enter valid quantities greater than zero'),'warn'); - echo '<div class="centre"><input type="submit" name="Update" value="' . _('Update') . '" /></div>'; + echo '<div class="centre"><button type="submit" name="Update">' . _('Update') . '</button></div>'; } elseif ($NegativesFound){ prnMsg(_('Negative stocks would result by processing a negative delivery - quantities must be changed or the stock quantity of the item going negative corrected before this delivery will be processed.'),'error'); - echo '<div class="centre"><input type="submit" name="Update" value="' . _('Update') . '" />'; + echo '<div class="centre"><button type="submit" name="Update">' . _('Update') . '</button>'; }elseif ($DeliveryQuantityTooLarge==1 AND isset($_POST['ProcessGoodsReceived'])){ prnMsg(_('Entered quantities cannot be greater than the quantity entered on the purchase invoice including the allowed over-receive percentage'). ' ' . '(' . $_SESSION['OverReceiveProportion'] .'%)','error'); echo '<br />'; prnMsg(_('Modify the ordered items on the purchase invoice if you wish to increase the quantities'),'info'); - echo '<div class="centre"><input type="submit" name="Update" value="' . _('Update') . '" />'; + echo '<div class="centre"><button type="submit" name="Update">' . _('Update') . '</button>'; } elseif (isset($_POST['ProcessGoodsReceived']) AND $SomethingReceived==1 AND $InputError == false){ @@ -744,8 +744,8 @@ echo '<br /><div class="centre"><a href="' . $rootpath . '/PO_Items.php">' . _('Modify Order Items'). '</a></div>'; - echo '<br /><div class="centre"><input type="submit" name="Update" value="' . _('Update') . '" /></div><br />'; - echo '<div class="centre"><input type="submit" name="ProcessGoodsReceived" value="' . _('Process Goods Received') . '" /></div>'; + echo '<br /><div class="centre"><button type="submit" name="Update">' . _('Update') . '</button></div><br />'; + echo '<div class="centre"><button type="submit" name="ProcessGoodsReceived">' . _('Process Goods Received') . '</button></div><br />'; } echo '</form>'; Modified: trunk/GoodsReceivedControlled.php =================================================================== --- trunk/GoodsReceivedControlled.php 2012-05-01 20:42:55 UTC (rev 8762) +++ trunk/GoodsReceivedControlled.php 2012-05-01 21:44:11 UTC (rev 8763) @@ -61,8 +61,6 @@ $ShowExisting = false; include ('includes/InputSerialItems.php'); -//echo '<br /><input type="submit" name=\'AddBatches\' value=\'Enter\'><br />'; - /*TotalQuantity set inside this include file from the sum of the bundles of the item selected for dispatch */ $_SESSION['PO']->LineItems[$LineItem->LineNo]->ReceiveQty = $TotalQuantity; Modified: trunk/InternalStockRequestAuthorisation.php =================================================================== --- trunk/InternalStockRequestAuthorisation.php 2012-05-01 20:42:55 UTC (rev 8762) +++ trunk/InternalStockRequestAuthorisation.php 2012-05-01 21:44:11 UTC (rev 8763) @@ -105,7 +105,7 @@ </tr>'; } //end while header loop echo '</table>'; -echo '<br /><div class="centre"><input type="submit" name="updateall" value="' . _('Update'). '" /></form>'; +echo '<br /><div class="centre"><button type="submit" name="updateall">' . _('Update'). '</button></div><br /></form>'; include('includes/footer.inc'); ?> \ No newline at end of file Modified: trunk/InternalStockRequestFulfill.php =================================================================== --- trunk/InternalStockRequestFulfill.php 2012-05-01 20:42:55 UTC (rev 8762) +++ trunk/InternalStockRequestFulfill.php 2012-05-01 21:44:11 UTC (rev 8763) @@ -220,7 +220,7 @@ } echo '</select></td></tr>'; echo '</table><br />'; - echo '<div class="centre"><input type="submit" name="EnterAdjustment" value="'. _('Show Requests'). '" /></div>'; + echo '<div class="centre"><button type="submit" name="EnterAdjustment">'. _('Show Requests'). '</button></div><br />'; include('includes/footer.inc'); exit; } @@ -250,7 +250,7 @@ if (DB_num_rows($result)==0) { prnMsg( _('There are no outstanding authorised requests for this location'), 'info'); echo '<br />'; - echo '<div class="centre"><a href="' . $_SESSION['FormID'] . '">' . _('Select another location') . '</a></div>'; + echo '<div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '">' . _('Select another location') . '</a></div>'; include('includes/footer.inc'); exit; } @@ -336,7 +336,7 @@ echo '</table></td></tr>'; } //end while header loop echo '</table>'; - echo '<br /><div class="centre"><input type="submit" name="UpdateAll" value="' . _('Update'). '" /></form>'; + echo '<br /><div class="centre"><button type="submit" name="UpdateAll">' . _('Update'). '</button></form>'; } include('includes/footer.inc'); Modified: trunk/InventoryPlanning.php =================================================================== --- trunk/InventoryPlanning.php 2012-05-01 20:42:55 UTC (rev 8762) +++ trunk/InventoryPlanning.php 2012-05-01 21:44:11 UTC (rev 8763) @@ -440,7 +440,7 @@ </td> </tr>'; - echo '</table><br /><div class="centre"><input type="submit" name="PrintPDF" value="' . _('Print PDF') . '" /></div></form>'; + echo '</table><br /><div class="centre"><button type="submit" name="PrintPDF">' . _('Print PDF') . '</button></div><br /></form>'; } include('includes/footer.inc'); Modified: trunk/InventoryPlanningPrefSupplier.php =================================================================== --- trunk/InventoryPlanningPrefSupplier.php 2012-05-01 20:42:55 UTC (rev 8762) +++ trunk/InventoryPlanningPrefSupplier.php 2012-05-01 21:44:11 UTC (rev 8763) @@ -516,7 +516,7 @@ } echo '</select></td></tr>'; - echo '</table><br /><div class="centre"><input type="submit" name="PrintPDF" value="' . _('Print PDF') . '" /></div>'; + echo '</table><br /><div class="centre"><button type="submit" name="PrintPDF">' . _('Print PDF') . '</button></div><br />'; include('includes/footer.inc'); } /*end of else not PrintPDF */ Modified: trunk/InventoryQuantities.php =================================================================== --- trunk/InventoryQuantities.php 2012-05-01 20:42:55 UTC (rev 8762) +++ trunk/InventoryQuantities.php 2012-05-01 21:44:11 UTC (rev 8763) @@ -146,7 +146,7 @@ echo '<div class="page_help_text">' . _('Use this report to display the quantity of Inventory items in different categories.') . '</div><br />'; - echo '<br /><br /><form action=' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . ' method="post"><table>'; + echo '<form action=' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . ' method="post"><table>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="selection"><tr><td>'; echo '<tr><td>' . _('Selection') . ':</td><td><select name="Selection">'; @@ -183,7 +183,7 @@ } } echo '</select></td></tr>'; - echo '</table><br /><div class="centre"><input type="submit" name="PrintPDF" value="' . _('Print PDF') . '" /></div>'; + echo '</table><br /><div class="centre"><button type="submit" name="PrintPDF">' . _('Print PDF') . '</button></div><br />'; include('includes/footer.inc'); Modified: trunk/InventoryValuation.php =================================================================== --- trunk/InventoryValuation.php 2012-05-01 20:42:55 UTC (rev 8762) +++ trunk/InventoryValuation.php 2012-05-01 21:44:11 UTC (rev 8763) @@ -239,7 +239,7 @@ echo '<option value="Yes">' . _('Detailed Report') . '</option>'; echo '</select></td></tr>'; - echo '</table><br /><div class="centre"><input type="submit" name="PrintPDF" value="' . _('Print PDF') . '" /></div>'; + echo '</table><br /><div class="centre"><button type="submit" name="PrintPDF">' . _('Print PDF') . '</button></div><br />'; } include('includes/footer.inc'); Modified: trunk/Locations.php =================================================================== --- trunk/Locations.php 2012-05-01 20:42:55 UTC (rev 8762) +++ trunk/Locations.php 2012-05-01 21:44:11 UTC (rev 8763) @@ -367,11 +367,9 @@ //end of ifs and buts! -echo '<br />'; if (isset($SelectedLocation)) { echo '<a href="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '">' . _('Review Records') . '</a>'; } -echo '<br />'; if (!isset($_GET['delete'])) { @@ -423,7 +421,7 @@ echo '<input type="hidden" name="SelectedLocation" value="' . $SelectedLocation . '" />'; echo '<input type="hidden" name="LocCode" value="' . $_POST['LocCode'] . '" />'; echo '<table class="selection">'; - echo '<tr><th colspan="2"><font size="3" color="blue">'._('Amend Location details').'</font></th></tr>'; + echo '<tr><th colspan="2" class="header">'._('Amend Location details').'</th></tr>'; echo '<tr><td>' . _('Location Code') . ':</td><td>'; echo $_POST['LocCode'] . '</td></tr>'; } else { //end of if $SelectedLocation only do the else when a new record is being entered @@ -515,7 +513,7 @@ */ echo '</table><br />'; - echo '<div class="centre"><input type="submit" name="submit" value="' . _('Enter Information') . '" /></div>'; + echo '<div class="centre"><button type="submit" name="submit">' . _('Enter Information') . '</button></div><br />'; echo '</form>'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |