mirror of
https://github.com/moodle/moodle.git
synced 2025-02-08 17:11:49 +01:00
148 lines
4.4 KiB
HTML
Executable File
148 lines
4.4 KiB
HTML
Executable File
<?php
|
|
if (!isset($config->shib_wayf_url)) {
|
|
$config->shib_wayf_url = '';
|
|
}
|
|
if (!isset($config->shib_logout_url)) {
|
|
$config->shib_logout_url = '';
|
|
}
|
|
if (!isset($config->shib_user_attribute)) {
|
|
$config->shib_user_attribute = '';
|
|
}
|
|
if (!isset($config->auth_user_guid)) {
|
|
$config->auth_user_guid = '';
|
|
}
|
|
|
|
?>
|
|
<tr valign="top" class="required">
|
|
<td align="right">Shibboleth WAYF URL:</td>
|
|
<td>
|
|
<input name=shib_wayf_url type=text size=30 value="<?php echo $config->shib_wayf_url?>">
|
|
<?php if (isset($err["shib_wayf_url"])) formerr($err["shib_wayf_url"]); ?>
|
|
</td>
|
|
<td>
|
|
</td>
|
|
</tr>
|
|
<tr class="required">
|
|
<td align="right">Shibboleth logout URL:</td>
|
|
<td>
|
|
<input name="shib_logout_url" type="text" size="30" value="<?php echo $config->shib_logout_url?>">
|
|
</td>
|
|
<td rowspan=12 valign=center> </td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right"><?php print_string("username") ?>:</td>
|
|
<td>
|
|
<input name="shib_user_attribute" type="text" size="30" value="<?php echo $config->shib_user_attribute?>">
|
|
</td>
|
|
<td rowspan=12 valign=center>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="right"><?php print_string("firstname") ?>:</td>
|
|
<td>
|
|
<input name="auth_user_firstname" type="text" size="30" value="<?php echo $config->auth_user_firstname?>">
|
|
</td>
|
|
<td rowspan=12 valign=center>
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td align="right"><?php print_string("lastname") ?>:</td>
|
|
<td>
|
|
<input name="auth_user_lastname" type="text" size="30" value="<?php echo $config->auth_user_lastname?>">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
<td align="right"><?php print_string("email") ?>:</td>
|
|
<td>
|
|
<input name="auth_user_email" type="text" size="30" value="<?php echo $config->auth_user_email?>">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
<td align="right"><?php print_string("phone") ?> 1:</td>
|
|
<td>
|
|
<input name="auth_user_phone1" type="text" size="30" value="<?php echo $config->auth_user_phone1?>">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
<td align="right"><?php print_string("phone") ?> 2:</td>
|
|
<td>
|
|
<input name="auth_user_phone2" type="text" size="30" value="<?php echo $config->auth_user_phone2?>">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
<td align="right"><?php print_string("department") ?>:</td>
|
|
<td>
|
|
<input name="auth_user_department" type="text" size="30" value="<?php echo $config->auth_user_department?>">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
<td align="right"><?php print_string("address") ?>:</td>
|
|
<td>
|
|
<input name="auth_user_address" type="text" size="30" value="<?php echo $config->auth_user_address?>">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
<td align="right"><?php print_string("city") ?>:</td>
|
|
<td>
|
|
<input name="auth_user_city" type="text" size="30" value="<?php echo $config->auth_user_city?>">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
<td align="right"><?php print_string("country") ?>:</td>
|
|
<td>
|
|
<input name="auth_user_country" type="text" size="30" value="<?php echo $config->auth_user_country?>">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
<td align="right"><?php print_string("description") ?>:</td>
|
|
<td>
|
|
<input name="auth_user_description" type="text" size="30" value="<?php echo $config->auth_user_description?>">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
<td align="right"><?php print_string("idnumber") ?>:</td>
|
|
<td>
|
|
<input name="auth_user_idnumber" type="text" size="30" value="<?php echo $config->auth_user_idnumber?>">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
<td align="right"><?php print_string("language") ?>:</td>
|
|
<td>
|
|
<input name="auth_user_lang" type="text" size="30" value="<?php echo $config->auth_user_lang?>">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
<td align="right"><?php print_string("guid") ?>:</td>
|
|
<td>
|
|
<input name="auth_user_guid" type="text" size="30" value="<?php echo $config->auth_user_guid?>">
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr valign="top">
|
|
<td align="right"><?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>
|
|
|
|
|
|
|
|
|