]> git.mjollnir.org Git - moodle.git/commitdiff
Accesbility Improvements. Strings added: orderdetails, cclastfour, isbusinesschecking...
authorethem <ethem>
Mon, 11 Feb 2008 10:44:09 +0000 (10:44 +0000)
committerethem <ethem>
Mon, 11 Feb 2008 10:44:09 +0000 (10:44 +0000)
enrol/authorize/index.php
enrol/authorize/locallib.php
lang/en_utf8/enrol_authorize.php

index 4bec39d7ea7b0791c7b3831aa37a2e94ea10c439..ab4e53e6e2cebb4856364b1572c06a83c558cf2d 100644 (file)
@@ -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
index 1b4d9c54f023aa377f22aa885f551dea8206260c..2f79567f8b51cfd14cc68e02d4ff6ab19be6de77 100644 (file)
@@ -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.'&amp;status='.$status.'&amp;course='.$courseid.'&amp;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."&amp;status=$status&amp;course=$courseid&amp;perpage=$perpage");
 
     $table->sortable(true, 'id', SORT_DESC);
index cdd79a8906b4bc7d26c69272ba6f3589fd0aac6e..42a6b8aebf9b70aba1f003af5aca0f072769b5af 100644 (file)
@@ -1,5 +1,5 @@
-<?PHP // $Id$
-      // enrol_authorize.php - created with Moodle 2.0 dev (2007101506)
+<?PHP // $Id$ 
+      // enrol_authorize.php - created with Moodle 2.0 dev (2007101508)
 
 
 $string['adminacceptccs'] = 'Which credit card types will be accepted?';
@@ -7,9 +7,9 @@ $string['adminaccepts'] = 'Select payment methods allowed and their types';
 $string['adminauthcode'] = 'If an user\'s credit card cannot be captured on the internet directly, obtain authorization code over the phone from customer\'s bank.';
 $string['adminauthorizeccapture'] = 'Order Review &amp; Scheduled-Capture Settings';
 $string['adminauthorizeemail'] = 'Email Sending Settings';
-$string['adminauthorizesettings'] = 'Authorize.net Settings';
-$string['adminauthorizewide'] = 'Site-Wide Settings';
-$string['adminavs'] = 'Check this if you have activated Address Verification System (AVS) in your authorize.net account. This demands address fields like street, state, country and zip when user fills out payment form.';
+$string['adminauthorizesettings'] = 'Authorize.net Merchant Account Settings';
+$string['adminauthorizewide'] = 'General Settings';
+$string['adminavs'] = 'Check this if you have activated Address Verification System (AVS) in your authorize.net merchant account. This demands address fields like street, state, country and zip when user fills out payment form.';
 $string['adminconfighttps'] = 'Please ensure that you have \"<a href=\"$a->url\">turned loginhttps ON</a>\" to use this plugin<br />in Admin >> Variables >> Security >> HTTP security.';
 $string['adminconfighttpsgo'] = 'Go to the <a href=\"$a->url\">secure page</a> to configure this plugin.';
 $string['admincronsetup'] = 'The cron.php maintenance script has not been run for at least 24 hours.<br />Cron must be enabled if you want to use scheduled-capture feature.<br /><b>Enable</b> \'Authorize.net plugin\' and <b>setup cron</b> properly; or <b>uncheck an_review</b> again.<br />If you disable scheduled-capture, transactions will be cancelled unless you review them within 30 days.<br />Check <b>an_review</b> and enter <b>\'0\' to an_capture_day</b> field<br />if you want to <b>manually</b> 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. <br /><br />Please ensure that you have turned <a href=\"$a->url\">loginhttps ON</a> in Admin >> Variables >> Security.<br /><br />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 <strong>either</strong> the transaction key (#1) <strong>or</strong> 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 <a href=\"$a->url\"><strong>Credit Card</strong></a>';
 $string['usingecheckmethod'] = 'Enrol using <a href=\"$a->url\"><strong>eCheck</strong></a>';
-$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';