ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
selectsource.php
Go to the documentation of this file.
1<?php
2$this->data['header'] = $this->t('{multiauth:multiauth:select_source_header}');
3
4$this->includeAtTemplateBase('includes/header.php');
5?>
6
7<h2><?php echo $this->t('{multiauth:multiauth:select_source_header}'); ?></h2>
8
9<p><?php echo $this->t('{multiauth:multiauth:select_source_text}'); ?></p>
10
11<form action="<?php echo htmlentities($_SERVER['PHP_SELF']); ?>" method="get">
12<input type="hidden" name="AuthState" value="<?php echo htmlspecialchars($this->data['authstate']); ?>" />
13<ul>
14<?php
15foreach($this->data['sources'] as $source) {
16 echo '<li class="' . htmlspecialchars($source['css_class']) . ' authsource">';
17 if ($source['source'] === $this->data['preferred']) {
18 $autofocus = ' autofocus="autofocus"';
19 } else {
20 $autofocus = '';
21 }
22 $name = 'src-' . base64_encode($source['source']);
23 echo '<input type="submit" name="' . htmlspecialchars($name) . '"' . $autofocus . ' ' .
24 'id="button-' . htmlspecialchars($source['source']) . '" ' .
25 'value="' . htmlspecialchars($this->t($source['text'])) . '" />';
26 echo '</li>';
27}
28?>
29</ul>
30</form>
31<?php $this->includeAtTemplateBase('includes/footer.php');
An exception for terminatinating execution or to throw for unit testing.
if($format !==null) $name
Definition: metadata.php:146
$this data['header']
Definition: selectsource.php:2
$source