projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed typo in last commit.
[fa-stable.git]
/
gl
/
manage
/
exchange_rates.php
diff --git
a/gl/manage/exchange_rates.php
b/gl/manage/exchange_rates.php
index 90ab428f37db35a37d4d6eb6403c8791804f975c..49e924f6b41d0841d0d30239a3c9a21aaa531ebe 100644
(file)
--- a/
gl/manage/exchange_rates.php
+++ b/
gl/manage/exchange_rates.php
@@
-108,8
+108,8
@@
function display_rates($curr_code)
function display_rate_edit()
{
function display_rate_edit()
{
- global $selected_id, $Ajax;
-
+ global $selected_id, $Ajax
, $xr_providers, $dflt_xr_provider
;
+ $xchg_rate_provider = ((isset($xr_providers) && isset($dflt_xr_provider)) ? $xr_providers[$dflt_xr_provider] : 'ECB');
start_table(TABLESTYLE2);
if ($selected_id != "")
start_table(TABLESTYLE2);
if ($selected_id != "")
@@
-139,7
+139,7
@@
function display_rate_edit()
$Ajax->activate('BuyRate');
}
amount_row(_("Exchange Rate:"), 'BuyRate', null, '',
$Ajax->activate('BuyRate');
}
amount_row(_("Exchange Rate:"), 'BuyRate', null, '',
- submit('get_rate',_("Get"), false, _('Get current
ECB rate')
, true), 'max');
+ submit('get_rate',_("Get"), false, _('Get current
rate from') . ' ' . $xchg_rate_provider
, true), 'max');
end_table(1);
end_table(1);