diff options
author | Frédéric Guillot <fguillot@users.noreply.github.com> | 2014-04-20 19:24:40 -0400 |
---|---|---|
committer | Frédéric Guillot <fguillot@users.noreply.github.com> | 2014-04-20 19:24:40 -0400 |
commit | dea5f99363d4cf8e9ffff967c8cbdb38c8c50507 (patch) | |
tree | cadeb605c8c4f919dd3e1f8d43cfec6fe980ec6d /templates/config_index.php | |
parent | 1b05f20d58474f053ee8a09343389b34a7f39fb7 (diff) |
Add LDAP authentication
Diffstat (limited to 'templates/config_index.php')
-rw-r--r-- | templates/config_index.php | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/templates/config_index.php b/templates/config_index.php index 899a4b0c..6c610d2b 100644 --- a/templates/config_index.php +++ b/templates/config_index.php @@ -18,6 +18,22 @@ </div> </form> </section> + <?php endif ?> + + <div class="page-header"> + <h2><?= t('User settings') ?></h2> + </div> + <section class="settings"> + <ul> + <li> + <strong><?= t('My default project:') ?> </strong> + <?= (isset($user['default_project_id']) && isset($projects[$user['default_project_id']])) ? Helper\escape($projects[$user['default_project_id']]) : t('None') ?>, + <a href="?controller=user&action=edit&user_id=<?= $user['id'] ?>"><?= t('edit') ?></a> + </li> + </ul> + </section> + + <?php if ($user['is_admin']): ?> <div class="page-header"> <h2><?= t('More information') ?></h2> </div> @@ -54,19 +70,6 @@ </section> <?php endif ?> - <div class="page-header"> - <h2><?= t('User settings') ?></h2> - </div> - <section class="settings"> - <ul> - <li> - <strong><?= t('My default project:') ?> </strong> - <?= (isset($user['default_project_id']) && isset($projects[$user['default_project_id']])) ? Helper\escape($projects[$user['default_project_id']]) : t('None') ?>, - <a href="?controller=user&action=edit&user_id=<?= $user['id'] ?>"><?= t('edit') ?></a> - </li> - </ul> - </section> - <div class="page-header" id="last-logins"> <h2><?= t('Last logins') ?></h2> </div> |