mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 17:02:03 +02:00
MDL-14129 Fix dongsheng's fixes and make dongsheng happy :)
This commit is contained in:
parent
50a12c87ce
commit
b6398eb44b
@ -92,7 +92,7 @@ class enrolment_plugin_authorize
|
||||
break;
|
||||
}
|
||||
if (!empty($authorizeerror)) {
|
||||
print_error('authorizeerror');
|
||||
print_error('authorizeerror', 'enrol_authorize', '', $authorizeerror);
|
||||
}
|
||||
}
|
||||
$frmenrol->display();
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
/// Get course
|
||||
if (! $course = $DB->get_record('course', array('id'=>$courseid))) {
|
||||
print_error('invaliduserid');
|
||||
print_error('invalidcourseid', '', '', $courseid);
|
||||
}
|
||||
|
||||
/// Only SITE users can access to this page
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?PHP // $Id$
|
||||
<?PHP // $Id$
|
||||
// enrol_authorize.php - created with Moodle 2.0 dev (2007101508)
|
||||
|
||||
|
||||
@ -56,6 +56,7 @@ $string['authcode'] = 'Authorization Code';
|
||||
$string['authorize:managepayments'] = 'Manage payments';
|
||||
$string['authorize:uploadcsv'] = 'Upload CSV file';
|
||||
$string['authorizedpendingcapture'] = 'Authorized / Pending Capture';
|
||||
$string['authorizeerror'] = 'Authorize.net Error: $a';
|
||||
$string['avsa'] = 'Address (street) matches, postal code does not';
|
||||
$string['avsb'] = 'Address information not provided';
|
||||
$string['avse'] = 'Address Verification System Error';
|
||||
|
Loading…
x
Reference in New Issue
Block a user