mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 18:36:42 +02:00
Added a new authentication module to connect to a First Class server!
Contributed by Tortsten Anderson <torsten.anderson at skeria.skelleftea.se>
This commit is contained in:
parent
f29667f638
commit
1e9e22e8e9
4 changed files with 527 additions and 0 deletions
84
auth/fc/config.html
Normal file
84
auth/fc/config.html
Normal file
|
@ -0,0 +1,84 @@
|
|||
<?PHP
|
||||
if (!isset($config->auth_fchost)) {
|
||||
$config->auth_fchost = "127.0.0.1";
|
||||
}
|
||||
if (!isset($config->auth_fcfppport)) {
|
||||
$config->auth_fcfppport = "3333";
|
||||
}
|
||||
if (!isset($config->auth_fcuserid)) {
|
||||
$config->auth_fcuserid = "fcMoodle";
|
||||
}
|
||||
if (!isset($config->auth_fcpasswd)) {
|
||||
$config->auth_fcpasswd = "";
|
||||
}
|
||||
if (!isset($config->auth_fccreators)) {
|
||||
$config->auth_fccreators = "";
|
||||
}
|
||||
?>
|
||||
|
||||
<TR valign="top" BGCOLOR="<?php echo $THEME->cellheading2 ?>">
|
||||
<TD ALIGN=RIGHT><P>auth_fchost:</TD>
|
||||
<TD>
|
||||
<INPUT name=auth_fchost TYPE=text SIZE=30 VALUE="<?php echo $config->auth_fchost?>">
|
||||
<?php if (isset($err["auth_fchost"])) formerr($err["auth_fchost"]); ?>
|
||||
</TD>
|
||||
<TD>
|
||||
<?php print_string("auth_fchost","auth") ?>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR valign="top" BGCOLOR="<?php echo $THEME->cellheading2 ?>">
|
||||
<TD ALIGN=RIGHT><P>auth_fcfppport:</TD>
|
||||
<TD>
|
||||
<INPUT name=auth_fcfppport TYPE=text SIZE=30 VALUE="<?php echo $config->auth_fcfppport?>">
|
||||
<?php if (isset($err["auth_fcfppport"])) formerr($err["auth_fchost"]); ?>
|
||||
</TD>
|
||||
<TD>
|
||||
<?php print_string("auth_fcfppport","auth") ?>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR valign="top" BGCOLOR="<?php echo $THEME->cellheading2 ?>">
|
||||
<TD ALIGN=RIGHT><P>auth_fcuserid:</TD>
|
||||
<TD>
|
||||
<INPUT name=auth_fcuserid TYPE=text SIZE=30 MAXLENGTH=15 VALUE="<?php echo $config->auth_fcuserid?>">
|
||||
<?php if (isset($err["auth_fcuserid"])) formerr($err["auth_fcuserid"]); ?>
|
||||
</TD>
|
||||
<TD>
|
||||
<?php print_string("auth_fcuserid","auth") ?>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR valign="top" BGCOLOR="<?php echo $THEME->cellheading2 ?>">
|
||||
<TD ALIGN=RIGHT><P>auth_fcpasswd:</TD>
|
||||
<TD>
|
||||
<INPUT name=auth_fcpasswd TYPE=password SIZE=30 MAXLENGTH=12 VALUE="<?php echo $config->auth_fcpasswd?>">
|
||||
<?php if (isset($err["auth_fcpasswd"])) formerr($err["auth_fcpasswd"]); ?>
|
||||
</TD>
|
||||
<TD>
|
||||
<?php print_string("auth_fcpasswd","auth") ?>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR valign="top" BGCOLOR="<?php echo $THEME->cellheading2 ?>">
|
||||
<TD ALIGN=RIGHT><P>auth_fccreators:</TD>
|
||||
<TD>
|
||||
<INPUT name=auth_fccreators TYPE=text SIZE=30 VALUE="<?php echo $config->auth_fccreators?>">
|
||||
<?php if (isset($err["auth_fccreators"])) formerr($err["auth_fccreators"]); ?>
|
||||
</TD>
|
||||
<TD>
|
||||
<?php print_string("auth_fccreators","auth") ?>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
|
||||
<TR VALIGN=TOP>
|
||||
<TD ALIGN=RIGHT><P><?php print_string("instructions", "auth") ?>:</TD>
|
||||
<TD>
|
||||
<TEXTAREA NAME=auth_instructions COLS=30 ROWS=10 WRAP=virtual><?php p($config->auth_instructions) ?></TEXTAREA>
|
||||
</TD>
|
||||
<TD>
|
||||
<?php print_string("authinstructions","auth") ?>
|
||||
<?php helpbutton("text", get_string("helptext")) ?>
|
||||
</TD>
|
||||
</TR>
|
Loading…
Add table
Add a link
Reference in a new issue