mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Modified Greg's work to:
- rename the main_frame variable to framename, because it - might have caused some confusion - none of the global variables have underscores - put the config in the config table, with a default of _top
This commit is contained in:
parent
2ea9027bc4
commit
f82c2d428a
12 changed files with 50 additions and 24 deletions
|
@ -91,7 +91,7 @@
|
|||
"<A HREF=\"index.php\">$stradministration</A> -> $strauthenticationoptions", "$focus");
|
||||
|
||||
echo "<CENTER><P><B>";
|
||||
echo "<form TARGET=\"{$CFG->main_frame}\" NAME=\"authmenu\" method=\"post\" action=\"auth.php\">";
|
||||
echo "<form TARGET=\"{$CFG->framename}\" NAME=\"authmenu\" method=\"post\" action=\"auth.php\">";
|
||||
print_string("chooseauthmethod","auth");
|
||||
|
||||
choose_from_menu ($options, "auth", $auth, "","top.location='auth.php?auth='+document.authmenu.auth.options[document.authmenu.auth.selectedIndex].value", "");
|
||||
|
|
|
@ -218,6 +218,19 @@
|
|||
<? print_string("configdebug") ?>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR VALIGN=TOP>
|
||||
<TD ALIGN=RIGHT><P>framename:</TD>
|
||||
<TD>
|
||||
<? if (empty($config->framename)) {
|
||||
$config->framename = "_top";
|
||||
}
|
||||
?>
|
||||
<INPUT NAME=framename TYPE=text SIZE=15 VALUE="<?=$config->framename?>">
|
||||
</TD>
|
||||
<TD>
|
||||
<? print_string("configframename") ?>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
|
||||
<TR>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue