default-notice.php 1.08 KB
Newer Older
haemmer's avatar
haemmer committed
1
<?php // Copyright (c) 2011, SWITCH - Serving Swiss Universities ?>
haemmer's avatar
haemmer committed
2

haemmer's avatar
haemmer committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!-- Identity Provider Permanent Note: Start-->
<h1><?php echo getLocalString('settings'); ?></h1> 
<script language="JavaScript" type="text/javascript">
<!--
function showConfirmation(){
	
	return alert(unescape('<?php echo getLocalString('permanent_cookie_note', 'js') ?>'));
}
-->
</script>
<div class="inner-box">
<p>
	<?php echo getLocalString('permanent_cookie_notice'); ?>
</p>

<form id="IdPList" name="IdPList" method="post" action="<?php echo $actionURL ?>">
		<?php echo $hiddenUserIdPInput ?>
		<div align="center">
			<div class="selectedIdP">
			<?php echo $permanentUserIdPName ?>
			</div>
			<p>
haemmer's avatar
haemmer committed
25
				<input type="submit" accesskey="c" name="clear_user_idp" value="<?php echo getLocalString('delete_permanent_cookie_button') ?>">
haemmer's avatar
haemmer committed
26
27
28
29
30
31
32
33
				<?php if (isValidShibRequest()) : ?>
				<input type="submit" accesskey="s" name="Select" name="permanent" value="<?php echo getLocalString('goto_sp') ?>" onClick="showConfirmation()">
				<?php endif ?>
			</p>
		</div>
</form>
</div>
<!-- Identity Provider Permanent Note: End-->