Improve setup system : edit metadata and allow the administrator to select

the authentification methode (HTTP Basic or HTML Form).
This commit is contained in:
Christophe Nowicki 2004-09-08 16:21:34 +00:00
parent db8d9f930f
commit 3a959f3925
3 changed files with 30 additions and 1 deletions

View File

@ -86,7 +86,17 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<body onLoad="window.close()">
<script type="text/javascript">
<!--
function set_and_close()
{
opener.document.frm.metadata.value = '<?php echo $form->exportValue('filename'); ?>';
window.close();
}
// -->
</script>
</head>
<body onLoad="set_and_close()">
</body>
</html>
<?php

View File

@ -52,6 +52,8 @@
<?php
$form->display();
?>
<br>
<p>Copyright &copy; 2004 Entr'ouvert</p>
</body>
</html>
<?php

View File

@ -377,6 +377,8 @@
<form name='frm' action='<?php echo $PHP_SELF ?>' method='POST'>
<p align='center'>Lasso Identity Provider Setup</p>
<br>
<hr>
<p>
<table>
<caption>Database Configuration</caption>
@ -391,6 +393,21 @@
<hr>
<p>
<table>
<caption>Authentification Configuration</caption>
<tr>
<td>Authentification type :</td>
<td>
<select name='auth_type'>
<option value="auth_form">HTML Login/Password Form</option>
<option value="auth_basic">HTTP Auth Basic</option>
</select>
</td><td>&nbsp;</td>
</tr>
</table>
</p>
<hr>
<p>
<table>
<caption>Identity Provider</caption>
<tr>