Permalink
Browse files

Language direction is important. Changed as: <b>AVS Result:</b> $a

merged from 16_stable.
  • Loading branch information...
1 parent 36e2232 commit 6e6c37e2be0acff5fa90f146fa77cb9ad0855710 ethem committed May 13, 2006
Showing with 3 additions and 3 deletions.
  1. +2 −2 enrol/authorize/action.php
  2. +1 −1 lang/en_utf8/enrol_authorize.php
@@ -1,7 +1,7 @@
<?php // $Id$
if (!defined('MOODLE_INTERNAL')) {
- die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page
+ die('Direct access to this script is forbidden.');
}
define('AN_APPROVED', '1');
@@ -294,7 +294,7 @@ function authorizenet_action(&$order, &$message, &$extra, $action=AN_ACTION_NONE
if (!empty($CFG->an_avs)) {
$avs = "avs" . strtolower($response[5]);
$stravs = get_string($avs, "enrol_authorize");
- $message .= "<br />" . get_string("avsresult", "enrol_authorize") . $stravs;
+ $message .= "<br />" . get_string("avsresult", "enrol_authorize", $stravs);
}
return false;
}
@@ -49,7 +49,7 @@
$string['avsn'] = 'No match on address (street) nor postal code';
$string['avsp'] = 'Address Verification System not applicable';
$string['avsr'] = 'Retry - System unavailable or timed out';
-$string['avsresult'] = 'AVS Result:';
+$string['avsresult'] = '<b>AVS Result:</b> $a';
$string['avss'] = 'Service not supported by issuer';
$string['avsu'] = 'Address information is unavailable';
$string['avsw'] = '9 digit postal code matches, address (street) does not';

0 comments on commit 6e6c37e

Please sign in to comment.