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',
}
$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,