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

3
<!-- Identity Provider Selection: Start -->
haemmer's avatar
haemmer committed
4 5
<h1><?php echo getLocalString('header'); ?></h1> 
<form id="IdPList" name="IdPList" method="post" onSubmit="return checkForm()" action="<?php echo $actionURL ?>">
haemmer's avatar
haemmer committed
6
	<div id="userInputArea">
haemmer's avatar
haemmer committed
7
		<p class="promptMessage"><?php echo $promptMessage ?></p>
haemmer's avatar
haemmer committed
8 9 10 11 12 13 14 15
		<div align="center">
			<select name="user_idp" id="userIdPSelection"> 
				<option value="-" <?php echo $defaultSelected ?>><?php echo getLocalString('select_idp') ?> ...</option>
			<?php printDropDownList($IDProviders, $selectedIDP) ?>
			</select>
			<input type="submit" name="Select" accesskey="s" value="<?php echo getLocalString('select_button') ?>"> 
		</div>
		<div align="left">
haemmer's avatar
haemmer committed
16
			<p class="selectOptions">
haemmer's avatar
haemmer committed
17 18 19 20 21 22 23 24 25 26
				<input type="checkbox" <?php echo $rememberSelectionChecked ?> name="session" id="rememberForSession" value="true">
				<label for="rememberForSession"><?php echo getLocalString('remember_selection') ?></label><br>
				<?php if ($showPermanentSetting) : ?>
				<!-- Value permanent must be a number which is equivalent to the days the cookie shall be valid -->
				<input type="checkbox" name="permanent" id="rememberPermanent" value="100">
				<label for="rememberPermanent" /><?php echo getLocalString('permanently_remember_selection') ?></label>
				<?php endif ?>
			</p>
		</div>
	</div>
haemmer's avatar
haemmer committed
27
</form>
28

haemmer's avatar
haemmer committed
29
<p><?php echo getLocalString('additional_info') ?></p>
30
<!-- Identity Provider Selection: End -->