Modification appel moncompte
This commit is contained in:
parent
8fc8228186
commit
1e3b24f7b9
@ -74,8 +74,6 @@ case 'recherche':
|
|||||||
require_once realpath(dirname(__FILE__)).'/pages/main.php';
|
require_once realpath(dirname(__FILE__)).'/pages/main.php';
|
||||||
break;
|
break;
|
||||||
case 'moncompte':
|
case 'moncompte':
|
||||||
|
|
||||||
|
|
||||||
if (isset($_REQUEST['frmOptions'])) {
|
if (isset($_REQUEST['frmOptions'])) {
|
||||||
$tabOptions = $_REQUEST['frmOptions'];
|
$tabOptions = $_REQUEST['frmOptions'];
|
||||||
}
|
}
|
||||||
@ -95,8 +93,8 @@ case 'moncompte':
|
|||||||
$_SESSION['tabInfo']['formatMail'] = $tabOptions['formatMail'];
|
$_SESSION['tabInfo']['formatMail'] = $tabOptions['formatMail'];
|
||||||
}
|
}
|
||||||
$title = 'Profil utilisateur';
|
$title = 'Profil utilisateur';
|
||||||
if ($_SESSION['tabInfo']['profil']=='Administrateur' &&
|
if ( ($_SESSION['tabInfo']['profil']=='Administrateur' ||
|
||||||
$_SESSION['tabInfo']['profil']=='SuperAdministrateur' &&
|
$_SESSION['tabInfo']['profil']=='SuperAdministrateur' ) &&
|
||||||
hasPerm('monprofil')) {
|
hasPerm('monprofil')) {
|
||||||
$page2 = 'moncompte.php';
|
$page2 = 'moncompte.php';
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user