default-settings.php 1.05 KB
Newer Older
Lukas Haemmerle's avatar
Lukas Haemmerle committed
1
<?php // Copyright (c) 2018, SWITCH ?>
2

3 4
<!-- Identity Provider Selection: Start -->
<h1><?php echo getLocalString('permanent_select_header'); ?></h1> 
haemmer's avatar
haemmer committed
5
<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 8
		<p class="promptMessage"><?php echo getLocalString('permanent_cookie'); ?></p>
		<p><?php echo getLocalString('select_idp'); ?></p>
haemmer's avatar
haemmer committed
9
		<div style="text-align: center">
haemmer's avatar
haemmer committed
10
			<select name="user_idp" id="userIdPSelection">
haemmer's avatar
haemmer committed
11 12 13 14 15
				<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('save_button') ?>" >
		</div>
haemmer's avatar
haemmer committed
16
		<!-- Value permanent must be a number which is equivalent to the days the cookie should be valid -->
haemmer's avatar
haemmer committed
17 18
		<input name="permanent" type="hidden" value="100">
	</div>
haemmer's avatar
haemmer committed
19
</form>
20

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