Skip to content
Snippets Groups Projects
Commit 21acbc32 authored by Olav Morken's avatar Olav Morken
Browse files

Consent: autofocus on yes-button.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@709 44740490-163a-0410-bde0-09ae8108e29a
parent 92b0b48e
No related branches found
No related tags found
No related merge requests found
<?php
$this->data['autofocus'] = 'yesbutton';
$this->includeAtTemplateBase('includes/header.php');
$this->includeLanguageFile('consent.php');
......@@ -19,7 +20,7 @@
} ?>
<form style="display: inline" action="<?php echo htmlspecialchars($this->data['consenturl']); ?>">
<input type="submit" value="<?php echo htmlspecialchars($this->t('yes')) ?>" />
<input type="submit" id="yesbutton" value="<?php echo htmlspecialchars($this->t('yes')) ?>" />
<input type="hidden" name="consent" value="<?php echo htmlspecialchars($this->data['consent_cookie']); ?>" />
<input type="hidden" name="RequestID" value="<?php echo htmlspecialchars($this->data['requestid']); ?>" />
<?php if($this->data['usestorage']) { ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment