From b4510d5333f990991b1abc3ccbe3c05c3eae0c01 Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Sun, 12 Sep 2004 22:23:51 +0000 Subject: [PATCH] closed some input tags --- blocks/course_list/config.html | 2 +- blocks/online_users/config.html | 2 +- mod/assignment/submissions.php | 16 ++++---- mod/attendance/add.php | 20 +++++----- mod/attendance/config.html | 8 ++-- mod/attendance/mod.html | 20 +++++----- mod/attendance/teacheredit.php | 6 +-- mod/attendance/viewall.php | 2 +- mod/attendance/viewweek.php | 2 +- mod/chat/config.html | 16 ++++---- mod/chat/gui_header/chatinput.php | 8 ++-- mod/chat/gui_header_js/chatinput.php | 10 ++--- mod/chat/gui_push_js/chatinput.php | 8 ++-- mod/chat/gui_sockets/chatinput.php | 2 +- mod/chat/gui_text/index.php | 10 ++--- mod/chat/lib.php | 2 +- mod/chat/mod.html | 20 +++++----- mod/choice/mod.html | 54 +++++++++++++-------------- mod/dialogue/dialogues.php | 4 +- mod/dialogue/locallib.php | 10 ++--- mod/dialogue/mod.html | 18 ++++----- mod/dialogue/view.php | 6 +-- mod/exercise/assessments.php | 16 ++++---- mod/exercise/locallib.php | 10 ++--- mod/exercise/mod.html | 22 +++++------ mod/exercise/submissions.php | 10 ++--- mod/exercise/view.php | 6 +-- mod/forum/config.html | 8 ++-- mod/forum/lib.php | 16 ++++---- mod/forum/mod.html | 56 ++++++++++++++-------------- mod/forum/post.html | 24 ++++++------ mod/forum/prune.html | 8 ++-- 32 files changed, 211 insertions(+), 211 deletions(-) diff --git a/blocks/course_list/config.html b/blocks/course_list/config.html index a9aa62babe..d6f1a3e5c5 100644 --- a/blocks/course_list/config.html +++ b/blocks/course_list/config.html @@ -24,7 +24,7 @@ - "> + " /> diff --git a/blocks/online_users/config.html b/blocks/online_users/config.html index 3ba2c952a1..85fa3872f2 100644 --- a/blocks/online_users/config.html +++ b/blocks/online_users/config.html @@ -17,7 +17,7 @@ - "> + " /> diff --git a/mod/assignment/submissions.php b/mod/assignment/submissions.php index 4371ffe4c6..26c922915f 100644 --- a/mod/assignment/submissions.php +++ b/mod/assignment/submissions.php @@ -168,10 +168,10 @@ if ($allowedtograde) { echo '
'; echo "
"; - echo ""; - echo ""; - echo "id\">"; - echo ""; + echo ""; + echo ""; + echo "id\" />"; + echo ""; echo "
"; } @@ -186,10 +186,10 @@ if ($allowedtograde) { echo "
"; - echo ""; - echo ""; - echo "id\">"; - echo ""; + echo ""; + echo ""; + echo "id\" />"; + echo ""; echo "
"; echo "
"; } diff --git a/mod/attendance/add.php b/mod/attendance/add.php index 8ed49418c2..2b924f0731 100644 --- a/mod/attendance/add.php +++ b/mod/attendance/add.php @@ -183,19 +183,19 @@ $form->hours = isset($CFG->attendance_default_hours)?$CFG->attendance_default_ho

:

- + - + - + - + - + - + - + @@ -210,7 +210,7 @@ $form->hours = isset($CFG->attendance_default_hours)?$CFG->attendance_default_ho choose_from_menu($options, "dynsection", "", ""); helpbutton("dynsection", get_string("dynamicsectionmulti","attendance"), "attendance"); ?> - + @@ -225,7 +225,7 @@ $form->hours = isset($CFG->attendance_default_hours)?$CFG->attendance_default_ho ?> - + helpbutton("grade", get_string("gradevalue","attendance"), "attendance"); ?> - + attendance_default_student_status == 1) {$r2c="checked";} elseif ($CFG->attendance_default_student_status == 2) {$r3c="checked";} else {$r1c="checked";} - $radio1=""; - $radio2=""; - $radio3=""; + $radio1=""; + $radio2=""; + $radio3=""; echo "\n"; echo " + " />
". $radio1.$P."". @@ -109,7 +109,7 @@
- ">
diff --git a/mod/attendance/mod.html b/mod/attendance/mod.html index 76e76009f9..596f332f22 100755 --- a/mod/attendance/mod.html +++ b/mod/attendance/mod.html @@ -41,7 +41,7 @@ if (empty($form->id)) {

:

- + @@ -59,7 +59,7 @@ if (empty($form->id)) { choose_from_menu($options, "dynsection", "$form->dynsection", ""); helpbutton("dynsection", get_string("dynamicsection","attendance"), "attendance"); ?> - + @@ -74,7 +74,7 @@ if (empty($form->id)) { helpbutton("autoattend", get_string("autoattend","attendance"), "attendance"); ?> - + choose_from_menu($options, "grade", "$form->grade", ""); helpbutton("grade", get_string("gradevalue","attendance"), "attendance"); ?> - + hours >1) { if ($rollstatus==1) {$r2c="checked";} elseif ($rollstatus==2) {$r3c="checked";} else {$r1c="checked";} - $radio1="id."_".$j."\" value=\"0\" ".$r1c.">"; - $radio2="id."_".$j."\" value=\"1\" ".$r2c.">"; - $radio3="id."_".$j."\" value=\"2\" ".$r3c.">"; + $radio1="id."_".$j."\" value=\"0\" ".$r1c." />"; + $radio2="id."_".$j."\" value=\"1\" ".$r2c." />"; + $radio3="id."_".$j."\" value=\"2\" ".$r3c." />"; echo "".$radio1."\n"; echo "".$radio2."\n"; echo "".$radio3."\n"; } // for loop echo "\n"; -// $radio1="id."\" value=\"0\" checked>"; -// $radio2="id."\" value=\"1\">"; -// $radio3="id."\" value=\"2\">"; +// $radio1="id."\" value=\"0\" checked />"; +// $radio2="id."\" value=\"1\" />"; +// $radio3="id."\" value=\"2\" />"; // $table->data[$i]=array($student->lastname, $student->firstname, // $student->idnumber, $radio1,$radio2,$radio3); // $i++; diff --git a/mod/attendance/teacheredit.php b/mod/attendance/teacheredit.php index 6f308ceeeb..338895b372 100755 --- a/mod/attendance/teacheredit.php +++ b/mod/attendance/teacheredit.php @@ -182,9 +182,9 @@ if ($form->hours >1) { if ($rollstatus==1) {$r2c="checked";} elseif ($rollstatus==2) {$r3c="checked";} else {$r1c="checked";} - $radio1="id."_".$j."\" value=\"0\" ".$r1c.">"; - $radio2="id."_".$j."\" value=\"1\" ".$r2c.">"; - $radio3="id."_".$j."\" value=\"2\" ".$r3c.">"; + $radio1="id."_".$j."\" value=\"0\" ".$r1c." />"; + $radio2="id."_".$j."\" value=\"1\" ".$r2c." />"; + $radio3="id."_".$j."\" value=\"2\" ".$r3c." />"; echo "".$radio1."\n"; echo "".$radio2."\n"; echo "".$radio3."\n"; diff --git a/mod/attendance/viewall.php b/mod/attendance/viewall.php index d2a2025a90..e17b3a4aca 100644 --- a/mod/attendance/viewall.php +++ b/mod/attendance/viewall.php @@ -442,7 +442,7 @@ if ($onepage) {$page++; echo "

\n"; } if (($numhours-4) > 255) { echo "
"; + " Please try downloading the report week by week instead.')\" />"; } else { $options["id"] = "$course->id"; $options["download"] = "xls"; diff --git a/mod/attendance/viewweek.php b/mod/attendance/viewweek.php index e5880a3837..9c9311afd8 100644 --- a/mod/attendance/viewweek.php +++ b/mod/attendance/viewweek.php @@ -449,7 +449,7 @@ if ($onepage) {$page++; echo "

\n"; } if (($numhours-4) > 255) { echo "
"; + " Please try downloading the report week by week instead.')\" />"; } else { $options["id"] = "$id"; $options["download"] = "xls"; diff --git a/mod/chat/config.html b/mod/chat/config.html index a8e5c5408d..c713b724d5 100644 --- a/mod/chat/config.html +++ b/mod/chat/config.html @@ -27,7 +27,7 @@

chat_refresh_userlist: - + @@ -36,7 +36,7 @@

chat_old_ping: - + @@ -53,7 +53,7 @@

chat_refresh_room: - + @@ -70,7 +70,7 @@

chat_serverhost: - + @@ -79,7 +79,7 @@

chat_serverip: - + @@ -88,7 +88,7 @@

chat_serverport: - + @@ -97,7 +97,7 @@

chat_servermax: - + @@ -106,7 +106,7 @@ - "> + " /> diff --git a/mod/chat/gui_header/chatinput.php b/mod/chat/gui_header/chatinput.php index 9d65bccb4d..83338b5927 100644 --- a/mod/chat/gui_header/chatinput.php +++ b/mod/chat/gui_header/chatinput.php @@ -12,10 +12,10 @@ if ($arsc_my = arsc_getdatafromsid($arsc_sid)) echo $arsc_parameters["htmlhead_msginput"]; ?>

- - - " value=""> - "> + + + " value="" /> + " />
diff --git a/mod/chat/gui_header_js/chatinput.php b/mod/chat/gui_header_js/chatinput.php index c9e7b3514b..4c2461e42b 100644 --- a/mod/chat/gui_header_js/chatinput.php +++ b/mod/chat/gui_header_js/chatinput.php @@ -47,16 +47,16 @@ function empty_field_and_submit() {
->> +>>
- - - - + + + +
diff --git a/mod/chat/gui_push_js/chatinput.php b/mod/chat/gui_push_js/chatinput.php index ac790d5ba9..605a8e1179 100644 --- a/mod/chat/gui_push_js/chatinput.php +++ b/mod/chat/gui_push_js/chatinput.php @@ -12,12 +12,12 @@ if ($arsc_my = arsc_getdatafromsid($arsc_sid)) echo $arsc_parameters["htmlhead_msginput_js"]; ?>
- " value=""> + " value="" />
- - - + + +
diff --git a/mod/chat/gui_sockets/chatinput.php b/mod/chat/gui_sockets/chatinput.php index ae69549e1c..1b896ca277 100644 --- a/mod/chat/gui_sockets/chatinput.php +++ b/mod/chat/gui_sockets/chatinput.php @@ -67,7 +67,7 @@ function reloadusers() {
chat_serverhost:$CFG->chat_serverport"; ?>" method="GET" target="empty" name="f" onsubmit="return empty_field_and_submit()"> --> ->> +>>
diff --git a/mod/chat/gui_text/index.php b/mod/chat/gui_text/index.php index 00b65b5615..403b2c824d 100644 --- a/mod/chat/gui_text/index.php +++ b/mod/chat/gui_text/index.php @@ -65,11 +65,11 @@ if ($arsc_my = arsc_getdatafromsid($arsc_sid))
- - - - " value=""> - "> + + + + " value="" /> + " />    
- > + /> diff --git a/mod/chat/mod.html b/mod/chat/mod.html index 70b3d4bdd1..bee6a1c871 100644 --- a/mod/chat/mod.html +++ b/mod/chat/mod.html @@ -24,7 +24,7 @@

:

- + @@ -99,14 +99,14 @@
- - - - - - - -"> -"> + + + + + + + +" /> +" />
diff --git a/mod/choice/mod.html b/mod/choice/mod.html index 6ee2a07803..0f7fe0b627 100644 --- a/mod/choice/mod.html +++ b/mod/choice/mod.html @@ -56,7 +56,7 @@

:

- + @@ -101,7 +101,7 @@

:

- + @@ -109,7 +109,7 @@

:

- + @@ -117,28 +117,28 @@

:

- +

:

- +

:

- +

:

- + @@ -150,7 +150,7 @@ var timeitems = ['openday','openmonth','openyear','openhour', 'openminute', 'closeday','closemonth','closeyear','closehour','closeminute']; - timerestrict) echo "checked"; ?> > + timerestrict) echo "checked"; ?> /> @@ -173,11 +173,11 @@ print_time_selector("openhour", "openminute", $form->timeopen); ?> - - - - - + + + + + @@ -192,11 +192,11 @@ print_time_selector("closehour", "closeminute", $form->timeclose); ?> - - - - - + + + + + timerestrict) { @@ -264,14 +264,14 @@
- - - - - - - -"> -"> + + + + + + + +" /> +" />
diff --git a/mod/dialogue/dialogues.php b/mod/dialogue/dialogues.php index 236d21516a..8abaca4ea8 100644 --- a/mod/dialogue/dialogues.php +++ b/mod/dialogue/dialogues.php @@ -110,9 +110,9 @@ echo "\n"; echo ""; echo "\n"; + value=\"\" />\n"; echo "\n"; + get_string("addsubject", "dialogue")."\" />\n"; echo "
".get_string("subject", "dialogue")."
\n"; } diff --git a/mod/dialogue/locallib.php b/mod/dialogue/locallib.php index bcc84cfc61..c5dc7f79dd 100644 --- a/mod/dialogue/locallib.php +++ b/mod/dialogue/locallib.php @@ -417,8 +417,8 @@ function dialogue_list_conversations_self($dialogue) { echo "
\n"; echo "\n"; - echo "id\"/>\n"; - echo "\n"; + echo "id\" />\n"; + echo "\n"; // list the conversations requiring a resonse from this user in full if ($conversations = dialogue_get_conversations($dialogue, $USER, "lastid != $USER->id AND closed = 0")) { @@ -531,8 +531,8 @@ function dialogue_print_conversation($dialogue, $conversation) { echo "\n"; echo "\n"; - echo "id\"/>\n"; - echo "\n"; + echo "id\" />\n"; + echo "\n"; $showbutton = true; print_simple_box_start("center", "", $THEME->cellcontent2); @@ -597,7 +597,7 @@ function dialogue_print_conversation($dialogue, $conversation) { print_simple_box_end(); if ($showbutton) { echo "
\n"; - echo "
\n"; + echo "
\n"; } echo "
\n"; } diff --git a/mod/dialogue/mod.html b/mod/dialogue/mod.html index 68f9a666b0..94c82bb9bb 100644 --- a/mod/dialogue/mod.html +++ b/mod/dialogue/mod.html @@ -95,14 +95,14 @@ print_heading_with_help(get_string("furtherinformation", "dialogue"), "info", "d
- - - - - - - -"/> -"> + + + + + + + +" /> +" />
diff --git a/mod/dialogue/view.php b/mod/dialogue/view.php index 56e9d36a0a..10b983566d 100644 --- a/mod/dialogue/view.php +++ b/mod/dialogue/view.php @@ -137,8 +137,8 @@ if ($names = dialogue_get_available_users($dialogue)) { print_simple_box_start("center"); echo "
\n"; - echo "id\"/>\n"; - echo "\n"; + echo "id\"/ />\n"; + echo "\n"; echo "\n"; echo "\n"; @@ -148,7 +148,7 @@ echo "\n"; echo "\n"; echo "\n"; + value=\"\" />\n"; echo "\n"; echo " @@ -144,7 +144,7 @@ @@ -212,15 +212,15 @@
".get_string("openadialoguewith", "dialogue"). " :
".get_string("subject", "dialogue")." :
". get_string("typefirstentry", "dialogue")."
\n"; diff --git a/mod/exercise/assessments.php b/mod/exercise/assessments.php index c831344032..52e26c4a1e 100644 --- a/mod/exercise/assessments.php +++ b/mod/exercise/assessments.php @@ -81,10 +81,10 @@ print_heading(get_string("amend", "exercise")." ".get_string("gradeforstudentsassessment", "exercise", $course->student)); echo "\n"; - echo "\n"; - echo "\n"; - echo "id\">\n"; - echo "\n"; + echo "\n"; + echo "\n"; + echo "id\" />\n"; + echo "
\n"; echo "
".get_string("gradeforstudentsassessment", "exercise", $course->student)." :\n"; // set up coment scale @@ -263,8 +263,8 @@ print_heading_with_help(get_string("editingassessmentelements", "exercise"), "elements", "exercise"); ?> - - + +

- "> - "> + " /> + " />
diff --git a/mod/exercise/locallib.php b/mod/exercise/locallib.php index dca2313ad6..eb7e12799d 100644 --- a/mod/exercise/locallib.php +++ b/mod/exercise/locallib.php @@ -2015,13 +2015,13 @@ function exercise_print_assessment_form($exercise, $assessment = false, $allowch if (isteacher($course->id)) { // ...show two buttons...to resubmit or not to resubmit echo "student)."\" - onclick=\"document.assessmentform.submit();\">\n"; + onclick=\"document.assessmentform.submit();\" />\n"; echo "student)."\" - onclick=\"document.assessmentform.resubmit.value='1';document.assessmentform.submit();\">\n"; + onclick=\"document.assessmentform.resubmit.value='1';document.assessmentform.submit();\" />\n"; } else { // ... show save button - echo "\n"; + echo "\n"; } } echo "\n"; @@ -2782,9 +2782,9 @@ function exercise_print_teacher_assessment_form($exercise, $assessment, $submiss // ...and close the table and show two buttons...to resubmit or not to resubmit echo "
\n"; echo "
student)."\" - onclick=\"document.assessmentform.submit();\">\n"; + onclick=\"document.assessmentform.submit();\" />\n"; echo "student)."\" - onclick=\"document.assessmentform.resubmit.value='1';document.assessmentform.submit();\">\n"; + onclick=\"document.assessmentform.resubmit.value='1';document.assessmentform.submit();\" />\n"; echo "\n"; } diff --git a/mod/exercise/mod.html b/mod/exercise/mod.html index c330ef37f0..304d89c7be 100644 --- a/mod/exercise/mod.html +++ b/mod/exercise/mod.html @@ -46,7 +46,7 @@

:

- +

:

- +

- - - - - - - -"> -"> + + + + + + + +" /> +" />

diff --git a/mod/exercise/submissions.php b/mod/exercise/submissions.php index d440f3c51e..09c7ba899d 100644 --- a/mod/exercise/submissions.php +++ b/mod/exercise/submissions.php @@ -69,9 +69,9 @@ print_heading(get_string("amendtitle", "exercise")); ?>

- - - + + +
\n"; echo " \n"; echo "

". get_string("title", "exercise").":

\n"; - echo " title\">\n"; + echo " title\" />\n"; echo "
\n"; - echo "\n"; + echo "\n"; echo "
\n"; } diff --git a/mod/exercise/view.php b/mod/exercise/view.php index b8b96f878b..d54a9c5001 100644 --- a/mod/exercise/view.php +++ b/mod/exercise/view.php @@ -251,7 +251,7 @@ if (!$correctpass) { print_simple_box_start("center"); echo "
\n"; - echo "id\">\n"; + echo "id\" />\n"; echo ""; if (isset($_POST['userpassword'])) { echo ""; echo ""; + " "; echo "
".get_string("wrongpassword", "exercise"). @@ -260,13 +260,13 @@ echo "
".get_string("passwordprotectedexercise", "exercise", $exercise->name). "
".get_string("enterpassword", "exercise"). - "
"; echo "id';\"> "; echo ""; + "\" onclick=\"document.password.submit();\" />"; echo "
"; print_simple_box_end(); exit(); diff --git a/mod/forum/config.html b/mod/forum/config.html index e9bed36260..f4a92a5b0b 100644 --- a/mod/forum/config.html +++ b/mod/forum/config.html @@ -27,7 +27,7 @@

forum_shortpost: - + @@ -36,7 +36,7 @@

forum_longpost: - + @@ -45,7 +45,7 @@

forum_manydiscussions: - + @@ -95,7 +95,7 @@ - "> + " /> diff --git a/mod/forum/lib.php b/mod/forum/lib.php index d5316330d4..d4884f5790 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -1815,20 +1815,20 @@ function forum_print_search_form($course, $search="", $return=false, $type="") { $output = "
"; $output .= "wwwroot/mod/forum/search.php\">"; $output .= ""; - $output .= ""; - $output .= ""; + $output .= ""; + $output .= ""; $output .= ""; - $output .= "id\">"; + $output .= "id\" />"; $output .= ""; $output .= "
"; } else { $output = "
"; $output .= "
wwwroot/mod/forum/search.php\">"; $output .= ""; - $output .= "
"; - $output .= ""; + $output .= "
"; + $output .= ""; $output .= "
"; - $output .= "id\">"; + $output .= "id\" />"; $output .= "
"; $output .= "
"; } @@ -2580,7 +2580,7 @@ function forum_print_discussion($course, $forum, $discussion, $post, $mode, $can $ratings->allow = ($forum->assessed != 2 or isteacher($course->id)); echo "

"; - echo "id\">"; + echo "id\" />"; } } @@ -2613,7 +2613,7 @@ function forum_print_discussion($course, $forum, $discussion, $post, $mode, $can } if ($ratingsmenuused) { - echo "
"; + echo "
"; if ($forum->scale < 0) { if ($scale = get_record("scale", "id", abs($forum->scale))) { print_scale_menu_helpbutton($course->id, $scale ); diff --git a/mod/forum/mod.html b/mod/forum/mod.html index b2ef0e43ea..cb20d73231 100644 --- a/mod/forum/mod.html +++ b/mod/forum/mod.html @@ -45,7 +45,7 @@

:

- + @@ -60,10 +60,10 @@ } if ($form->type == "news") { print_string("namenews", "forum"); - echo ""; + echo ""; } else if ($form->type == "social") { print_string("namesocial", "forum"); - echo ""; + echo ""; } else { choose_from_menu($FORUM_TYPES, "type", $form->type, ""); helpbutton("forumtype", get_string("forumtype", "forum"), "forum"); @@ -180,7 +180,7 @@ if ($form->assessed) { echo " checked "; } - echo ">"; + echo " />"; echo get_string("ratingsuse", "forum").":"; echo "
"; @@ -209,7 +209,7 @@ $form->ratingtime = 1; echo " checked "; } - echo ">"; + echo " />"; print_string("ratingtime", "forum"); echo "
"; @@ -222,20 +222,20 @@ print_time_selector("finishhour", "finishminute", $form->assesstimefinish); echo "
"; echo "
"; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; echo "