Subversion Repositories eFlore/Archives.chorologie

Rev

Rev 9 | Rev 18 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9 Rev 12
Line 19... Line 19...
19
// |                                                                                                      |
19
// |                                                                                                      |
20
// | You should have received a copy of the GNU General Public License                                    |
20
// | You should have received a copy of the GNU General Public License                                    |
21
// | along with Foobar; if not, write to the Free Software                                                |
21
// | along with Foobar; if not, write to the Free Software                                                |
22
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
22
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
23
// +------------------------------------------------------------------------------------------------------+
23
// +------------------------------------------------------------------------------------------------------+
24
// CVS : $Id: carto_carte.class.php,v 1.2 2005-02-22 16:35:16 jpm Exp $
24
// CVS : $Id: carto_carte.class.php,v 1.3 2005-02-22 19:35:08 jpm Exp $
25
/**
25
/**
26
* Classe Carto_Carte.
26
* Classe Carto_Carte.
27
*
27
*
28
* Calsse permettant de réaliser des cartes.
28
* Calsse permettant de réaliser des cartes.
29
*
29
*
Line 32... Line 32...
32
*@author        Nicolas MATHIEU
32
*@author        Nicolas MATHIEU
33
//Autres auteurs :
33
//Autres auteurs :
34
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
34
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
35
*@author        Alexandre GRANIER <alexandre@tela-botanica.org>
35
*@author        Alexandre GRANIER <alexandre@tela-botanica.org>
36
*@copyright     Tela-Botanica 2000-2004
36
*@copyright     Tela-Botanica 2000-2004
37
*@version       $Revision: 1.2 $ $Date: 2005-02-22 16:35:16 $
37
*@version       $Revision: 1.3 $ $Date: 2005-02-22 19:35:08 $
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
39
*/
39
*/
Line 40... Line 40...
40
 
40
 
41
// +------------------------------------------------------------------------------------------------------+
41
// +------------------------------------------------------------------------------------------------------+
Line 324... Line 324...
324
            $id_image = $this->_donnerIdUnique();
324
            $id_image = $this->_donnerIdUnique();
325
            $this->_lancerColoriage($id_image);
325
            $this->_lancerColoriage($id_image);
326
            $this->historique = $this->id;
326
            $this->historique = $this->id;
327
            $obj = serialize($this);
327
            $obj = serialize($this);
Line 328... Line 328...
328
            
328
            
329
            $_SESSION['carte'] = $obj ;
329
            $_SESSION['carte'] = $obj;
-
 
330
        }
330
        }
331
        $_SESSION['chemin'] = CAR_CHEMIN_TMP;
-
 
332
        $_SESSION['fichier'] = $this->id.$id_image;
331
        $res .= sprintf(CAR_CHEMIN_CARTE, urlencode(CAR_CHEMIN_TMP), $this->id.$id_image).'"';
333
        $res .= CAR_CHEMIN_CARTE.'"';
332
        $res .= ' name="image" onmouseover="javascript:show(\'d\');" onmouseout="javascript:show(\'d\');" />'."\n";
334
        $res .= ' name="image" onmouseover="javascript:show(\'d\');" onmouseout="javascript:show(\'d\');" />'."\n";
-
 
335
        $res .= '<input type="hidden" name="historique_cartes" value="'.$this->historique.'" />'."\n";
333
        $res .= '<input type="hidden" name="historique_cartes" value="'.$this->historique.'" /></p>';
336
        $res .= '</p>'."\n";
334
        $res .= '</form>'."\n";
337
        $res .= '</form>'."\n";
335
        return $res;
338
        return $res;
Line 336... Line 339...
336
    }
339
    }
Line 792... Line 795...
792
 
795
 
793
 
796
 
794
/* +--Fin du code ----------------------------------------------------------------------------------------+
797
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
798
*
-
 
799
* $Log: not supported by cvs2svn $
-
 
800
* Revision 1.2  2005/02/22 16:35:16  jpm
-
 
801
* Mise en forme.
-
 
802
* Utilisation de  constantes pour les chemins d'accès aux fichiers.
795
*
803
* Ajout de commentaires.
796
* $Log: not supported by cvs2svn $
804
*
797
*
805
*
798
* +-- Fin du code ----------------------------------------------------------------------------------------+
806
* +-- Fin du code ----------------------------------------------------------------------------------------+
799
*/
807
*/