From 730a5f5abef19a0893f83c167d380d1374804363 Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Sun, 12 Sep 2004 20:45:41 +0000 Subject: [PATCH] fixed capitalization and quoting of attribute values --- enrol/enrol.class.php | 2 +- enrol/flatfile/config.html | 8 ++++---- enrol/internal/enrol.html | 2 +- enrol/paypal/config.html | 6 +++--- enrol/paypal/enrol.php | 2 +- error/index.php | 18 +++++++++--------- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/enrol/enrol.class.php b/enrol/enrol.class.php index 1c4261d9c15fe..d935f6aa0a926 100644 --- a/enrol/enrol.class.php +++ b/enrol/enrol.class.php @@ -169,7 +169,7 @@ function print_entry($course) { } - print_header($strloginto, $course->fullname, "$strcourses -> $strloginto", "form.password"); + print_header($strloginto, $course->fullname, "$strcourses -> $strloginto", "form.password"); print_course($course); diff --git a/enrol/flatfile/config.html b/enrol/flatfile/config.html index 2002d0bcca4f7..cdb3b0b56c1bb 100644 --- a/enrol/flatfile/config.html +++ b/enrol/flatfile/config.html @@ -13,7 +13,7 @@

enrol_mailstudents:

- enrol_mailstudents) echo "checked=\"true\"" ?> /> + enrol_mailstudents) echo "checked=\"true\"" ?> /> @@ -23,7 +23,7 @@

enrol_mailteachers:

- enrol_mailteachers) echo "checked=\"true\"" ?> /> + enrol_mailteachers) echo "checked=\"true\"" ?> /> @@ -33,7 +33,7 @@

enrol_mailadmins:

- enrol_mailadmins) echo "checked=\"true\"" ?> /> + enrol_mailadmins) echo "checked=\"true\"" ?> /> @@ -43,7 +43,7 @@

enrol_allowinternal:

- enrol_allowinternal) echo "checked=\"true\"" ?> /> + enrol_allowinternal) echo "checked=\"true\"" ?> /> diff --git a/enrol/internal/enrol.html b/enrol/internal/enrol.html index 90d29c39d2f80..539458691c8eb 100644 --- a/enrol/internal/enrol.html +++ b/enrol/internal/enrol.html @@ -1 +1 @@ -

id&course=$site->id\">". "$teacher->firstname $teacher->lastname."; } else { $teachername = get_string("yourteacher", "", strtolower($course->teacher)); } print_string("enrolmentkeyfrom", "", $teachername); ?>

errormsg)) {formerr($this->errormsg);} ?>

:

 
">  
">
\ No newline at end of file +

id&course=$site->id\">". "$teacher->firstname $teacher->lastname."; } else { $teachername = get_string("yourteacher", "", strtolower($course->teacher)); } print_string("enrolmentkeyfrom", "", $teachername); ?>

errormsg)) {formerr($this->errormsg);} ?>

:

 
">  
">
\ No newline at end of file diff --git a/enrol/paypal/config.html b/enrol/paypal/config.html index 5e72888180ce6..04a7252d11e60 100644 --- a/enrol/paypal/config.html +++ b/enrol/paypal/config.html @@ -33,7 +33,7 @@

enrol_mailstudents:

- enrol_mailstudents) echo "checked=\"true\"" ?> /> + enrol_mailstudents) echo "checked=\"true\"" ?> /> @@ -43,7 +43,7 @@

enrol_mailteachers:

- enrol_mailteachers) echo "checked=\"true\"" ?> /> + enrol_mailteachers) echo "checked=\"true\"" ?> /> @@ -53,7 +53,7 @@

enrol_mailadmins:

- enrol_mailadmins) echo "checked=\"true\"" ?> /> + enrol_mailadmins) echo "checked=\"true\"" ?> /> diff --git a/enrol/paypal/enrol.php b/enrol/paypal/enrol.php index a322f930637e5..13ab1f3153397 100644 --- a/enrol/paypal/enrol.php +++ b/enrol/paypal/enrol.php @@ -90,7 +90,7 @@ function get_access_icons($course) { default: $currency = '$'; break; } - $str .= "

$strcost: ". + $str .= "

$strcost: ". "wwwroot/course/view.php?id=$course->id\">"; $str .= "$currency".format_float($cost,2).'

'; diff --git a/error/index.php b/error/index.php index 3728e31653c9b..d43cb37958943 100644 --- a/error/index.php +++ b/error/index.php @@ -17,19 +17,19 @@ print_header("$site->fullname:Error", "$site->fullname: Error 404", "", "form.text"); - print_simple_box("An unusual error occurred (tried to reach a page that doesn't exist).

$REDIRECT_URL", "center", "", "$THEME->cellheading"); + print_simple_box("An unusual error occurred (tried to reach a page that doesn't exist).

$REDIRECT_URL", "center", "", "$THEME->cellheading"); ?> -

-

If you have time, please let us know what you were trying +

+

If you have time, please let us know what you were trying to do when the error occurred: -

-
- - - -
+

+
+ + + +