Skip to content

Commit

Permalink
fixed capitalization and quoting of attribute values
Browse files Browse the repository at this point in the history
  • Loading branch information
gustav_delius committed Sep 12, 2004
1 parent a43bbd9 commit 730a5f5
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion enrol/enrol.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ function print_entry($course) {
}


print_header($strloginto, $course->fullname, "<A HREF=\".\">$strcourses</A> -> $strloginto", "form.password");
print_header($strloginto, $course->fullname, "<a href=\".\">$strcourses</a> -> $strloginto", "form.password");

print_course($course);

Expand Down
8 changes: 4 additions & 4 deletions enrol/flatfile/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<tr valign="top">
<td align="right"><p>enrol_mailstudents:</p></td>
<td>
<input type="checkbox" value=1 name="enrol_mailstudents" <?php if ($frm->enrol_mailstudents) echo "checked=\"true\"" ?> />
<input type="checkbox" value="1" name="enrol_mailstudents" <?php if ($frm->enrol_mailstudents) echo "checked=\"true\"" ?> />
</td>
<td>
<?php print_string("mailstudents") ?>
Expand All @@ -23,7 +23,7 @@
<tr valign="top">
<td align="right"><p>enrol_mailteachers:</p></td>
<td>
<input type="checkbox" value=1 name="enrol_mailteachers" <?php if ($frm->enrol_mailteachers) echo "checked=\"true\"" ?> />
<input type="checkbox" value="1" name="enrol_mailteachers" <?php if ($frm->enrol_mailteachers) echo "checked=\"true\"" ?> />
</td>
<td>
<?php print_string("mailteachers") ?>
Expand All @@ -33,7 +33,7 @@
<tr valign="top">
<td align="right"><p>enrol_mailadmins:</p></td>
<td>
<input type="checkbox" value=1 name="enrol_mailadmins" <?php if ($frm->enrol_mailadmins) echo "checked=\"true\"" ?> />
<input type="checkbox" value="1" name="enrol_mailadmins" <?php if ($frm->enrol_mailadmins) echo "checked=\"true\"" ?> />
</td>
<td>
<?php print_string("mailadmins") ?>
Expand All @@ -43,7 +43,7 @@
<tr valign="top">
<td align="right"><p>enrol_allowinternal:</p></td>
<td>
<input type="checkbox" value=1 name="enrol_allowinternal" <?php if ($frm->enrol_allowinternal) echo "checked=\"true\"" ?> />
<input type="checkbox" value="1" name="enrol_allowinternal" <?php if ($frm->enrol_allowinternal) echo "checked=\"true\"" ?> />
</td>
<td>
<?php print_string('allowinternal') ?>
Expand Down
2 changes: 1 addition & 1 deletion enrol/internal/enrol.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<table cellpadding="20" align="center"> <tr valign="top"> <td> <p align="center"> <?php if ($teacher) { $site = get_site(); $teachername = "<a href=\"../user/view.php?id=$teacher->id&course=$site->id\">". "$teacher->firstname $teacher->lastname</a>."; } else { $teachername = get_string("yourteacher", "", strtolower($course->teacher)); } print_string("enrolmentkeyfrom", "", $teachername); ?> </p> </td> </tr> <tr valign=top> <td class="generalbox" bgcolor="<?php p($THEME->cellcontent) ?>"> <center><?php if (! empty($this->errormsg)) {formerr($this->errormsg);} ?></center> <form name="form" method="post" action="enrol.php"> <table> <tr> <td width="50%" align="right"><p><?php print_string("enrolmentkey") ?>:</p></td> <td width="50%"> <input type="password" name="password" size="20" value="<?php p($password) ?>" > <input type="hidden" name="id" value="<?php p($course->id) ?>" > </td> <tr> <td width="50%">&nbsp;</td> <td width="50%"> <table cellpadding="1" cellspacing="0" align="center"> <tr> <td><input type="submit" value="<?php print_string("login") ?>">&nbsp;&nbsp;</form></td> <td><form action="<?php p($CFG->wwwroot)?>/index.php" method=post> <input type="submit" value="<?php print_string("cancel") ?>"></form></td> </tr> </table> </td> </table> </td> </tr></table>
<table cellpadding="20" align="center"> <tr valign="top"> <td> <p align="center"> <?php if ($teacher) { $site = get_site(); $teachername = "<a href=\"../user/view.php?id=$teacher->id&course=$site->id\">". "$teacher->firstname $teacher->lastname</a>."; } else { $teachername = get_string("yourteacher", "", strtolower($course->teacher)); } print_string("enrolmentkeyfrom", "", $teachername); ?> </p> </td> </tr> <tr valign="top"> <td class="generalbox" bgcolor="<?php p($THEME->cellcontent) ?>"> <center><?php if (! empty($this->errormsg)) {formerr($this->errormsg);} ?></center> <form name="form" method="post" action="enrol.php"> <table> <tr> <td width="50%" align="right"><p><?php print_string("enrolmentkey") ?>:</p></td> <td width="50%"> <input type="password" name="password" size="20" value="<?php p($password) ?>" > <input type="hidden" name="id" value="<?php p($course->id) ?>" > </td> <tr> <td width="50%">&nbsp;</td> <td width="50%"> <table cellpadding="1" cellspacing="0" align="center"> <tr> <td><input type="submit" value="<?php print_string("login") ?>">&nbsp;&nbsp;</form></td> <td><form action="<?php p($CFG->wwwroot)?>/index.php" method="post"> <input type="submit" value="<?php print_string("cancel") ?>"></form></td> </tr> </table> </td> </table> </td> </tr></table>
Expand Down
6 changes: 3 additions & 3 deletions enrol/paypal/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<tr valign="top">
<td align="right"><p>enrol_mailstudents:</p></td>
<td>
<input type="checkbox" value=1 name="enrol_mailstudents" <?php if ($frm->enrol_mailstudents) echo "checked=\"true\"" ?> />
<input type="checkbox" value="1" name="enrol_mailstudents" <?php if ($frm->enrol_mailstudents) echo "checked=\"true\"" ?> />
</td>
<td>
<?php print_string("mailstudents") ?>
Expand All @@ -43,7 +43,7 @@
<tr valign="top">
<td align="right"><p>enrol_mailteachers:</p></td>
<td>
<input type="checkbox" value=1 name="enrol_mailteachers" <?php if ($frm->enrol_mailteachers) echo "checked=\"true\"" ?> />
<input type="checkbox" value="1" name="enrol_mailteachers" <?php if ($frm->enrol_mailteachers) echo "checked=\"true\"" ?> />
</td>
<td>
<?php print_string("mailteachers") ?>
Expand All @@ -53,7 +53,7 @@
<tr valign="top">
<td align="right"><p>enrol_mailadmins:</p></td>
<td>
<input type="checkbox" value=1 name="enrol_mailadmins" <?php if ($frm->enrol_mailadmins) echo "checked=\"true\"" ?> />
<input type="checkbox" value="1" name="enrol_mailadmins" <?php if ($frm->enrol_mailadmins) echo "checked=\"true\"" ?> />
</td>
<td>
<?php print_string("mailadmins") ?>
Expand Down
2 changes: 1 addition & 1 deletion enrol/paypal/enrol.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function get_access_icons($course) {
default: $currency = '$'; break;
}

$str .= "<p class=\"coursecost\"><font size=-1>$strcost: ".
$str .= "<p class=\"coursecost\"><font size=\"-1\">$strcost: ".
"<a title=\"$strrequirespayment\" href=\"$CFG->wwwroot/course/view.php?id=$course->id\"></a>";
$str .= "$currency".format_float($cost,2).'</a></p>';

Expand Down
18 changes: 9 additions & 9 deletions error/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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).<P align=center>$REDIRECT_URL", "center", "", "$THEME->cellheading");
print_simple_box("An unusual error occurred (tried to reach a page that doesn't exist).<p align="center">$REDIRECT_URL", "center", "", "$THEME->cellheading");

?>

<CENTER>
<P>If you have time, please let us know what you were trying
<center>
<p>If you have time, please let us know what you were trying
to do when the error occurred:
<P><FORM action="<?php echo $CFG->wwwroot ?>/error/index.php" name=form method=post>
<TEXTAREA ROWS=3 COLS=50 NAME=text></TEXTAREA><BR>
<INPUT TYPE=hidden NAME=referer VALUE="<?php echo $HTTP_REFERER ?>">
<INPUT TYPE=hidden NAME=requested VALUE="<?php echo $REQUEST_URI ?>">
<INPUT TYPE=submit VALUE="Send this off">
</FORM>
<p><form action="<?php echo $CFG->wwwroot ?>/error/index.php" name="form" method="post">
<textarea rows="3" cols="50" name="text"></textarea><br>
<input type="hidden" name="referer" value="<?php echo $HTTP_REFERER ?>">
<input type="hidden" name="requested" value="<?php echo $REQUEST_URI ?>">
<input type="submit" value="Send this off">
</form>
<?php

print_footer();
Expand Down

0 comments on commit 730a5f5

Please sign in to comment.