Modification du menu actuel et menu experimental
This commit is contained in:
parent
dd4f6a005b
commit
fd66d5fa40
@ -296,7 +296,7 @@ if ($page=='identite' || $page=='etablissements' || $page=='liens' || $page=='ev
|
||||
<a href="./exportcsv.php?<?=$_SERVER['QUERY_STRING'];?>" target="_blank" title="CSV"><img src="./img/exporticones/csv.png" alt="CSV"></a>
|
||||
<?php
|
||||
}
|
||||
if ($page=='identite' || $page=='etablissements' || $page=='liens' || $page=='evenements' || $page=='dirigeants'){
|
||||
if ($page=='identite' || $page=='etablissements' || $page=='liens' || $page=='evenements' || $page=='dirigeants' || $page=='annonces'){
|
||||
?>
|
||||
<a href="./exportxml.php?<?=$_SERVER['QUERY_STRING'];?>" target="_blank" title="XML"><img src="./img/exporticones/xml.png" alt="XML"></a>
|
||||
</center>
|
||||
|
@ -218,15 +218,18 @@ if ($page=='recherche'){
|
||||
<img src="./img/exporticones/printer.png"" alt="Impression"/></a>
|
||||
<?php
|
||||
//Affichage des impressions seulement pour certaines pages
|
||||
if ($page=='identite' ||
|
||||
$page=='etablissements' ||
|
||||
$page=='liens' ||
|
||||
$page=='evenements' ||
|
||||
$page=='dirigeants'||
|
||||
$page=='annonces'){
|
||||
if ($page=='identite' || $page=='etablissements' || $page=='liens' || $page=='evenements' || $page=='dirigeants' || $page=='synthese' || $page=='bilans' || $page=='ratios' || $page=='liasse' || $page=='bourse' || $page=='annonces'){
|
||||
?>
|
||||
<a href="./exportpdf.php?<?=$_SERVER['QUERY_STRING'];?>" target="_blank" title="PDF"><img src="./img/exporticones/pdf.png" alt="PDF"></a>
|
||||
<?php
|
||||
}
|
||||
if ($page=='identite' || $page=='etablissements' || $page=='liens' || $page=='evenements' || $page=='dirigeants'){
|
||||
?>
|
||||
<a href="./exportcsv.php?<?=$_SERVER['QUERY_STRING'];?>" target="_blank" title="CSV"><img src="./img/exporticones/csv.png" alt="CSV"></a>
|
||||
<?php
|
||||
}
|
||||
if ($page=='identite' || $page=='etablissements' || $page=='liens' || $page=='evenements' || $page=='dirigeants' || $page=='annonces'){
|
||||
?>
|
||||
<a href="./exportxml.php?<?=$_SERVER['QUERY_STRING'];?>" target="_blank" title="XML"><img src="./img/exporticones/xml.png" alt="XML"></a>
|
||||
<?php
|
||||
}
|
||||
@ -238,21 +241,21 @@ if ($page=='identite' ||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
<?php if($page=='recherche' || $page=='international_recherche'){?>
|
||||
$('#Menu').accordion('option', 'active', 0);
|
||||
$('#Menu').accordion('activate', 0)
|
||||
<?php }elseif($page=='identite' || $page=='etablisssements' || $page=='liens' || $page=='evenements'){ ?>
|
||||
$('#Menu').accordion('option', 'active', 1);
|
||||
$('#Menu').accordion('activate', 1)
|
||||
<?php }elseif($page=='dirigeants'){ ?>
|
||||
$('#Menu').accordion('option', 'active', 2);
|
||||
$('#Menu').accordion('activate', 2)
|
||||
<?php }elseif($page=='synthese' || $page=='bilans' || $page=='ratios' || $page=='liasse' || $page=='bourse'){ ?>
|
||||
$('#Menu').accordion('option', 'active', 3);
|
||||
$('#Menu').accordion('activate', 3)
|
||||
<?php }elseif($page=='annonces' || $page=='infosreg' || $page=='competences' || $page=='conventions' || $page=='marques'){ ?>
|
||||
$('#Menu').accordion('option', 'active', 4);
|
||||
$('#Menu').accordion('activate', 4)
|
||||
<?php }elseif($page=='indiscore' || $page=='scorecsf' || $page=='enquetec'){ ?>
|
||||
$('#Menu').accordion('option', 'active', 5);
|
||||
$('#Menu').accordion('activate', 5)
|
||||
<?php }elseif($page=='kbis' || $page=='greffes'){ ?>
|
||||
$('#Menu').accordion('option', 'active', 6);
|
||||
$('#Menu').accordion('activate', 6)
|
||||
<?php }elseif($page=='moncompte' || $page=='surveillance' || $page=='administration' || $page=='stats' || $page=='survliste'){ ?>
|
||||
$('#Menu').accordion('option', 'active', 7);
|
||||
$('#Menu').accordion('activate', 7)
|
||||
<?php }?>
|
||||
});
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user