From: <tim...@us...> - 2010-10-28 09:18:32
|
Revision: 4122 http://web-erp.svn.sourceforge.net/web-erp/?rev=4122&view=rev Author: tim_schofield Date: 2010-10-28 09:18:26 +0000 (Thu, 28 Oct 2010) Log Message: ----------- SQL quoting corrections and layout changes and improvements Modified Paths: -------------- trunk/PcExpenses.php trunk/doc/Change.log.html Modified: trunk/PcExpenses.php =================================================================== --- trunk/PcExpenses.php 2010-10-28 09:08:59 UTC (rev 4121) +++ trunk/PcExpenses.php 2010-10-28 09:18:26 UTC (rev 4122) @@ -7,6 +7,9 @@ $title = _('Maintenance Of Petty Cash Of Expenses'); include('includes/header.inc'); +echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . _('Payment Entry') + . '" alt="">' . ' ' . $title . '</p>'; + if (isset($_POST['SelectedExpense'])){ $SelectedExpense = strtoupper($_POST['SelectedExpense']); } elseif (isset($_GET['SelectedExpense'])){ @@ -140,7 +143,7 @@ FROM pcexpenses'; $result = DB_query($sql,$db); - echo '<br><table BORDER=1>'; + echo '<table class=selection>'; echo "<tr> <th>" . _('Code Of Expense') . "</th> <th>" . _('Description') . "</th> @@ -193,10 +196,8 @@ echo "<form method='post' action=" . $_SERVER['PHP_SELF'] . '?' . SID . '>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<p><table border=1>'; //Main table - echo '<td><table>'; // First column + echo '<p><table class=selection>'; //Main table - // The user wish to EDIT an existing type if ( isset($SelectedExpense) AND $SelectedExpense!='' ) { @@ -216,7 +217,7 @@ echo "<input type=hidden name='SelectedExpense' VALUE=" . $SelectedExpense . ">"; echo "<input type=hidden name='codeexpense' VALUE=" . $_POST['codeexpense']. ">"; - echo "<table> <tr><td>" . _('Code Of Expense') . ":</td><td>"; + echo "<table class=selection> <tr><td>" . _('Code Of Expense') . ":</td><td>"; // We dont allow the user to change an existing type code @@ -226,7 +227,7 @@ // This is a new type so the user may volunteer a type code - echo "<table><tr><td>" . _('Code Of Expense') . ":</td><td><input type='Text' + echo "<table class=selection><tr><td>" . _('Code Of Expense') . ":</td><td><input type='Text' " . (in_array('SalesType',$Errors) ? 'class="inputerror"' : '' ) ." name='codeexpense'></td></tr>"; } @@ -257,7 +258,6 @@ echo '</select></td></tr>'; - echo '</table>'; // close table in first column echo '</td></tr></table>'; // close main table echo '<p><div class="centre"><input type=submit name=submit VALUE="' . _('Accept') . '"><input type=submit name=Cancel VALUE="' . _('Cancel') . '"></div>'; Modified: trunk/doc/Change.log.html =================================================================== --- trunk/doc/Change.log.html 2010-10-28 09:08:59 UTC (rev 4121) +++ trunk/doc/Change.log.html 2010-10-28 09:18:26 UTC (rev 4122) @@ -1,5 +1,6 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p> <p></p> +<p>28/10/10 Tim: PcExpenses.php - SQL quoting corrections and layout changes and improvements</p> <p>28/10/10 Tim: PcTabs.php - SQL quoting corrections and layout changes and improvements</p> <p>28/10/10 Tim: PcTypeTabs.php - SQL quoting corrections and layout changes and improvements</p> <p>27/10/10 Tim: PcReportTab.php - SQL quoting corrections and layout changes and improvements</p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |