From efd0eb0d29719a51b2ab0308331ec8e7a9a436d4 Mon Sep 17 00:00:00 2001 From: ethem Date: Mon, 24 Apr 2006 16:46:39 +0000 Subject: [PATCH] String 'all' added to strings array. --- enrol/authorize/index.php | 4 ++-- enrol/authorize/locallib.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/enrol/authorize/index.php b/enrol/authorize/index.php index 14a263a6e8..857182d1c7 100644 --- a/enrol/authorize/index.php +++ b/enrol/authorize/index.php @@ -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', diff --git a/enrol/authorize/locallib.php b/enrol/authorize/locallib.php index 5cb30e89b0..a596125cf8 100644 --- a/enrol/authorize/locallib.php +++ b/enrol/authorize/locallib.php @@ -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, -- 2.39.5