ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
login-ldapmulti.php
Go to the documentation of this file.
1 <?php
2  $this->includeAtTemplateBase('includes/header.php');
3 ?>
4 
5 
6  <?php if (isset($this->data['error'])) { ?>
7  <div style="border-left: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; background: #f5f5f5">
8  <img src="/<?php echo $this->data['baseurlpath']; ?>resources/icons/experience/gtk-dialog-error.48x48.png" class="float-l erroricon" style="margin: 15px" alt="" />
9  <h2><?php echo $this->t('error_header'); ?></h2>
10 
11  <p class="logintext"><?php echo htmlspecialchars($this->data['error']); ?> </p>
12  </div>
13  <?php } ?>
14 
15  <h2 style="break: both"><?php echo $this->t('user_pass_header'); ?></h2>
16 
17  <p>
18  <?php echo $this->t('user_pass_text'); ?>
19  </p>
20 
21  <form action="?" method="post" name="f">
22 
23  <table>
24  <tr>
25  <td rowspan="3"><img src="/<?php echo $this->data['baseurlpath']; ?>resources/icons/experience/gtk-dialog-authentication.48x48.png" id="loginicon" alt="" /></td>
26  <td style="padding: .3em;"><?php echo $this->t('username'); ?></td>
27  <td><input type="text" tabindex="1" name="username"
28  <?php if (isset($this->data['username'])) {
29  echo 'value="' . htmlspecialchars($this->data['username']) . '"';
30  } ?> /></td>
31 
32 
33  <td style="padding: .4em;" rowspan="3">
34  <button type="submit" tabindex="3" id="regularsubmit" class="btn"><?php echo $this->t('login_button'); ?></button>
35  <input type="hidden" name="RelayState" value="<?php echo htmlspecialchars($this->data['relaystate']); ?>" />
36  </td>
37  </tr>
38 
39  <tr>
40  <td style="padding: .3em;"><?php echo $this->t('organization'); ?></td>
41  <td><select name="org" tabindex="2">
42  <?php
43 
44  foreach ($this->data['ldapconfig'] AS $key => $entry) {
45  echo '<option ' .
46  ($key == $this->data['org'] ? 'selected="selected" ' : '')
47  . 'value="' . htmlspecialchars($key) . '">' . htmlspecialchars($entry['description']) . '</option>';
48  }
49 
50  ?>
51  </select></td>
52  </tr>
53 
54  <tr>
55  <td style="padding: .3em;"><?php echo $this->t('password'); ?></td>
56  <td><input type="password" tabindex="2" name="password" /></td>
57  </tr>
58  <tr><td></td><td>
59  <button type="submit" tabindex="5" id="mobilesubmit" class="btn"><?php echo $this->t('login_button'); ?></button>
60  </td></tr>
61  </table>
62 
63 
64  </form>
65 
66 
67  <h2 class="logintext"><?php echo $this->t('help_header'); ?>.</h2>
68 
69 
70  <p class="logintext"><?php echo $this->t('help_text'); ?>!</p>
71 
72 
73 
74 <?php $this->includeAtTemplateBase('includes/footer.php'); ?>
"color:#CC0000 style
Definition: example_001.php:92
input
Definition: langcheck.php:166
select
Definition: langcheck.php:166
$this data['403_header']
$key
Definition: croninfo.php:18