Ajout de la page surveillance dans le menu (accessible uniquement à S&D)

This commit is contained in:
Michael RICOIS 2009-05-25 16:04:25 +00:00
parent 25de4d9e1a
commit fc0a639d88

View File

@ -234,6 +234,20 @@ if ($_SESSION['tabInfo']['login']=='mricois' ||
<? if ($_SESSION['tabInfo']['login']<>'testreunica' && $_SESSION['tabInfo']['login']<>'reunicacsf' && $_SESSION['tabInfo']['login']<>'reunicastats' ) { ?>
<a href="/?page=moncompte&idEntreprise=<?=$idEntreprise?>&siret=<?=$siret?>">Mes options</a>
<? }
if ($_SESSION['tabInfo']['login']=='mricois' ||
$_SESSION['tabInfo']['login']=='mheitz' ||
$_SESSION['tabInfo']['login']=='jmartory' ||
$_SESSION['tabInfo']['login']=='ylenaour' ||
$_SESSION['tabInfo']['login']=='fzicaro' ||
$_SESSION['tabInfo']['login']=='mcochet' ||
$_SESSION['tabInfo']['login']=='olecce'
){
?>
<a href="/?page=surveillance">Mes surveillances</a>
<?php
}
if ($_SESSION['tabInfo']['profil']=='Administrateur') {
if ($_SESSION['tabInfo']['login']<>'testreunica' && $_SESSION['tabInfo']['login']<>'reunicacsf' && $_SESSION['tabInfo']['login']<>'reunicastats' ) { ?>
<a href="/?page=administration&idEntreprise=<?=$idEntreprise?>&siret=<?=$siret?>">Administration</a>
@ -268,7 +282,7 @@ if ($page=='recherche'){
}
?>
<a href="/?<?=$printUrl;?>&sortie=prt" alt="Impression" target="_blank">
<a href="/?<?=$printUrl;?>&sortie=prt" title="Impression" target="_blank">
<img src="./img/exporticones/printer.png"" alt="Impression"/></a>&nbsp;
<?php
//Affichage des impressions seulement pour certaines pages
@ -278,10 +292,10 @@ if ($page=='identite' ||
$page=='evenements' ||
$page=='dirigeants'){
?>
<a href="./exportpdf.php?<?=$_SERVER['QUERY_STRING'];?>" target="_blank" alt="PDF"><img src="./img/exporticones/pdf.png" alt="PDF"></a>&nbsp;
<a href="./exportcsv.php?<?=$_SERVER['QUERY_STRING'];?>" target="_blank" alt="CSV"><img src="./img/exporticones/csv.png" alt="CSV"></a>&nbsp;
<a href="./exportxml.php?<?=$_SERVER['QUERY_STRING'];?>" target="_blank" alt="XML"><img src="./img/exporticones/xml.png" alt="XML"></a>&nbsp;
<center>
<a href="./exportpdf.php?<?=$_SERVER['QUERY_STRING'];?>" target="_blank" title="PDF"><img src="./img/exporticones/pdf.png" alt="PDF"></a>&nbsp;
<a href="./exportcsv.php?<?=$_SERVER['QUERY_STRING'];?>" target="_blank" title="CSV"><img src="./img/exporticones/csv.png" alt="CSV"></a>&nbsp;
<a href="./exportxml.php?<?=$_SERVER['QUERY_STRING'];?>" target="_blank" title="XML"><img src="./img/exporticones/xml.png" alt="XML"></a>&nbsp;
</center>
<?php
}
?>