Commit e681b4de authored by haemmer's avatar haemmer

Changes for #2935

parent d8c58888
......@@ -5,7 +5,7 @@
<form id="IdPList" name="IdPList" method="post" onSubmit="return checkForm()" action="<?php echo $actionURL ?>">
<div id="userInputArea">
<p class="promptMessage"><?php echo getLocalString('confirm_permanent_selection'); ?></p>
<p class="promptMessage"><?php echo getLocalString('permanent_cookie_notice'); ?></p>
<p><?php echo getLocalString('permanent_cookie_notice'); ?></p>
<div style="text-align: center">
<select name="permanent_user_idp" id="userIdPSelection">
<option value="<?php echo $permanentUserIdP ?>" logo="<?php echo $permanentUserIdPLogo ?>"><?php echo $permanentUserIdPName ?></option>
......@@ -13,8 +13,13 @@
<input type="submit" accesskey="c" name="clear_user_idp" value="<?php echo getLocalString('delete_permanent_cookie_button') ?>">
<?php if (isValidShibRequest()) : ?>
<br /><br />
<input type="submit" accesskey="s" name="Select" name="permanent" value="<?php echo getLocalString('goto_sp') ?>" onClick="showPermanentConfirmation()">
<input type="submit" accesskey="s" name="Select" name="permanent" value="<?php echo getLocalString('goto_sp') ?>">
<?php endif ?>
<p>
<?php $scriptURL = "https://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'] ?>
<?php $fullURL = "<br /><a href=".$scriptURL.">".$scriptURL."</a>" ?>
<?php echo sprintf(getLocalString('permanent_cookie_note'), $fullURL) ?>
</p>
</div>
</div>
</form>
......
......@@ -4,7 +4,8 @@
<h1><?php echo getLocalString('permanent_select_header'); ?></h1>
<form id="IdPList" name="IdPList" method="post" onSubmit="return checkForm()" action="<?php echo $actionURL ?>">
<div id="userInputArea">
<p class="promptMessage"><?php echo getLocalString('permanently_remember_selection') ?></p>
<p class="promptMessage"><?php echo getLocalString('permanent_cookie'); ?></p>
<p><?php echo getLocalString('select_idp'); ?></p>
<div style="text-align: center">
<select name="user_idp" id="userIdPSelection">
<option value="-" <?php echo $defaultSelected ?>><?php echo getLocalString('select_idp') ?> ...</option>
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment