default-body.php 1.58 KB
Newer Older
haemmer's avatar
haemmer committed
1
<?php // Copyright (c) 2011, 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
	<table class="userInputArea" width="500">
7 8 9 10
		<tr>
			<td>
				<p><?php echo $promptMessage ?></p>
				<div align="center">
haemmer's avatar
haemmer committed
11
					<select name="user_idp"> 
12 13 14
						<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') ?>"> 
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
				</div>
				<div align="left">
					<p>
						<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>
			</td>
		</tr>
	</table>
haemmer's avatar
haemmer committed
31
</form>
32 33


haemmer's avatar
haemmer committed
34 35
<table border="0" cellpadding="1" cellspacing="0">
	<tr>
36
		<td valign="top">
37
			<p><?php echo getLocalString('additional_info') ?></p>
38
		</td>
haemmer's avatar
haemmer committed
39 40
	</tr>
</table>
41
<!-- Identity Provider Selection: End -->