Skip to content

Commit

Permalink
fixing broken html
Browse files Browse the repository at this point in the history
  • Loading branch information
toyomoyo committed Dec 14, 2006
1 parent 40b6dd0 commit a0ab421
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions admin/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,17 +123,18 @@

admin_externalpage_print_header($adminroot);

echo "<center><b>";

echo "<form target=\"{$CFG->framename}\" name=\"authmenu\" method=\"post\" action=\"auth.php\">";
echo "<input type=\"hidden\" name=\"sesskey\" value=\"".$USER->sesskey."\" />";
echo "<center><b>";
print_string("chooseauthmethod","auth");

echo "</b></center>";
echo '&nbsp;&nbsp;';

choose_from_menu ($options, "auth", $auth, "","document.location='auth.php?sesskey=$USER->sesskey&auth='+document.authmenu.auth.options[document.authmenu.auth.selectedIndex].value", "");

echo "</b></center><br />";
choose_from_menu ($options, "auth", $auth, "","document.location='auth.php?sesskey=$USER->sesskey&amp;auth='+document.authmenu.auth.options[document.authmenu.auth.selectedIndex].value", "");

//echo "</b></center><br />";
echo "<br />";
print_simple_box_start("center", "100%");
print_heading($options[$auth]);

Expand All @@ -152,7 +153,7 @@

echo '<tr><td colspan="3">';
print_heading(get_string('auth_common_settings', 'auth'));
echo '<td/></tr>';
echo '</td></tr>';

if ($auth != "email" and $auth != "none" and $auth != "manual") {
// display box for URL to change password. NB now on a per-method basis (multiple auth)
Expand Down Expand Up @@ -226,10 +227,11 @@


echo '</table>';
echo '<p align="center"><input type="submit" value="'.get_string('savechanges').'"></p>';
echo '</form>';

echo '<p align="center"><input type="submit" value="'.get_string('savechanges').'" /></p>';

print_simple_box_end();

echo '</form>';

admin_externalpage_print_footer($adminroot);
exit;
Expand All @@ -249,7 +251,7 @@ function print_auth_lock_options ($auth, $user_fields, $helptext, $retrieveopts,
} else {
print_heading(get_string('auth_fieldlocks', 'auth'));
}
echo '<td/></tr>';
echo '</td></tr>';

$lockoptions = array ('unlocked' => get_string('unlocked', 'auth'),
'unlockedifempty' => get_string('unlockedifempty', 'auth'),
Expand Down

0 comments on commit a0ab421

Please sign in to comment.