Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
m4lab_tv1
customization simpleSAMLphp
Commits
11575299
Commit
11575299
authored
May 19, 2020
by
Wolfgang Knopki
Browse files
Update selectsource.tpl.php
parent
bc3b59ca
Changes
1
Show whitespace changes
Inline
Side-by-side
mymodule/templates/selectsource.tpl.php
View file @
11575299
...
...
@@ -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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment