Skip to content

Commit

Permalink
closed some br tags
Browse files Browse the repository at this point in the history
  • Loading branch information
gustav_delius committed Sep 12, 2004
1 parent b4510d5 commit 1c5d9bb
Show file tree
Hide file tree
Showing 21 changed files with 41 additions and 41 deletions.
6 changes: 3 additions & 3 deletions mod/assignment/lib.php
Expand Up @@ -592,12 +592,12 @@ function assignment_print_submission($assignment, $user, $submission, $teachers,
if ($submission->timemarked) {
echo "&nbsp;&nbsp;<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) {
Expand Down
2 changes: 1 addition & 1 deletion mod/attendance/index.php
Expand Up @@ -69,7 +69,7 @@
}
}

echo "<br>";
echo "<br />";

print_table($table);

Expand Down
12 changes: 6 additions & 6 deletions mod/exercise/locallib.php
Expand Up @@ -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 {
Expand All @@ -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";
}
}

Expand Down Expand Up @@ -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">
Expand Down Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion mod/exercise/submissions.php
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion mod/exercise/view.php
Expand Up @@ -122,7 +122,7 @@
}
}
}
echo "</table><br clear=\"all\">\n";
echo "</table><br clear=\"all\" />\n";
if ($exercise->showleaguetable) {
exercise_print_league_table($exercise);
}
Expand Down
2 changes: 1 addition & 1 deletion mod/journal/lib.php
Expand Up @@ -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";
}


Expand Down
4 changes: 2 additions & 2 deletions mod/quiz/category.php
Expand Up @@ -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>";

Expand Down
2 changes: 1 addition & 1 deletion mod/quiz/format/coursetestmanager/format.php
Expand Up @@ -265,7 +265,7 @@ function importpostprocess() {

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;
Expand Down
2 changes: 1 addition & 1 deletion mod/quiz/questiontypes/datasetdependent/datasetitems.php
Expand Up @@ -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();

Expand Down
2 changes: 1 addition & 1 deletion mod/quiz/questiontypes/multichoice/multichoice.html
Expand Up @@ -196,7 +196,7 @@

choose_from_menu($gradeoptionsfull, "fraction[]", $answers[$i-1]->fraction, ""); ?>

<br>
<br />

</td>

Expand Down
2 changes: 1 addition & 1 deletion mod/quiz/questiontypes/shortanswer/shortanswer.html
Expand Up @@ -188,7 +188,7 @@

choose_from_menu($gradeoptions, "fraction[]", $answers[$i-1]->fraction,""); ?>

<br>
<br />

</td>

Expand Down
2 changes: 1 addition & 1 deletion mod/quiz/questiontypes/truefalse/questiontype.php
Expand Up @@ -142,7 +142,7 @@ function print_question_formulation_and_controls($question,
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(
Expand Down
2 changes: 1 addition & 1 deletion mod/quiz/questiontypes/truefalse/truefalse.html
Expand Up @@ -144,7 +144,7 @@

choose_from_menu($menu, "answer", "$question->answer", ""); ?>

<br>
<br />

</td>

Expand Down
4 changes: 2 additions & 2 deletions mod/scorm/coursefiles.php
Expand Up @@ -176,7 +176,7 @@ function set_value(txt) {
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();
Expand Down Expand Up @@ -396,7 +396,7 @@ function set_value(txt) {
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\">";
Expand Down
2 changes: 1 addition & 1 deletion mod/scorm/index.php
Expand Up @@ -71,7 +71,7 @@
}
}

echo "<br>";
echo "<br />";

print_table($table);

Expand Down
4 changes: 2 additions & 2 deletions mod/scorm/mod.html
Expand Up @@ -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>
Expand Down
10 changes: 5 additions & 5 deletions mod/workshop/assessments.php
Expand Up @@ -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");
Expand Down Expand Up @@ -377,7 +377,7 @@
echo " <td colspan=2 BGCOLOR=\"$THEME->cellheading2\">&nbsp;</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");
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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");
Expand Down Expand Up @@ -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");
Expand Down
14 changes: 7 additions & 7 deletions mod/workshop/locallib.php
Expand Up @@ -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"));
Expand Down Expand Up @@ -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);
}
}
Expand Down Expand Up @@ -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";
}
}

Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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";
}
}

Expand Down Expand Up @@ -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>";
Expand Down
2 changes: 1 addition & 1 deletion mod/workshop/mod.html
Expand Up @@ -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) ?>" />
Expand Down
2 changes: 1 addition & 1 deletion mod/workshop/submissions.php
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion mod/workshop/view.php
Expand Up @@ -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);
Expand Down

0 comments on commit 1c5d9bb

Please sign in to comment.