Subversion Repositories Sites.tela-botanica.org

Compare Revisions

Ignore whitespace Rev 148 → Rev 149

/trunk/client/cartographie/bibliotheque/lib.carto.php
435,7 → 435,10
$historique_cartes = explode('*',$this->historique_cartes);
foreach ($historique_cartes as $key => $value) {
if ($key != 0) {
$this = $this->fils[$value];
// $this_tmp = $this->fils[$value];
foreach (get_object_vars($this->fils[$value]) as $key => $value)
$this->$key = $value;
 
}
}
$this->image_x = $image_x;
491,7 → 494,9
$historique_cartes = explode('*',$this->historique_cartes);
foreach ($historique_cartes as $key => $value) {
if ($key != 0) {
$this = $this->fils[$value];
// $this = $this->fils[$value];
foreach (get_object_vars($this->fils[$value]) as $key => $value)
$this->$key = $value;
}
}
$this->liste_zone_carte = $liste_zone_carte;
511,7 → 516,9
$historique_cartes = explode('*',$this->historique_cartes);
foreach ($historique_cartes as $key => $value) {
if ($key != 0) {
$this = $this->fils[$value];
// $this = $this->fils[$value];
foreach (get_object_vars($this->fils[$value]) as $key => $value)
$this->$key = $value;
}
}
// une foit que l'on a charge le bon objet nous le colorions
610,7 → 617,9
$this->_info_table_zg['nom_chp_vert'], $this->_info_table_zg['nom_chp_bleu'], $this->_info_table_zg['nom_chp_zone_sup'],
$this->_info_table_zg['tableau_valeurs_zone'], $id_zone_a_reperer) ;
if ($nom_fichier != '') {
imagepng(&$this->image,'tmp/carto/'.$nom_fichier.'.png');
if (!imagepng(&$this->image,'tmp/carto/'.$nom_fichier.'.png')) {
echo 'erreur';
}
//$this->image = imagepng(&$this->image);
}
else {
1233,4 → 1242,4
*
*
*/
?>
?>