minor xhtml fix

This commit is contained in:
skodak 2006-11-30 09:16:36 +00:00
parent e7e3055e95
commit bad545e935
2 changed files with 5 additions and 6 deletions

View File

@ -53,7 +53,7 @@
print_simple_box(get_string('configenrolmentplugins', 'admin'), 'center', '700');
echo "<form target=\"{$CFG->framename}\" name=\"enrolmenu\" method=\"post\" action=\"enrol.php\">";
echo "<input type=\"hidden\" name=\"sesskey\" value=\"".$USER->sesskey."\">";
echo "<input type=\"hidden\" name=\"sesskey\" value=\"".$USER->sesskey."\" />";
$table = new stdClass();
$table->head = array(get_string('name'), get_string('enable'), get_string('default'), $str->settings);
@ -96,7 +96,7 @@
print_table($table);
echo "<center><input type=\"submit\" value=\"".get_string("savechanges")."\"></center>\n";
echo "<center><input type=\"submit\" value=\"".get_string("savechanges")."\" /></center>\n";
echo "</form>";
admin_externalpage_print_footer($adminroot);

View File

@ -15,7 +15,6 @@
/// Print headings
$strcalendarsettings = get_string('calendarsettings', 'admin');
$strimporttimezones = get_string('importtimezones', 'admin');
admin_externalpage_print_header($adminroot);
@ -23,16 +22,16 @@
print_heading($strimporttimezones);
if (!$ok or !confirm_sesskey()) {
$message = '<p>';
$message = '<br /><br />';
$message .= $CFG->dataroot.'/temp/olson.txt<br />';
$message .= $CFG->dataroot.'/temp/timezones.txt<br />';
$message .= '<a href="http://download.moodle.org/timezones/">http://download.moodle.org/timezones/</a><br />';
$message .= '<a href="'.$CFG->wwwroot.'/lib/timezones.txt">'.$CFG->dirroot.'/lib/timezones.txt</a><br />';
$message .= '</p>';
$message .= '<br />';
$message = get_string("configintrotimezones", 'admin', $message);
notice_yesno($message, 'timezoneimport.php?ok=1&sesskey='.sesskey(), 'index.php');
notice_yesno($message, 'timezoneimport.php?ok=1&amp;sesskey='.sesskey(), 'index.php');
admin_externalpage_print_footer($adminroot);
exit;