2007-01-04 03:26:04 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
// set to defaults if undefined
|
|
|
|
if (!isset($config->rpc_negotiation_timeout)) {
|
|
|
|
$config->host = '30';
|
|
|
|
}
|
|
|
|
if (!isset ($config->auto_add_remote_users)) {
|
|
|
|
$config->auto_add_remote_users = '0';
|
|
|
|
}
|
|
|
|
|
|
|
|
$yesno = array(get_string('no'), get_string('yes'));
|
|
|
|
|
|
|
|
?>
|
|
|
|
<table cellspacing="0" cellpadding="5" border="0" align="center">
|
|
|
|
|
|
|
|
<tr valign="top" class="required">
|
2007-01-10 21:43:04 +00:00
|
|
|
<td align="right"><?php print_string('rpc_negotiation_timeout', 'auth'); ?>: </td>
|
2007-01-04 03:26:04 +00:00
|
|
|
<td>
|
|
|
|
<input name="rpc_negotiation_timeout" type="text" size="5" value="<?php echo $config->rpc_negotiation_timeout ?>" />
|
|
|
|
<?php
|
|
|
|
|
|
|
|
if (isset($err['rpc_negotiation_timeout'])) {
|
|
|
|
formerr($err['rpc_negotiation_timeout']);
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<?php
|
|
|
|
|
|
|
|
print_string('auth_mnet_rpc_negotiation_timeout', 'auth');
|
|
|
|
|
|
|
|
?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr valign="top" class="required">
|
2007-01-10 21:43:04 +00:00
|
|
|
<td align="right"><?php print_string('auto_add_remote_users', 'auth'); ?>: </td>
|
2007-01-04 03:26:04 +00:00
|
|
|
<td>
|
|
|
|
<?php
|
|
|
|
|
|
|
|
choose_from_menu($yesno, 'auto_add_remote_users', $config->auto_add_remote_users, '');
|
|
|
|
|
|
|
|
?>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<?php
|
|
|
|
|
|
|
|
print_string('auth_mnet_auto_add_remote_users', 'auth');
|
|
|
|
|
|
|
|
?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2007-01-17 14:13:19 +00:00
|
|
|
<tr valign="top" class="required">
|
|
|
|
<td colspan="3"><?php print_string('auth_mnet_roamin', 'auth'); ?>: </td>
|
|
|
|
</tr>
|
|
|
|
<?php
|
|
|
|
foreach($id_providers as $host):
|
|
|
|
?>
|
|
|
|
<tr valign="top" class="required">
|
|
|
|
<td align="right"><?php echo $host['name']; ?>: </td>
|
|
|
|
<td colspan="2"><?php echo $host['wwwroot']; ?> </td>
|
|
|
|
</tr>
|
|
|
|
<?php
|
|
|
|
endforeach;
|
|
|
|
?>
|
|
|
|
<tr valign="top" class="required">
|
|
|
|
<td colspan="3"><?php print_string('auth_mnet_roamout', 'auth'); ?>: </td>
|
|
|
|
</tr>
|
|
|
|
<?php
|
|
|
|
foreach($service_providers as $host):
|
|
|
|
?>
|
|
|
|
<tr valign="top" class="required">
|
|
|
|
<td align="right"><?php echo $host['name']; ?>: </td>
|
|
|
|
<td colspan="2"><?php echo $host['wwwroot']; ?> </td>
|
|
|
|
</tr>
|
2007-01-04 03:26:04 +00:00
|
|
|
<?php
|
2007-01-17 14:13:19 +00:00
|
|
|
endforeach;
|
2007-01-04 03:26:04 +00:00
|
|
|
|
|
|
|
// global $user_fields;
|
|
|
|
// print_auth_lock_options('mnet', $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
|
|
|
|
|
|
|
|
?>
|
|
|
|
</table>
|