Commit 11575299 authored by Wolfgang Knopki's avatar Wolfgang Knopki
Browse files

Update selectsource.tpl.php

parent bc3b59ca
This commit is part of merge request !20. Comments created here will be created in the context of that merge request.
Showing with 2 additions and 2 deletions
+2 -2
...@@ -11,8 +11,8 @@ $this->includeAtTemplateBase('includes/header.php'); ...@@ -11,8 +11,8 @@ $this->includeAtTemplateBase('includes/header.php');
<input type="hidden" name="AuthState" value="<?php echo htmlspecialchars($this->data['authstate']); ?>" /> <input type="hidden" name="AuthState" value="<?php echo htmlspecialchars($this->data['authstate']); ?>" />
<ul> <ul>
<?php <?php
echo '<div>';
foreach ($this->data['sources'] as $source) { foreach ($this->data['sources'] as $source) {
echo '<li class="'.htmlspecialchars($source['css_class']).' authsource">';
if ($source['source'] === $this->data['preferred']) { if ($source['source'] === $this->data['preferred']) {
$autofocus = ' autofocus="autofocus"'; $autofocus = ' autofocus="autofocus"';
} else { } else {
...@@ -22,8 +22,8 @@ foreach ($this->data['sources'] as $source) { ...@@ -22,8 +22,8 @@ foreach ($this->data['sources'] as $source) {
echo '<input type="submit" class="'.htmlspecialchars($source['css_class']).'" name="'.htmlspecialchars($name).'"'.$autofocus.' '. echo '<input type="submit" class="'.htmlspecialchars($source['css_class']).'" name="'.htmlspecialchars($name).'"'.$autofocus.' '.
'id="button-'.htmlspecialchars($source['source']).'" '. 'id="button-'.htmlspecialchars($source['source']).'" '.
'value="'.htmlspecialchars($source['text']).'" />'; 'value="'.htmlspecialchars($source['text']).'" />';
echo '</li>';
} }
echo '</div>';
?> ?>
</ul> </ul>
</form> </form>
......
Supports Markdown
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