From: <tim...@us...> - 2010-07-07 20:55:40
|
Revision: 3582 http://web-erp.svn.sourceforge.net/web-erp/?rev=3582&view=rev Author: tim_schofield Date: 2010-07-07 20:55:34 +0000 (Wed, 07 Jul 2010) Log Message: ----------- Add Javascript, and layout improvements Modified Paths: -------------- trunk/ExchangeRateTrend.php trunk/doc/Change.log.html Modified: trunk/ExchangeRateTrend.php =================================================================== --- trunk/ExchangeRateTrend.php 2010-07-06 22:01:07 UTC (rev 3581) +++ trunk/ExchangeRateTrend.php 2010-07-07 20:55:34 UTC (rev 3582) @@ -14,7 +14,7 @@ $FunctionalCurrency = $_SESSION['CompanyRecord']['currencydefault']; if ( isset($_GET['CurrencyToShow']) ){ - $CurrencyToShow = $_GET['CurrencyToShow']; + $CurrencyToShow = $_GET['CurrencyToShow']; } elseif ( isset($_POST['CurrencyToShow']) ) { $CurrencyToShow = $_POST['CurrencyToShow']; } @@ -23,8 +23,9 @@ // SHOW OUR MAIN INPUT FORM // ************************ - echo "<form method='post' action=" . $_SERVER['PHP_SELF'] . '?' . SID . '>'; - echo '<p><div class="centre"><font size=4 color=BLUE><b><U>' . _('View Currency Trend') . '</b></U></font></div>'; + echo "<form method='post' name=update action=" . $_SERVER['PHP_SELF'] . '?' . SID . '>'; + echo '<div class="centre"><p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . + _('View Currency Trend') . '" alt="">' . ' ' . _('View Currency Trend') . ''; echo '<table>'; // First column $SQL = 'SELECT * FROM currencies'; @@ -32,7 +33,7 @@ // CurrencyToShow Currency Picker - echo '<tr><td><select name="CurrencyToShow">'; + echo '<tr><td><select name="CurrencyToShow" onChange="ReloadForm(update.submit)">'; DB_data_seek($result,0); while ($myrow=DB_fetch_array($result)) { @@ -62,8 +63,8 @@ $graph = $CurrencyToShow. '/' . $FunctionalCurrency . $graph; $image = 'http://www.x-rates.com/d/' . $graph; - echo '<p><div class="centre"><font size=4 color=BLUE><b><U>' . $FunctionalCurrency . ' / ' . $CurrencyToShow . '</b></U></font>'; - echo '<p></div><table border=1>'; + echo '<p></div><table class=selection>'; + echo '<tr><th><div class="centre"><font size=4 color=BLUE><b><U>' . $FunctionalCurrency . ' / ' . $CurrencyToShow . '</b></U></font></th></tr>'; echo '<tr><td><img src=' . $image . ' alt="Trend Currently Unavailable"></td></tr>'; echo '</table>'; Modified: trunk/doc/Change.log.html =================================================================== --- trunk/doc/Change.log.html 2010-07-06 22:01:07 UTC (rev 3581) +++ trunk/doc/Change.log.html 2010-07-07 20:55:34 UTC (rev 3582) @@ -1,5 +1,6 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p> <p></p> +<p>05/07/10 Tim: ExchangeRateTrend.php - Add Javascript, and layout improvements</p> <p>05/07/10 Tim: EDIMessageFormat.php - Bug fixes with updating the format</p> <p>05/07/10 Tim: DiscountMatrix.php - Layout improvements</p> <p>05/07/10 Tim: DiscountCategories.php - Layout improvements</p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |