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/Attic/examples/sample-idp/create_metadata.php | |
| parent | db8d9f930f9acb2d0f8e9e344bc6fa01d8f4ce8d (diff) | |
Improve setup system : edit metadata and allow the administrator to select
the authentification methode (HTTP Basic or HTML Form).
Diffstat (limited to 'php/Attic/examples/sample-idp/create_metadata.php')
| -rw-r--r-- | php/Attic/examples/sample-idp/create_metadata.php | 12 |
1 files changed, 11 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 |
