closed some br tags
This commit is contained in:
@@ -592,12 +592,12 @@ function assignment_print_submission($assignment, $user, $submission, $teachers,
|
||||
if ($submission->timemarked) {
|
||||
echo " <font size=1>".userdate($submission->timemarked)."</font>";
|
||||
}
|
||||
echo "<br><textarea name=\"c$submission->id\" rows=6 cols=60 wrap=virtual>";
|
||||
echo "<br /><textarea name=\"c$submission->id\" rows=6 cols=60 wrap=virtual>";
|
||||
p($submission->comment);
|
||||
echo "</textarea><br>";
|
||||
echo "</textarea><br />";
|
||||
echo "</td></tr>";
|
||||
|
||||
echo "</table><br clear=ALL>\n";
|
||||
echo "</table><br clear=\"all\" />\n";
|
||||
}
|
||||
|
||||
function assignment_print_feedback($course, $submission, $assignment) {
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
echo "<br>";
|
||||
echo "<br />";
|
||||
|
||||
print_table($table);
|
||||
|
||||
|
||||
@@ -1540,7 +1540,7 @@ function exercise_print_assessment_form($exercise, $assessment = false, $allowch
|
||||
echo "<center><table border=\"1\" width=\"30%\"><tr>
|
||||
<td align=\"center\" bgcolor=\"$THEME->cellcontent\">\n";
|
||||
echo exercise_print_submission_title($exercise, $teachersubmission);
|
||||
echo "</td></tr></table><br clear=\"all\">\n";
|
||||
echo "</td></tr></table><br clear=\"all\" />\n";
|
||||
}
|
||||
}
|
||||
else {
|
||||
@@ -1553,14 +1553,14 @@ function exercise_print_assessment_form($exercise, $assessment = false, $allowch
|
||||
echo "<center><table border=\"1\" width=\"30%\"><tr>
|
||||
<td align=\"center\" bgcolor=\"$THEME->cellcontent\">\n";
|
||||
echo exercise_print_submission_title($exercise, $submission);
|
||||
echo "</td></tr></table><br clear=\"all\">\n";
|
||||
echo "</td></tr></table><br clear=\"all\" />\n";
|
||||
|
||||
// only show the grade if grading strategy > 0 and the grade is positive
|
||||
if ($exercise->gradingstrategy and $assessment->grade >= 0) {
|
||||
|
||||
echo "<center><b>".get_string("thegradeis", "exercise").": ".
|
||||
number_format($assessment->grade * $exercise->grade / 100.0, 2)." (".
|
||||
get_string("maximumgrade")." ".number_format($exercise->grade, 0).")</b></center><br clear=\"all\">\n";
|
||||
get_string("maximumgrade")." ".number_format($exercise->grade, 0).")</b></center><br clear=\"all\" />\n";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2358,12 +2358,12 @@ function exercise_print_teacher_assessment_form($exercise, $assessment, $submiss
|
||||
error ("Print teacher assessment form: Submission record not found");
|
||||
}
|
||||
echo exercise_print_submission_title($exercise, $teachersubmission);
|
||||
echo "</td></tr></table><br clear=\"all\">\n";
|
||||
echo "</td></tr></table><br clear=\"all\" />\n";
|
||||
|
||||
echo "<center><table border=\"1\" width=\"30%\"><tr>
|
||||
<td align=\"center\" bgcolor=\"$THEME->cellcontent\">\n";
|
||||
echo exercise_print_submission_title($exercise, $submission);
|
||||
echo "</td></tr></table></center><br clear=\"all\">\n";
|
||||
echo "</td></tr></table></center><br clear=\"all\" />\n";
|
||||
|
||||
?>
|
||||
<form name="assessmentform" method="post" action="assessments.php">
|
||||
@@ -2393,7 +2393,7 @@ function exercise_print_teacher_assessment_form($exercise, $assessment, $submiss
|
||||
if ($exercise->gradingstrategy and $assessment->grade >= 0) {
|
||||
echo "<center><b>".get_string("thegradeis", "exercise").": ".
|
||||
number_format($assessment->grade * $exercise->grade / 100.0, 2)." (".
|
||||
get_string("maximumgrade")." ".number_format($exercise->grade, 0).")</b></center><br clear=\"all\">\n";
|
||||
get_string("maximumgrade")." ".number_format($exercise->grade, 0).")</b></center><br clear=\"all\" />\n";
|
||||
}
|
||||
|
||||
echo "<center><table cellpadding=\"2\" border=\"1\">\n";
|
||||
|
||||
@@ -286,7 +286,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
echo "</table><br clear=\"all\">\n";
|
||||
echo "</table><br clear=\"all\" />\n";
|
||||
if ($exercise->showleaguetable) {
|
||||
exercise_print_league_table($exercise);
|
||||
echo "<br />\n";
|
||||
|
||||
@@ -122,7 +122,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
echo "</table><br clear=\"all\">\n";
|
||||
echo "</table><br clear=\"all\" />\n";
|
||||
if ($exercise->showleaguetable) {
|
||||
exercise_print_league_table($exercise);
|
||||
}
|
||||
|
||||
+1
-1
@@ -465,7 +465,7 @@ function journal_print_user_entry($course, $user, $entry, $teachers, $grades) {
|
||||
echo "</textarea><br />";
|
||||
echo "</td></tr>";
|
||||
}
|
||||
echo "</table><br clear=\"all\">\n";
|
||||
echo "</table><br clear=\"all\" />\n";
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -172,8 +172,8 @@
|
||||
"$stradd");
|
||||
print_table($table);
|
||||
echo "<input type=\"hidden\" name=\"id\" value=\"$course->id\" />";
|
||||
echo "<center><br><input type=\"submit\" value=\"$strsavechanges\" /> ";
|
||||
echo "<br><br><input type=\"submit\" name=\"backtoquiz\" value=\"$strbacktoquiz\" /> ";
|
||||
echo "<center><br /><input type=\"submit\" value=\"$strsavechanges\" /> ";
|
||||
echo "<br /><br /><input type=\"submit\" name=\"backtoquiz\" value=\"$strbacktoquiz\" /> ";
|
||||
echo "</center>";
|
||||
echo "</form>";
|
||||
|
||||
|
||||
@@ -265,7 +265,7 @@ class quiz_file_format {
|
||||
|
||||
function deletedatabase($filename) {
|
||||
if (! $this->fulldelete($filename)) {
|
||||
echo "<br>Error: Could not delete: $filename";
|
||||
echo "<br />Error: Could not delete: $filename";
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
@@ -267,7 +267,7 @@
|
||||
echo '</form>';
|
||||
}
|
||||
|
||||
echo "<center><br><br><form method=\"get\" action=\"edit.php\"><input type=\"hidden\" name=\"question\" value=\"$question->id\"/><input type=\"submit\" name=\"backtoquiz\" value=\"$strbacktoquiz\"></form></center>\n";
|
||||
echo "<center><br /><br /><form method=\"get\" action=\"edit.php\"><input type=\"hidden\" name=\"question\" value=\"$question->id\"/><input type=\"submit\" name=\"backtoquiz\" value=\"$strbacktoquiz\"></form></center>\n";
|
||||
|
||||
print_footer();
|
||||
|
||||
|
||||
@@ -196,7 +196,7 @@
|
||||
|
||||
choose_from_menu($gradeoptionsfull, "fraction[]", $answers[$i-1]->fraction, ""); ?>
|
||||
|
||||
<br>
|
||||
<br />
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
@@ -188,7 +188,7 @@
|
||||
|
||||
choose_from_menu($gradeoptions, "fraction[]", $answers[$i-1]->fraction,""); ?>
|
||||
|
||||
<br>
|
||||
<br />
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
@@ -142,7 +142,7 @@ class quiz_truefalse_qtype extends quiz_default_questiontype {
|
||||
echo "<input $truechecked type=\"radio\" $readonly $inputname value=\"$true->id\" />$true->answer";
|
||||
echo "</td><td $falsecorrect>";
|
||||
echo "<input $falsechecked type=\"radio\" $readonly $inputname value=\"$false->id\" />$false->answer";
|
||||
echo "</td></tr></table><br clear=\"all\">";// changed from clear=ALL jm
|
||||
echo "</td></tr></table><br clear=\"all\" />";// changed from clear=ALL jm
|
||||
if ($quiz->feedback && isset($answers[$nameprefix])
|
||||
&& $feedback = $answers[$nameprefix]->feedback) {
|
||||
quiz_print_comment(
|
||||
|
||||
@@ -144,7 +144,7 @@
|
||||
|
||||
choose_from_menu($menu, "answer", "$question->answer", ""); ?>
|
||||
|
||||
<br>
|
||||
<br />
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
@@ -176,7 +176,7 @@
|
||||
foreach ($USER->filelist as $file) {
|
||||
$fullfile = $basedir.$file;
|
||||
if (! fulldelete($fullfile)) {
|
||||
echo "<br>Error: Could not delete: $fullfile";
|
||||
echo "<br />Error: Could not delete: $fullfile";
|
||||
}
|
||||
}
|
||||
clearfilelist();
|
||||
@@ -396,7 +396,7 @@
|
||||
print_simple_box_start("center");
|
||||
printfilelist($USER->filelist);
|
||||
print_simple_box_end();
|
||||
echo "<br>";
|
||||
echo "<br />";
|
||||
echo "<p align=\"center\">".get_string("whattocallzip");
|
||||
echo "<table><tr><td>";
|
||||
echo "<form action=\"".$ME."\" method=\"post\" name=\"form\">";
|
||||
|
||||
+1
-1
@@ -71,7 +71,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
echo "<br>";
|
||||
echo "<br />";
|
||||
|
||||
print_table($table);
|
||||
|
||||
|
||||
+2
-2
@@ -43,9 +43,9 @@
|
||||
<font size="1">
|
||||
<?php
|
||||
helpbutton("summary", get_string("summary"), "scorm", true, true);
|
||||
echo "<br \>";
|
||||
echo "<br />";
|
||||
helpbutton("writing", get_string("helpwriting"), "moodle", true, true);
|
||||
echo "<br \>";
|
||||
echo "<br />";
|
||||
helpbutton("text", get_string("helptext"), "moodle", true, true);
|
||||
?>
|
||||
</font>
|
||||
|
||||
@@ -183,7 +183,7 @@
|
||||
}
|
||||
//save time of agreement
|
||||
set_field("workshop_assessments", "timeagreed", $timenow, "id", $assessment->id);
|
||||
echo "<centre><b>".get_string("savedok", "workshop")."</b></center><br>\n";
|
||||
echo "<centre><b>".get_string("savedok", "workshop")."</b></center><br />\n";
|
||||
|
||||
add_to_log($course->id, "workshop", "agree", "assessments.php?action=viewassessment&id=$cm->id&aid=$assessment->id", "$assessment->id");
|
||||
print_continue("view.php?id=$cm->id");
|
||||
@@ -377,7 +377,7 @@
|
||||
echo " <td colspan=2 BGCOLOR=\"$THEME->cellheading2\"> </td>\n";
|
||||
echo "</tr>\n";
|
||||
}
|
||||
echo "</center></table><br>\n";
|
||||
echo "</center></table><br />\n";
|
||||
echo "<p><center><b>".get_string("gradetable","workshop")."</b></center>\n";
|
||||
echo "<center><table cellpadding=5 border=1><tr><td ALIGN=\"CENTER\">".
|
||||
get_string("numberofnegativeresponses", "workshop");
|
||||
@@ -776,7 +776,7 @@
|
||||
$totalweight += $weight;
|
||||
}
|
||||
$rawgrade += ($grade / $maxscore) * $weight;
|
||||
// echo "\$key, \$maxscore, \$weight, \$totalweight, \$grade, \$rawgrade : $key, $maxscore, $weight, $totalweight, $grade, $rawgrade<br>";
|
||||
// echo "\$key, \$maxscore, \$weight, \$totalweight, \$grade, \$rawgrade : $key, $maxscore, $weight, $totalweight, $grade, $rawgrade<br />";
|
||||
}
|
||||
$grade = 100.0 * ($rawgrade / $totalweight);
|
||||
break;
|
||||
@@ -932,7 +932,7 @@
|
||||
set_field("workshop_comments", "timecreated", $timenow, "id", $comment->id);
|
||||
// ..and kick to comment into life (probably not needed but just in case)
|
||||
set_field("workshop_comments", "mailed", 0, "id", $comment->id);
|
||||
echo "<centre><b>".get_string("savedok", "workshop")."</b></center><br>\n";
|
||||
echo "<centre><b>".get_string("savedok", "workshop")."</b></center><br />\n";
|
||||
|
||||
add_to_log($course->id, "workshop", "comment",
|
||||
"assessments.php?action=viewassessment&id=$cm->id&aid=$assessment->id", "$comment->id");
|
||||
@@ -961,7 +961,7 @@
|
||||
set_field("workshop_assessments", "gradinggrade", $form->gradinggrade, "id", $assessment->id);
|
||||
set_field("workshop_assessments", "timegraded", $timenow, "id", $assessment->id);
|
||||
set_field("workshop_assessments", "mailed", 0, "id", $assessment->id);
|
||||
echo "<centre><b>".get_string("savedok", "workshop")."</b></centre><br>\n";
|
||||
echo "<centre><b>".get_string("savedok", "workshop")."</b></centre><br />\n";
|
||||
|
||||
add_to_log($course->id, "workshop", "grade",
|
||||
"assessments.php?action=viewassessment&id=$cm->id&aid=$assessment->id", "$assessment->id", "$cm->id");
|
||||
|
||||
@@ -736,7 +736,7 @@ function workshop_list_all_submissions($workshop, $user) {
|
||||
}
|
||||
|
||||
echo "<center><p><b>".get_string("studentsubmissions", "workshop", $course->student).
|
||||
"</b></center><br>\n";
|
||||
"</b></center><br />\n";
|
||||
unset($table);
|
||||
$table->head = array (get_string("title", "workshop"), get_string("action", "workshop"),
|
||||
get_string("comment", "workshop"));
|
||||
@@ -1022,7 +1022,7 @@ function workshop_list_self_assessments($workshop, $user) {
|
||||
}
|
||||
if (isset($table->data)) {
|
||||
echo "<p><center><b>".get_string("pleaseassessyoursubmissions", "workshop", $course->student).
|
||||
"</b></center><br>\n";
|
||||
"</b></center><br />\n";
|
||||
print_table($table);
|
||||
}
|
||||
}
|
||||
@@ -1149,11 +1149,11 @@ function workshop_list_student_submissions($workshop, $user) {
|
||||
|
||||
if (isset($table->data)) {
|
||||
echo "<p><center><b>".get_string("pleaseassessthesestudentsubmissions", "workshop", $course->student).
|
||||
"</b></center><br>\n";
|
||||
"</b></center><br />\n";
|
||||
print_table($table);
|
||||
}
|
||||
else {
|
||||
echo "<p><center><b>".get_string("nosubmissionsavailableforassessment", "workshop")."</b></center><br>\n";
|
||||
echo "<p><center><b>".get_string("nosubmissionsavailableforassessment", "workshop")."</b></center><br />\n";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1755,7 +1755,7 @@ function workshop_print_assessment($workshop, $assessment = false, $allowchanges
|
||||
error ("Workshop_print_assessment: Submission record not found");
|
||||
}
|
||||
echo workshop_print_submission_title($workshop, $submission);
|
||||
echo "</td></tr></table><br CLEAR=ALL>\n";
|
||||
echo "</td></tr></table><br CLEAR=ALL />\n";
|
||||
|
||||
// see if this is a pre-filled assessment for a re-submission...
|
||||
if ($assessment->resubmission) {
|
||||
@@ -1820,7 +1820,7 @@ function workshop_print_assessment($workshop, $assessment = false, $allowchanges
|
||||
// only show the grade if grading strategy > 0 and the grade is positive
|
||||
if ($showgrades and $workshop->gradingstrategy and $assessment->grade >= 0) {
|
||||
echo "<center><b>".get_string("thegradeis", "workshop").": ".number_format($assessment->grade, 2)." (".
|
||||
get_string("maximumgrade")." ".number_format($workshop->grade, 0).")</b></center><br CLEAR=ALL>\n";
|
||||
get_string("maximumgrade")." ".number_format($workshop->grade, 0).")</b></center><br CLEAR=ALL />\n";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2689,7 +2689,7 @@ function workshop_print_upload_form($workshop) {
|
||||
echo "<form ENCTYPE=\"multipart/form-data\" METHOD=\"POST\" ACTION=upload.php>";
|
||||
echo " <input TYPE=hidden NAME=MAX_FILE_SIZE value=\"$workshop->maxbytes\" />";
|
||||
echo " <input TYPE=hidden NAME=id VALUE=\"$cm->id\" />";
|
||||
echo "<b>".get_string("title", "workshop")."</b>: <input NAME=\"title\" TYPE=\"text\" SIZE=\"60\" MAXSIZE=\"100\" /><br><br>\n";
|
||||
echo "<b>".get_string("title", "workshop")."</b>: <input NAME=\"title\" TYPE=\"text\" SIZE=\"60\" MAXSIZE=\"100\" /><br /><br />\n";
|
||||
echo " <input NAME=\"newfile\" TYPE=\"file\" size=\"50\" />";
|
||||
echo " <input TYPE=submit NAME=save VALUE=\"".get_string("uploadthisfile")."\" />";
|
||||
echo "</form>";
|
||||
|
||||
@@ -329,7 +329,7 @@
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<br>
|
||||
<br />
|
||||
<center>
|
||||
<input type="hidden" name=course value="<?php p($form->course) ?>" />
|
||||
<input type="hidden" name=coursemodule value="<?php p($form->coursemodule) ?>" />
|
||||
|
||||
@@ -228,7 +228,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
echo "</table><br clear=\"all\">\n";
|
||||
echo "</table><br clear=\"all\" />\n";
|
||||
workshop_print_key($workshop);
|
||||
if ($workshop->showleaguetable) {
|
||||
workshop_print_league_table($workshop);
|
||||
|
||||
@@ -160,7 +160,7 @@
|
||||
echo "<td align=\"center\">".number_format($gradinggrade + $grade, 1)."</td></tr>\n";
|
||||
}
|
||||
}
|
||||
echo "</table><br CLEAR=ALL>\n";
|
||||
echo "</table><br CLEAR=ALL />\n";
|
||||
workshop_print_key($workshop);
|
||||
if ($workshop->showleaguetable) {
|
||||
workshop_print_league_table($workshop);
|
||||
|
||||
Reference in New Issue
Block a user