From 65f0a8f697e4e81b9ae98bc9fbe17454ee88a3c6 Mon Sep 17 00:00:00 2001 From: ethem Date: Mon, 11 Feb 2008 10:44:09 +0000 Subject: [PATCH] Accesbility Improvements. Strings added: orderdetails, cclastfour, isbusinesschecking, shopper --- enrol/authorize/index.php | 2 +- enrol/authorize/locallib.php | 2 +- lang/en_utf8/enrol_authorize.php | 19 +++++++++++-------- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/enrol/authorize/index.php b/enrol/authorize/index.php index 4bec39d7ea..ab4e53e6e2 100644 --- a/enrol/authorize/index.php +++ b/enrol/authorize/index.php @@ -28,7 +28,7 @@ $authstrs = get_strings(array('orderid','nameoncard','echeckfirslasttname','void','capture','refund','delete', 'allpendingorders','authcaptured','authorizedpendingcapture','capturedpendingsettle','settled', 'refunded','cancelled','expired','underreview','approvedreview','reviewfailed','tested','new', - 'paymentmethod','methodcc','methodecheck', 'paymentmanagement', 'orderdetails', 'cclastfour', 'isbusinesschecking','shipper', + 'paymentmethod','methodcc','methodecheck', 'paymentmanagement', 'orderdetails', 'cclastfour', 'isbusinesschecking','shopper', 'transid','settlementdate','notsettled','amount','unenrolstudent'), 'enrol_authorize'); /// User wants to see all orders diff --git a/enrol/authorize/locallib.php b/enrol/authorize/locallib.php index 1b4d9c54f0..2f79567f8b 100644 --- a/enrol/authorize/locallib.php +++ b/enrol/authorize/locallib.php @@ -93,7 +93,7 @@ function authorize_print_orders($courseid, $userid) $perpagemenus = array(5 => 5, 10 => 10, 20 => 20, 50 => 50, 100 => 100); $perpagemenu = popup_form($baseurl.'&status='.$status.'&course='.$courseid.'&perpage=',$perpagemenus,'perpagemenu',$perpage,'','','',true); $table->define_columns(array('id', 'timecreated', 'userid', 'status', '')); - $table->define_headers(array($authstrs->orderid, $authstrs->shipper, $strs->time, $strs->status, $perpagemenu)); + $table->define_headers(array($authstrs->orderid, $authstrs->shopper, $strs->time, $strs->status, $perpagemenu)); $table->define_baseurl($baseurl."&status=$status&course=$courseid&perpage=$perpage"); $table->sortable(true, 'id', SORT_DESC); diff --git a/lang/en_utf8/enrol_authorize.php b/lang/en_utf8/enrol_authorize.php index cdd79a8906..42a6b8aebf 100644 --- a/lang/en_utf8/enrol_authorize.php +++ b/lang/en_utf8/enrol_authorize.php @@ -1,5 +1,5 @@ -url\">turned loginhttps ON\" to use this plugin
in Admin >> Variables >> Security >> HTTP security.'; $string['adminconfighttpsgo'] = 'Go to the url\">secure page to configure this plugin.'; $string['admincronsetup'] = 'The cron.php maintenance script has not been run for at least 24 hours.
Cron must be enabled if you want to use scheduled-capture feature.
Enable \'Authorize.net plugin\' and setup cron properly; or uncheck an_review again.
If you disable scheduled-capture, transactions will be cancelled unless you review them within 30 days.
Check an_review and enter \'0\' to an_capture_day field
if you want to manually accept/deny payments within 30 days.'; @@ -47,7 +47,7 @@ $string['allpendingorders'] = 'All Pending Orders'; $string['amount'] = 'Amount'; $string['anlogin'] = 'Authorize.net: Login name'; $string['anpassword'] = 'Authorize.net: Password'; -$string['anreferer'] = 'Define the URL referer if you have set up this in your authorize.net account. This will send a line \"Referer: URL\" embedded in the web request.'; +$string['anreferer'] = 'Define the URL referer if you have set up this in your authorize.net merchant account. This will send a line \"Referer: URL\" embedded in the web request.'; $string['antestmode'] = 'Run transactions in test mode only (no money will be drawn)'; $string['antrankey'] = 'Authorize.net: Transaction Key'; $string['approvedreview'] = 'Approved Review'; @@ -79,6 +79,7 @@ $string['captureyes'] = 'The credit card will be captured and the student will b $string['ccexpire'] = 'Expiry Date'; $string['ccexpired'] = 'The credit card has expired'; $string['ccinvalid'] = 'Invalid card number'; +$string['cclastfour'] = 'CC last four'; $string['ccno'] = 'Credit Card Number'; $string['cctype'] = 'Credit Card Type'; $string['ccvv'] = 'Card Verification'; @@ -105,6 +106,7 @@ $string['httpsrequired'] = 'We are sorry to inform you that your request cannot $string['invalidaba'] = 'Invalid ABA number'; $string['invalidaccnum'] = 'Invalid account number'; $string['invalidacctype'] = 'Invalid account type'; +$string['isbusinesschecking'] = 'Is business checking?'; $string['logindesc'] = 'This option must be ON.

Please ensure that you have turned url\">loginhttps ON in Admin >> Variables >> Security.

Turning this on will make Moodle use a secure https connection just for the login and payment pages.'; $string['logininfo'] = 'Login name, password and transaction key are not shown due to security precautions. There is no need to enter again if you have configured these fields before. You see a green text left of the box if some fields were already configured. If you enter these fields for the first time, the login name (*) is required and you must enter either the transaction key (#1) or the password (#2) in the appropriate box. We recommend you enter the transaction key due to security precautions. If you want to delete the current password, tick the checkbox.'; $string['methodcc'] = 'Credit Card'; @@ -123,6 +125,7 @@ $string['nameoncard'] = 'Name on Card'; $string['new'] = 'New'; $string['noreturns'] = 'No returns!'; $string['notsettled'] = 'Not settled'; +$string['orderdetails'] = 'Order Details'; $string['orderid'] = 'OrderID'; $string['paymentmanagement'] = 'Payment Management'; $string['paymentmethod'] = 'Payment Method'; @@ -185,6 +188,7 @@ $string['reviewnotify'] = 'Your payment will be reviewed. Expect an email within $string['sendpaymentbutton'] = 'Send Payment'; $string['settled'] = 'Settled'; $string['settlementdate'] = 'Settlement Date'; +$string['shopper'] = 'Shopper'; $string['subvoidyes'] = 'The transaction refunded ($a->transid) is going to be cancelled and this will cause crediting $a->amount to your account. Are you sure?'; $string['tested'] = 'Tested'; $string['testmode'] = '[TEST MODE]'; @@ -195,7 +199,7 @@ $string['unenrolstudent'] = 'Unenrol student?'; $string['uploadcsv'] = 'Upload a CSV file'; $string['usingccmethod'] = 'Enrol using url\">Credit Card'; $string['usingecheckmethod'] = 'Enrol using url\">eCheck'; -$string['verifyaccount'] = 'Verify your authorize.net account'; +$string['verifyaccount'] = 'Verify your authorize.net merchant account'; $string['verifyaccountresult'] = 'Verification result: $a'; $string['void'] = 'Void'; $string['voidyes'] = 'The transaction will be cancelled. Are you sure?'; @@ -205,7 +209,6 @@ Thanks for your payments. You have enrolled these courses: $a->courses - You may view your payment details or edit your profile: $a->paymenturl $a->profileurl'; -- 2.39.5