From e9fc2634a7ec0e7d5df59b35624fd9e2c8220e18 Mon Sep 17 00:00:00 2001 From: ethem Date: Mon, 12 Feb 2007 16:53:09 +0000 Subject: [PATCH] Some XHTML fixes --- enrol/authorize/locallib.php | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/enrol/authorize/locallib.php b/enrol/authorize/locallib.php index ad428d0aa1..86cc78a988 100644 --- a/enrol/authorize/locallib.php +++ b/enrol/authorize/locallib.php @@ -55,7 +55,7 @@ function authorize_print_orders($courseid, $userid) $sql .= "ORDER BY c.sortorder, c.fullname"; if ($popupcrs = get_records_sql_menu($sql)) { $popupcrs = array($SITE->id => $SITE->fullname) + $popupcrs; - echo ""; + echo "
"; echo ""; echo "\n"; if (has_capability('enrol/authorize:uploadcsv', get_context_instance(CONTEXT_USER, $USER->id))) { echo ""; - echo ""; + echo ""; echo ""; } else { @@ -81,7 +81,7 @@ function authorize_print_orders($courseid, $userid) echo ""; $searchmenu = array('id' => $authstrs->orderid, 'transid' => $authstrs->transid); echo ""; - echo ""; echo ""; @@ -254,7 +254,7 @@ function authorize_print_order_details($orderno) $table->data[] = array("$authstrs->settlementdate:", $settled ? userdate($order->settletime) : $authstrs->notsettled); } - $table->data[] = array(" ", "
\n"); + $table->data[] = array(" ", "
\n"); if (!empty($cmdcapture) and confirm_sesskey()) { // CAPTURE if (!in_array(ORDER_CAPTURE, $status->actions)) { @@ -286,7 +286,7 @@ function authorize_print_order_details($orderno) redirect("index.php?order=$orderno"); } else { - $table->data[] = array("$strs->error:", + $table->data[] = array("$strs->error:", "Error while trying to enrol ".fullname($user)." in '$course->shortname'"); } } @@ -331,7 +331,7 @@ function authorize_print_order_details($orderno) $table->data[] = array("$strhowmuch", " - $strcanbecredit
"); + $strcanbecredit
"); } else { $extra->amount = $amount; @@ -340,7 +340,7 @@ function authorize_print_order_details($orderno) if (AN_APPROVED == $success || AN_REVIEW == $success) { if (empty($CFG->an_test)) { if (empty($extra->id)) { - $table->data[] = array("$strs->error:", 'insert record error'); + $table->data[] = array("$strs->error:", 'insert record error'); } else { if (!empty($unenrol)) { @@ -355,7 +355,7 @@ function authorize_print_order_details($orderno) } } else { - $table->data[] = array("$strs->error:", $message); + $table->data[] = array("$strs->error:", $message); } } } @@ -374,7 +374,7 @@ function authorize_print_order_details($orderno) $table->data[] = array("$strs->confirm:", "$strvoidyes
- +     $strs->no"); } else { @@ -422,7 +422,7 @@ function authorize_print_order_details($orderno) "$strsubvoidyes
- +     $strs->no"); } else { @@ -460,7 +460,7 @@ function authorize_print_order_details($orderno) $table->data[] = array("$strs->confirm:", " - +     $strs->no"); } else { @@ -484,7 +484,7 @@ function authorize_print_order_details($orderno) } else { foreach ($status->actions as $value) { - $actions .= " "; + $actions .= " "; } } $table->data[] = array("$strs->action", $actions); -- 2.39.5
$strs->status: "; popup_form($baseurl.'&course='.$courseid.'&status=',$statusmenu,'statusmenu',$status,'','','',false); @@ -71,7 +71,7 @@ function authorize_print_orders($courseid, $userid) popup_form($baseurl.'&status='.$status.'&course=',$popupcrs,'coursesmenu',$courseid,'','','',false);echo"
$strs->search:
"; choose_from_menu($searchmenu, 'searchtype', $searchtype, ''); + echo ""; choose_from_menu($searchmenu, 'searchtype', $searchtype, ''); echo " =
"; echo "