]> git.mjollnir.org Git - moodle.git/commitdiff
String 'all' added to strings array.
authorethem <ethem>
Mon, 24 Apr 2006 16:46:39 +0000 (16:46 +0000)
committerethem <ethem>
Mon, 24 Apr 2006 16:46:39 +0000 (16:46 +0000)
enrol/authorize/index.php
enrol/authorize/locallib.php

index 14a263a6e8edd1259b9955c3778fa5f8b114c050..857182d1c7184f316ceb4a1a5c8481586b5ed029 100644 (file)
@@ -15,8 +15,8 @@
         error("Guests cannot use this page.");
     }
 
-/// Load strings. All strings should be defined here. lib.php uses these strings.
-    $strs = get_strings(array('user','status','action','delete','time','course','confirm','yes','no','none','error'));
+/// Load strings. All strings should be defined here. locallib.php uses these strings.
+    $strs = get_strings(array('user','status','action','delete','time','course','confirm','yes','no','all','none','error'));
     $authstrs = get_strings(array('paymentmanagement','orderid','void','capture','refund','delete',
                 'authcaptured','authorizedpendingcapture','capturedpendingsettle','capturedsettled',
                 'settled','refunded','cancelled','expired','tested',
index 5cb30e89b0fddf56f4143f0e791b4f5bf13d2403..a596125cf80473194ff464b7ace0fc2b52165410 100644 (file)
@@ -29,7 +29,7 @@ function authorize_print_orders()
     }
 
     $baseurl = $CFG->wwwroot."/enrol/authorize/index.php?user=$userid";
-    $statusmenu = array(AN_STATUS_NONE => get_string('all'),
+    $statusmenu = array(AN_STATUS_NONE => $strs->all,
                         AN_STATUS_AUTH => $authstrs->authorizedpendingcapture,
                         AN_STATUS_AUTHCAPTURE => $authstrs->authcaptured,
                         AN_STATUS_CREDIT => $authstrs->refunded,