From: <tim...@us...> - 2010-07-04 22:00:40
|
Revision: 3557 http://web-erp.svn.sourceforge.net/web-erp/?rev=3557&view=rev Author: tim_schofield Date: 2010-07-04 22:00:34 +0000 (Sun, 04 Jul 2010) Log Message: ----------- Corrections to sql statements and layout changes Modified Paths: -------------- trunk/CompanyPreferences.php trunk/doc/Change.log.html Modified: trunk/CompanyPreferences.php =================================================================== --- trunk/CompanyPreferences.php 2010-07-04 22:00:12 UTC (rev 3556) +++ trunk/CompanyPreferences.php 2010-07-04 22:00:34 UTC (rev 3557) @@ -139,7 +139,7 @@ $NewCurrencyRate=$myrow[0]; /* Set new rates */ - $sql='UPDATE currencies SET rate=rate/'.$NewCurrencyRate; + $sql='UPDATE currencies SET rate=rate/"'.$NewCurrencyRate.'"'; $ErrMsg = _('Could not update the currency rates'); $result = DB_query($sql,$db,$ErrMsg); @@ -155,10 +155,10 @@ } /* end of if submit */ + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/maintenance.png" title="' . _('Search') . '" alt="">' . ' ' . $title.'<br>'; - echo '<form method="post" action=' . $_SERVER['PHP_SELF'] . '>'; -echo '<table>'; +echo '<table class=selection>'; if ($InputError != 1) { $sql = "SELECT coyname, @@ -467,7 +467,7 @@ echo '</select></td></tr>'; -echo '</table><div class="centre"><input tabindex="26" type="Submit" Name="submit" value="' . _('Update') . '"></div>'; +echo '</table><br><div class="centre"><input tabindex="26" type="Submit" Name="submit" value="' . _('Update') . '"></div>'; include('includes/footer.inc'); -?> +?> \ No newline at end of file Modified: trunk/doc/Change.log.html =================================================================== --- trunk/doc/Change.log.html 2010-07-04 22:00:12 UTC (rev 3556) +++ trunk/doc/Change.log.html 2010-07-04 22:00:34 UTC (rev 3557) @@ -1,5 +1,6 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p> <p></p> +<p>04/07/10 Tim: CompanyPreferences.php - Corrections to sql statements and layout changes</p> <p>04/07/10 Tim: COGSGLPostings.php - Corrections to sql statements and layout changes</p> <p>04/07/10 Tim: BOMs.php - Corrections to sql statements and layout changes</p> <p>03/07/10 Tim: BOMListing.php - Minor layout changes </p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |