appel Profil()
This commit is contained in:
parent
df0e547968
commit
04dbe6067e
@ -1,19 +1,17 @@
|
|||||||
<?php
|
<?php
|
||||||
include_once('libhome.php');
|
|
||||||
include_once('winlog_admin_conf.php');
|
include_once('winlog_admin_conf.php');
|
||||||
include_once('client_http.php');
|
include_once('client_http.php');
|
||||||
|
include_once('session.php');
|
||||||
|
|
||||||
$username = phpCAS::getUser();
|
$username = Username();
|
||||||
$admin = false; // booleen : utilisateur administrateur ?
|
$profil = Profil($username);
|
||||||
if (in_array($username, $administrateurs)) {
|
FiltreProfil($profil);
|
||||||
$admin = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
Function bascule_salle($url) {
|
Function bascule_salle($url) {
|
||||||
GetURL($url);
|
GetURL($url);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($admin) {
|
if ($profil == 2) {
|
||||||
|
|
||||||
$action = $_GET["a"];
|
$action = $_GET["a"];
|
||||||
$salle = $_GET["s"];
|
$salle = $_GET["s"];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user