default-body.php 1.57 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
<!-- Identity Provider Selection: Start-->
<h1><?php echo getLocalString('header'); ?></h1> 
<p class="switchaai">
	<?php echo $promptMessage ?>
</p>

<form id="IdPList" name="IdPList" method="post" onSubmit="return checkForm()" action="<?php echo $actionURL ?>">
	<p>
		<select name="user_idp"> 
			<option value="-" <?php echo $defaultSelected ?>><?php echo getLocalString('select_idp') ?> ...</option>
		<?php printDropDownList($IDProviders, $selectedIDP) ?>
		</select>
haemmer's avatar
haemmer committed
15
		<input type="submit" name="Select" accesskey="s" value="<?php echo getLocalString('select_button') ?>" > 
haemmer's avatar
haemmer committed
16 17
	</p>
	<p>
haemmer's avatar
haemmer committed
18
		<input type="checkbox" <?php echo $rememberSelectionChecked ?> name="session" id="rememberForSession" value="true">
19
		<span class="warning"><label for="rememberForSession"><?php echo getLocalString('remember_selection') ?></label></span><br>
20
		<?php if ($showPermanentSetting) : ?>
haemmer's avatar
haemmer committed
21
		<!-- Value permanent must be a number which is equivalent to the days the cookie shall be valid -->
haemmer's avatar
haemmer committed
22
		<input type="checkbox" name="permanent" id="rememberPermanent" value="100">
23
		<span class="warning"><label for="rememberPermanent" /><?php echo getLocalString('permanently_remember_selection') ?></label></span>
haemmer's avatar
haemmer committed
24 25 26 27 28 29 30 31 32 33
		<?php endif ?>
	</p>
</form>
<table border="0" cellpadding="1" cellspacing="0">
	<tr>
		<td valign="top" width="14"><img src="<?php echo $imageURL; ?>/arrow-12.gif" alt="arrow"></td>
		<td valign="top"><p class="switchaai"><?php echo getLocalString('switch_description') ?></p></td>
	</tr>
</table>
<!-- Identity Provider Selection: End-->