Merge depuis la branche 1.2
This commit is contained in:
parent
98707cd069
commit
3386d4c56c
@ -28,13 +28,14 @@ cache_filename($fileName);
|
||||
|
||||
if( cache_exist() && !( preg_match('/saisie/i', $_SESSION['tabInfo']['droits']) || $_SESSION['tabInfo']['mode_edition']==1 ) ){
|
||||
$marques = cache_get('marques');
|
||||
$firephp->log($marques,'marques');
|
||||
}else{
|
||||
try {
|
||||
$O = $client->getMarques($siren, $id);
|
||||
$marques=$O['result'];
|
||||
$firephp->log($marques,'marque');
|
||||
$marques = $O['result'];
|
||||
$firephp->log($marques,'marques');
|
||||
cache_delete();
|
||||
cache_add($marques, 'marques');
|
||||
cache_add('marques', $marques);
|
||||
} catch (SoapFault $fault) {
|
||||
require_once 'soaperror.php';
|
||||
processSoapFault($client,$fault,$tabInfo);
|
||||
|
@ -3,7 +3,6 @@
|
||||
<div style="float:left" id="my_menu" class="sdmenu">
|
||||
<img src="./img/logo_menu.gif" width="200" height="65">
|
||||
<div class="collapsed">
|
||||
|
||||
<span>RECHERCHES</span>
|
||||
<a href="/?page=recherche&vue=ent">Rechercher une entreprise</a>
|
||||
<a href="/?page=recherche&vue=dir">Rechercher par dirigeant</a>
|
||||
@ -21,6 +20,11 @@ if ($_SESSION['tabInfo']['login']=='mricois'
|
||||
if (isset($_SESSION['list_pre']) || $_SESSION['list_pre']!=''){ ?>
|
||||
<a href="/?page=recherche&vue=list_pre">Dernière recherche</a>
|
||||
<?php
|
||||
if( count($_SESSION['recherche']['list'])>1 && ( $_SESSION['tabInfo']['idClient']==1 || $_SESSION['tabInfo']['idClient']==2 ) ){
|
||||
?>
|
||||
<a href="/?page=recherche&vue=histo">Liste des dernières recherches</a>
|
||||
<?php
|
||||
}
|
||||
}else{?>
|
||||
<a href="#"><font color="Gray">Dernière recherche</font></a>
|
||||
<?php
|
||||
@ -257,8 +261,8 @@ if ($page=='recherche'){
|
||||
<a href="/?<?=$printUrl;?>&sortie=prt" title="Impression" target="_blank">
|
||||
<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=='synthese' || $page=='bilans' || $page=='liasse' || $page=='bourse' || $page=='annonces'){
|
||||
if($page!='recherche')
|
||||
{
|
||||
?>
|
||||
<a href="./?<?=$_SERVER['QUERY_STRING'];?>&sortie=pdf" target="_blank" title="PDF"><img src="./img/exporticones/pdf.png" alt="PDF"></a>
|
||||
<?php
|
||||
|
Loading…
x
Reference in New Issue
Block a user