Correction chemin images

This commit is contained in:
Michael RICOIS 2011-10-28 15:37:25 +00:00
parent 13e8da9132
commit 55af733f2c
4 changed files with 7 additions and 7 deletions

View File

@ -161,14 +161,14 @@ if (count($this->participations)>0)
<?php
switch(strtolower($this->source)) {
case 'presse':
echo '<img src="./img/logo_jal.png"/>';
echo '<img src="/themes/default/images/annonces/logo_jal.png"/>';
break;
case 'collecte':
break;
case 'sed':
break;
case 'actes':
echo '<img src="./img/logo_jo.png"/>';
echo '<img src="/themes/default/images/annonces/logo_jo.png"/>';
break;
}
}

View File

@ -78,7 +78,7 @@ class Annonces
'. <a href="'.$href.'">'.$ann->Tribunal.'</a>';
}
} elseif ($source[0] == 'G' || $source[0] == 'T') {
$logo = './img/logo_greffe.png';
$logo = '/themes/default/images/annonces/logo_greffe.png';
$libelle = 'Source Greffe du Tribunal';
} elseif ($source[0] == 'P') {
$logo = '/themes/default/images/annonces/logo_inpi.png';

View File

@ -198,7 +198,7 @@ class RapportComment
protected function image($content){
$pattern = '/IMAGE\((.*?)\)/i';
preg_match($pattern, $content, $matches);
$replace = '<img src="./img/commentaires/'.strtolower($matches[1]).'"/>';
$replace = '<img src="/themes/default/images/comment/'.strtolower($matches[1]).'"/>';
$output = str_replace($matches[0], $replace, $content);
return $output;
}

View File

@ -122,7 +122,7 @@ $(document).ready(function(){
e.preventDefault();
var siren = $('input[name="tabMandataires[sirenGrp]"]').val();
var content = $(this).html();
$(this).html('<img src="./img/ajax/4-1.gif" />');
$(this).html('<img src="/themes/default/images/ajax/ajax/4-1.gif" />');
getInfo(siren);
$(this).html(content);
});
@ -131,7 +131,7 @@ $(document).ready(function(){
e.preventDefault();
var siren = $('input[name="tabMandataires[sirenMand]"]').val();
var content = $(this).html();
$(this).html('<img src="./img/ajax/4-1.gif" />');
$(this).html('<img src="/themes/default/images/ajax/ajax/4-1.gif" />');
getInfo(siren);
$(this).html(content);
});
@ -140,7 +140,7 @@ $(document).ready(function(){
e.preventDefault();
var siren = $('input[name="tabMandataires[Nom]"]').val().split(' , ')[1];
var content = $(this).html();
$(this).html('<img src="./img/ajax/4-1.gif" />');
$(this).html('<img src="/themes/default/images/ajax/ajax/4-1.gif" />');
getInfo(siren);
$(this).html(content);
});