Last change
on this file since 27100 was
27036,
checked in by 22decembre, 11 years ago
|
version 1.0.1
add main function : ability to add new piwigo users when ldap is successful.
add danish language, must be reviewed
this version is not yet considered stable, as needed to be reviewed and commented by beta-testers
|
File size:
774 bytes
|
Rev | Line | |
---|
[27036] | 1 | <?php |
---|
| 2 | defined('LDAP_LOGIN_PATH') or die('Hacking attempt!'); |
---|
| 3 | |
---|
| 4 | global $template, $page, $conf; |
---|
| 5 | |
---|
| 6 | // get current tab |
---|
| 7 | $page['tab'] = (isset($_GET['tab'])) ? $_GET['tab'] : $page['tab'] = 'configuration'; |
---|
| 8 | |
---|
| 9 | // tabsheet |
---|
| 10 | include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php'); |
---|
| 11 | $tabsheet = new tabsheet(); |
---|
| 12 | $tabsheet->set_id('ldap_login'); |
---|
| 13 | |
---|
| 14 | $tabsheet->add('configuration', l10n('Configuration'), LDAP_LOGIN_ADMIN . '-configuration'); |
---|
| 15 | $tabsheet->add('newusers', l10n('New users when ldap auth is successfull'), LDAP_LOGIN_ADMIN . '-newusers'); |
---|
| 16 | $tabsheet->select($page['tab']); |
---|
| 17 | $tabsheet->assign(); |
---|
| 18 | |
---|
| 19 | // include page |
---|
| 20 | include(LDAP_LOGIN_PATH . 'admin/' . $page['tab'] . '.php'); |
---|
| 21 | |
---|
| 22 | // template vars |
---|
| 23 | $template->assign('LDAP_LOGIN_PATH', get_root_url() . LDAP_LOGIN_PATH ); |
---|
| 24 | |
---|
| 25 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.