Permalink
Browse files

String 'all' added to strings array.

  • Loading branch information...
1 parent db70762 commit efd0eb0d29719a51b2ab0308331ec8e7a9a436d4 ethem committed Apr 24, 2006
Showing with 3 additions and 3 deletions.
  1. +2 −2 enrol/authorize/index.php
  2. +1 −1 enrol/authorize/locallib.php
View
4 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',
View
2 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,

0 comments on commit efd0eb0

Please sign in to comment.