21,7 → 21,7 |
// | along with Foobar; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: carto_carte.class.php,v 1.2 2005-02-22 16:35:16 jpm Exp $ |
// CVS : $Id: carto_carte.class.php,v 1.3 2005-02-22 19:35:08 jpm Exp $ |
/** |
* Classe Carto_Carte. |
* |
34,7 → 34,7 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
*@author Alexandre GRANIER <alexandre@tela-botanica.org> |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.2 $ $Date: 2005-02-22 16:35:16 $ |
*@version $Revision: 1.3 $ $Date: 2005-02-22 19:35:08 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
326,11 → 326,14 |
$this->historique = $this->id; |
$obj = serialize($this); |
|
$_SESSION['carte'] = $obj ; |
$_SESSION['carte'] = $obj; |
} |
$res .= sprintf(CAR_CHEMIN_CARTE, urlencode(CAR_CHEMIN_TMP), $this->id.$id_image).'"'; |
$_SESSION['chemin'] = CAR_CHEMIN_TMP; |
$_SESSION['fichier'] = $this->id.$id_image; |
$res .= CAR_CHEMIN_CARTE.'"'; |
$res .= ' name="image" onmouseover="javascript:show(\'d\');" onmouseout="javascript:show(\'d\');" />'."\n"; |
$res .= '<input type="hidden" name="historique_cartes" value="'.$this->historique.'" /></p>'; |
$res .= '<input type="hidden" name="historique_cartes" value="'.$this->historique.'" />'."\n"; |
$res .= '</p>'."\n"; |
$res .= '</form>'."\n"; |
return $res; |
} |
794,7 → 797,12 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.2 2005/02/22 16:35:16 jpm |
* Mise en forme. |
* Utilisation de constantes pour les chemins d'accès aux fichiers. |
* Ajout de commentaires. |
* |
* |
* +-- Fin du code ----------------------------------------------------------------------------------------+ |
*/ |
?> |