<?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');
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;
}
$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';