]> git.mjollnir.org Git - moodle.git/commitdiff
Language direction is important. Changed as: <b>AVS Result:</b> $a
authorethem <ethem>
Sat, 13 May 2006 08:53:34 +0000 (08:53 +0000)
committerethem <ethem>
Sat, 13 May 2006 08:53:34 +0000 (08:53 +0000)
merged from 16_stable.

enrol/authorize/action.php
lang/en_utf8/enrol_authorize.php

index 80d8b525d4125ec496bddf78f5c04f58c93218b7..9bc0bffdc5a6f6f594a7bc26586344954cce8ffc 100644 (file)
@@ -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;
     }
index df78fff20e20b287ad4584652d952deb0bfaf04a..a3eb50354d26caec2aad71429b3642558de75cd9 100644 (file)
@@ -49,7 +49,7 @@ $string['avsg'] = 'Non-U.S. Card Issuing Bank';
 $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';