From cb845f37ae2757d98df010829e409f40234f5e01 Mon Sep 17 00:00:00 2001 From: ethem Date: Mon, 24 Apr 2006 17:03:42 +0000 Subject: [PATCH] Put back. String 'returns'&'noreturns' are used only in one order. Not general. --- enrol/authorize/index.php | 2 +- enrol/authorize/locallib.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/enrol/authorize/index.php b/enrol/authorize/index.php index 436bce0292..857182d1c7 100644 --- a/enrol/authorize/index.php +++ b/enrol/authorize/index.php @@ -20,7 +20,7 @@ $authstrs = get_strings(array('paymentmanagement','orderid','void','capture','refund','delete', 'authcaptured','authorizedpendingcapture','capturedpendingsettle','capturedsettled', 'settled','refunded','cancelled','expired','tested', - 'transid','settlementdate','notsettled','amount','returns','noreturns', + 'transid','settlementdate','notsettled','amount', 'howmuch','captureyes','unenrolstudent'), 'enrol_authorize'); /// Print header diff --git a/enrol/authorize/locallib.php b/enrol/authorize/locallib.php index 7e792947d5..a596125cf8 100644 --- a/enrol/authorize/locallib.php +++ b/enrol/authorize/locallib.php @@ -425,7 +425,7 @@ function authorize_print_order_details($orderno) $table->data[] = array("$strs->action", $actions); print_table($table); if ($settled) { // show refunds. - echo "

" . $authstrs->returns . "

\n"; + echo "

" . get_string('returns', 'enrol_authorize') . "

\n"; $t2->size = array('15%', '15%', '20%', '35%', '15%'); $t2->align = array('right', 'right', 'right', 'left', 'right'); $t2->head = array($authstrs->transid, @@ -455,7 +455,7 @@ function authorize_print_order_details($orderno) } } else { - $t2->data[] = $authstrs->noreturns; + $t2->data[] = array(get_string('noreturns', 'enrol_authorize')); } print_table($t2); } -- 2.39.5