source: extensions/Ldap_Login/admin/ldap_login_plugin_admin.php @ 31085

Last change on this file since 31085 was 19261, checked in by 22decembre, 12 years ago

premier envoi des fichiers

File size: 644 bytes
Line 
1<?php
2if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
3 
4$me = get_plugin_data($plugin_id);
5 
6if (isset($_POST['submit']))
7{
8  $me->config['host'] = $_POST['HOST'];
9  $me->config['basedn'] = $_POST['BASEDN'];
10  $me->config['pref'] = $_POST['PREF'];
11  $me->save_config();
12}
13 
14global $template;
15$template->set_filenames( array('plugin_admin_content' => dirname(__FILE__).'/ldap_login_plugin_admin.tpl') );
16 
17$template->assign('HOST', $me->config['host']);
18$template->assign('BASEDN', $me->config['basedn']);
19$template->assign('PREF', $me->config['pref']);
20 
21$template->assign_var_from_handle( 'ADMIN_CONTENT', 'plugin_admin_content');
22?>
Note: See TracBrowser for help on using the repository browser.