X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fauth.php;h=1459721d3dfb78892313784008cc7562d507e7a5;hb=29459c499c3c88fb9cdd34413dcbd5370d3573d3;hp=d6521e12b8917ab56180d2fa721956d1eb964400;hpb=de08a5eb35a0daa5ea1817532f02367e0f0edbec;p=platal.git diff --git a/modules/auth.php b/modules/auth.php index d6521e1..1459721 100644 --- a/modules/auth.php +++ b/modules/auth.php @@ -132,7 +132,7 @@ class AuthModule extends PLModule function handler_groupex(&$page, $charset = 'utf8') { - require_once dirname(__FILE__).'/auth/auth.inc.php'; + $this->load('auth.inc.php'); $page->assign('referer', true); $gpex_pass = $_GET["pass"]; @@ -174,7 +174,7 @@ class AuthModule extends PLModule function handler_admin_authgroupesx(&$page, $action = 'list', $id = null) { - $page->assign('pl_title','Polytechnique.org - Administration - Auth groupes X'); + $page->setTitle('Administration - Auth groupes X'); $page->assign('title', 'Gestion de l\'authentification centralisée'); $table_editor = new PLTableEditor('admin/auth-groupes-x','groupesx_auth','id'); $table_editor->describe('name','nom',true);