Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Put back. String 'returns'&'noreturns' are used only in one order. No…

…t general.
  • Loading branch information...
commit cb845f37ae2757d98df010829e409f40234f5e01 1 parent db763a8
authored April 24, 2006
2  enrol/authorize/index.php
@@ -20,7 +20,7 @@
20 20
     $authstrs = get_strings(array('paymentmanagement','orderid','void','capture','refund','delete',
21 21
                 'authcaptured','authorizedpendingcapture','capturedpendingsettle','capturedsettled',
22 22
                 'settled','refunded','cancelled','expired','tested',
23  
-                'transid','settlementdate','notsettled','amount','returns','noreturns',
  23
+                'transid','settlementdate','notsettled','amount',
24 24
                 'howmuch','captureyes','unenrolstudent'), 'enrol_authorize');
25 25
 
26 26
 /// Print header
4  enrol/authorize/locallib.php
@@ -425,7 +425,7 @@ function authorize_print_order_details($orderno)
425 425
         $table->data[] = array("<b>$strs->action</b>", $actions);
426 426
         print_table($table);
427 427
         if ($settled) { // show refunds.
428  
-            echo "<h4>" . $authstrs->returns . "</h4>\n";
  428
+            echo "<h4>" . get_string('returns', 'enrol_authorize') . "</h4>\n";
429 429
             $t2->size = array('15%', '15%', '20%', '35%', '15%');
430 430
             $t2->align = array('right', 'right', 'right', 'left', 'right');
431 431
             $t2->head = array($authstrs->transid,
@@ -455,7 +455,7 @@ function authorize_print_order_details($orderno)
455 455
                 }
456 456
             }
457 457
             else {
458  
-                $t2->data[] = $authstrs->noreturns;
  458
+                $t2->data[] = array(get_string('noreturns', 'enrol_authorize'));
459 459
             }
460 460
             print_table($t2);
461 461
         }

0 notes on commit cb845f3

Please sign in to comment.
Something went wrong with that request. Please try again.