diff options
| author | Christophe Nowicki <cnowicki@easter-eggs.com> | 2004-09-08 16:21:34 +0000 |
|---|---|---|
| committer | Christophe Nowicki <cnowicki@easter-eggs.com> | 2004-09-08 16:21:34 +0000 |
| commit | 3a959f3925fd8edd09a6744fb66822028a811e37 (patch) | |
| tree | 8e4752bad9630f07661ed81a32307656b0574179 /php | |
| parent | db8d9f930f9acb2d0f8e9e344bc6fa01d8f4ce8d (diff) | |
| download | lasso-3a959f3925fd8edd09a6744fb66822028a811e37.tar.gz lasso-3a959f3925fd8edd09a6744fb66822028a811e37.tar.xz lasso-3a959f3925fd8edd09a6744fb66822028a811e37.zip | |
Improve setup system : edit metadata and allow the administrator to select
the authentification methode (HTTP Basic or HTML Form).
Diffstat (limited to 'php')
| -rw-r--r-- | php/Attic/examples/sample-idp/create_metadata.php | 12 | ||||
| -rw-r--r-- | php/Attic/examples/sample-idp/edit_metadata.php | 2 | ||||
| -rw-r--r-- | php/Attic/examples/sample-idp/setup.php | 17 |
3 files changed, 30 insertions, 1 deletions
diff --git a/php/Attic/examples/sample-idp/create_metadata.php b/php/Attic/examples/sample-idp/create_metadata.php index cef56991..8bd9c41d 100644 --- a/php/Attic/examples/sample-idp/create_metadata.php +++ b/php/Attic/examples/sample-idp/create_metadata.php @@ -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 diff --git a/php/Attic/examples/sample-idp/edit_metadata.php b/php/Attic/examples/sample-idp/edit_metadata.php index 8d8927e7..0bc31a06 100644 --- a/php/Attic/examples/sample-idp/edit_metadata.php +++ b/php/Attic/examples/sample-idp/edit_metadata.php @@ -52,6 +52,8 @@ <?php $form->display(); ?> +<br> +<p>Copyright © 2004 Entr'ouvert</p> </body> </html> <?php diff --git a/php/Attic/examples/sample-idp/setup.php b/php/Attic/examples/sample-idp/setup.php index 5acdde45..631b753c 100644 --- a/php/Attic/examples/sample-idp/setup.php +++ b/php/Attic/examples/sample-idp/setup.php @@ -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> </td> +</tr> +</table> +</p> +<hr> +<p> +<table> <caption>Identity Provider</caption> <tr> |
