From: ethem Date: Mon, 27 Mar 2006 08:49:43 +0000 (+0000) Subject: Some descriptions was added X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d414c461836887e2ce39a58c1a21fbec05abf575;p=moodle.git Some descriptions was added --- diff --git a/enrol/authorize/index.php b/enrol/authorize/index.php index e30e9d4724..fde08f9990 100644 --- a/enrol/authorize/index.php +++ b/enrol/authorize/index.php @@ -1,18 +1,21 @@ shortname: $authstrs->paymentmanagement", "$site->fullname", "$authstrs->paymentmanagement", ""); +/// Get order id $orderid = optional_param('order', 0, PARAM_INT); - if (!empty($orderid)) { - print_authorize_order_details($orderid); +/// If orderid is empty, user wants to see all orders + if (empty($orderid)) { + print_authorize_orders(); } else { - print_authorize_orders(); + print_authorize_order_details($orderid); } +/// Print footer print_footer(); ?>