From: Pascal Corpet Date: Fri, 28 Jan 2005 10:15:44 +0000 (+0000) Subject: add a link to synchro_ax for admins X-Git-Tag: xorg/old~355 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=b5038da36a526a642104c9b38ff612d4bd2ba96b;p=platal.git add a link to synchro_ax for admins git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-403 --- diff --git a/htdocs/admin/utilisateurs.php b/htdocs/admin/utilisateurs.php index de7e004..8684076 100644 --- a/htdocs/admin/utilisateurs.php +++ b/htdocs/admin/utilisateurs.php @@ -40,6 +40,10 @@ if(Env::has('logs_button') && $login) { header("Location: logger.php?loguser=$login&year=".date('Y')."&month=".date('m')); } +if (Env::has('ax_button') && $login) { + header("Location: synchro_ax.php?user=$login"); +} + if(Env::has('suid_button') && $login) { $_SESSION['log']->log("suid_start", "login by ".Session::get('forlife')); $_SESSION['suid'] = $_SESSION; @@ -178,4 +182,6 @@ if ($login) { } $page->run(); + +// vim:set et sws=4 sts=4 sw=4: ?> diff --git a/templates/admin/utilisateurs.tpl b/templates/admin/utilisateurs.tpl index b48e855..07f3378 100644 --- a/templates/admin/utilisateurs.tpl +++ b/templates/admin/utilisateurs.tpl @@ -64,6 +64,7 @@ Attention, d       +