From 66a51452d900064e3a9afceb8ae5f3fa2ed5efdf Mon Sep 17 00:00:00 2001 From: moodler Date: Sun, 21 Sep 2003 15:45:24 +0000 Subject: [PATCH] Changes from Mad Alex and Gustav Delius: - make more of the HTML into XHTML - add a $usexml parameter to print_header that sets up the page as XML (in the first case, for MathML) --- lib/weblib.php | 172 +++++++++++++++++++++++++++---------------------- 1 file changed, 96 insertions(+), 76 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index 08661a7574..02f0873cb3 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -273,7 +273,7 @@ function close_window_button() { echo "\n"; @@ -298,11 +298,11 @@ function choose_from_menu ($options, $name, $selected="", $nothing="choose", $sc $javascript = ""; } - $output = "\n"; if ($nothing) { $output .= " \n"; @@ -359,7 +359,7 @@ function popup_form ($common, $options, $formname, $selected="", $nothing="choos } else { $output .= "