Subversion Repositories Applications.papyrus

Rev

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

Rev 1087 Rev 1127
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: pap_url.class.php,v 1.4 2006-10-11 18:04:11 jp_milcent Exp $
24
// CVS : $Id: pap_url.class.php,v 1.4.2.1 2006-12-08 20:07:43 jp_milcent Exp $
25
/**
25
/**
26
* Classe de gestion des url de Papyrus
26
* Classe de gestion des url de Papyrus
27
*
27
*
28
* Permet de gérer la réecriture des url.
28
* Permet de gérer la réecriture des url.
29
*
29
*
Line 32... Line 32...
32
//Auteur original :
32
//Auteur original :
33
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
33
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
34
//Autres auteurs :
34
//Autres auteurs :
35
*@author        Aucun
35
*@author        Aucun
36
*@copyright     Tela-Botanica 2000-2004
36
*@copyright     Tela-Botanica 2000-2004
37
*@version       $Revision: 1.4 $ $Date: 2006-10-11 18:04:11 $
37
*@version       $Revision: 1.4.2.1 $ $Date: 2006-12-08 20:07:43 $
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
39
*/
39
*/
Line 40... Line 40...
40
 
40
 
41
// +------------------------------------------------------------------------------------------------------+
41
// +------------------------------------------------------------------------------------------------------+
Line 306... Line 306...
306
                
306
                
307
                $ligne_site = $resultat_site->fetchRow(DB_FETCHMODE_ASSOC);
307
                $ligne_site = $resultat_site->fetchRow(DB_FETCHMODE_ASSOC);
308
                $resultat_site->free();
308
                $resultat_site->free();
309
            	$this->setCodeAlpha($ligne_site['gs_code_alpha']);
309
            	$this->setCodeAlpha($ligne_site['gs_code_alpha']);
-
 
310
            	$this->setCodeNum($ligne_site['gs_code_num']);
-
 
311
            	// Suppression de l'éventuel identifiant de menu passé dans l'url...
-
 
312
            	$this->removeQueryString(GEN_URL_CLE_MENU);
-
 
313
            } else {
-
 
314
            	$message = 	'ERREUR Papyrus : le type d\'url est inconnu : seul "MENU" et "SITE" existent. <br />'.
-
 
315
			            	'Type : '.$this->getUrlType().' <br />'.
-
 
316
			            	'Ligne n° : '. __LINE__ .'<br />'.
-
 
317
			            	'Fichier : '. __FILE__ ;
310
            	$this->setCodeNum($ligne_site['gs_code_num']);
318
            	trigger_error($message, E_USER_ERROR);
Line 311... Line 319...
311
            }
319
            }
312
            
320
            
313
            // Préparation de l'url de l'entrée
321
            // Préparation de l'url de l'entrée
Line 384... Line 392...
384
 
392
 
385
 
393
 
386
/* +--Fin du code ----------------------------------------------------------------------------------------+
394
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
395
*
-
 
396
* $Log: not supported by cvs2svn $
-
 
397
* Revision 1.4  2006/10/11 18:04:11  jp_milcent
387
*
398
* Gestion avancée de la réecriture d'URL.
388
* $Log: not supported by cvs2svn $
399
*
389
* Revision 1.3  2006/03/02 10:49:49  ddelon
400
* Revision 1.3  2006/03/02 10:49:49  ddelon
390
* Fusion branche multilinguisme dans branche principale
401
* Fusion branche multilinguisme dans branche principale
391
*
402
*