Commit 49632fff authored by Wolfgang Knopki's avatar Wolfgang Knopki
Browse files

Merge branch 'patch-1' into 'master'

Update selectsource.tpl.php

See merge request !20
parents bc3b59ca 11575299
Pipeline #712 passed with stage
in 1 second
......@@ -11,8 +11,8 @@ $this->includeAtTemplateBase('includes/header.php');
<input type="hidden" name="AuthState" value="<?php echo htmlspecialchars($this->data['authstate']); ?>" />
<ul>
<?php
echo '<div>';
foreach ($this->data['sources'] as $source) {
echo '<li class="'.htmlspecialchars($source['css_class']).' authsource">';
if ($source['source'] === $this->data['preferred']) {
$autofocus = ' autofocus="autofocus"';
} else {
......@@ -22,8 +22,8 @@ foreach ($this->data['sources'] as $source) {
echo '<input type="submit" class="'.htmlspecialchars($source['css_class']).'" name="'.htmlspecialchars($name).'"'.$autofocus.' '.
'id="button-'.htmlspecialchars($source['source']).'" '.
'value="'.htmlspecialchars($source['text']).'" />';
echo '</li>';
}
echo '</div>';
?>
</ul>
</form>
......
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