Subversion Repositories Applications.papyrus

Rev

Rev 832 | Rev 1145 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 832 Rev 1090
Line 17... Line 17...
17
// |                                                                                                      |
17
// |                                                                                                      |
18
// | You should have received a copy of the GNU Lesser General Public                                     |
18
// | You should have received a copy of the GNU Lesser General Public                                     |
19
// | License along with this library; if not, write to the Free Software                                  |
19
// | License along with this library; if not, write to the Free Software                                  |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
21
// +------------------------------------------------------------------------------------------------------+
21
// +------------------------------------------------------------------------------------------------------+
22
// CVS : $Id: vous_etes_ici.php,v 1.10 2006-04-28 12:41:49 florian Exp $
22
// CVS : $Id: vous_etes_ici.php,v 1.11 2006-12-01 16:33:40 florian Exp $
23
/**
23
/**
24
* Applette : Vous Etes Ici
24
* Applette : Vous Etes Ici
25
*
25
*
26
* Affiche les liens contenant la suite des menus visités pour arriver
26
* Affiche les liens contenant la suite des menus visités pour arriver
27
* au menu courant visioné par l'utilisateur.
27
* au menu courant visioné par l'utilisateur.
Line 37... Line 37...
37
//Auteur original :
37
//Auteur original :
38
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
38
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
39
//Autres auteurs :
39
//Autres auteurs :
40
*@author        Aucun
40
*@author        Aucun
41
*@copyright     Tela-Botanica 2000-2004
41
*@copyright     Tela-Botanica 2000-2004
42
*@version       $Revision: 1.10 $ $Date: 2006-04-28 12:41:49 $
42
*@version       $Revision: 1.11 $ $Date: 2006-12-01 16:33:40 $
43
// +------------------------------------------------------------------------------------------------------+
43
// +------------------------------------------------------------------------------------------------------+
44
*/
44
*/
Line 45... Line 45...
45
 
45
 
46
// +------------------------------------------------------------------------------------------------------+
46
// +------------------------------------------------------------------------------------------------------+
47
// |                                            ENTÊTE du PROGRAMME                                       |
47
// |                                            ENTÊTE du PROGRAMME                                       |
48
// +------------------------------------------------------------------------------------------------------+
48
// +------------------------------------------------------------------------------------------------------+
49
// Inclusion de la bibliothèque defonction sur les menu : inutile car inclue par Papyrus
49
// Inclusion de la bibliothèque defonction sur les menu : inutile car inclue par Papyrus
Line 50... Line 50...
50
// require_once GEN_CHEMIN_BIBLIO.'pap_menu.fonct.php';
50
// require_once GEN_CHEMIN_BIBLIO.'pap_menu.fonct.php';
51
 
51
 
52
$GLOBALS['_VEI_']['nom_fonction'] = 'afficherVousEtesIci';
52
$GLOBALS['_VEI_']['nom_fonction'] = 'afficherVousEtesIci';
Line 53... Line 53...
53
$_GEN_commun['info_applette_nom_fonction'] = $GLOBALS['_VEI_']['nom_fonction'];
53
$GLOBALS['_GEN_commun']['info_applette_nom_fonction'] = $GLOBALS['_VEI_']['nom_fonction'];
54
$_GEN_commun['info_applette_balise'] = 'VOUS_ETES_ICI';
54
$GLOBALS['_GEN_commun']['info_applette_balise'] = '<!-- '.$GLOBALS['_GEN_commun']['balise_prefixe'].'(VOUS_ETES_ICI) -->';
55
 
55
 
Line 79... Line 79...
79
* @return  string  une liste de listes XHTML représentant le plan du site.
79
* @return  string  une liste de listes XHTML représentant le plan du site.
80
*/
80
*/
81
function afficherVousEtesIci($tab_arguments, $_GEN_commun, $menu_courant_id = '', $premier_appel = true)
81
function afficherVousEtesIci($tab_arguments, $_GEN_commun, $menu_courant_id = '', $premier_appel = true)
82
{
82
{
83
    // Initialisation de variable.
83
    // Initialisation de variable.
84
    $objet_pear_db =& $GLOBALS['_GEN_commun']['pear_db'];
84
    $objet_pear_db =& $_GEN_commun['pear_db'];
85
    $vei_numero = $GLOBALS['_PAPYRUS_']['applette']['comptage'][$GLOBALS['_VEI_']['nom_fonction']];
85
    $vei_numero = $GLOBALS['_PAPYRUS_']['applette']['comptage'][$GLOBALS['_VEI_']['nom_fonction']];
86
    if (isset( $GLOBALS['_GEN_commun']['info_menu']->gm_id_menu)) {
86
    if (isset($_GEN_commun['info_menu']->gm_id_menu)) {
87
    	(empty($menu_courant_id)) ? $menu_courant_id = $GLOBALS['_GEN_commun']['info_menu']->gm_id_menu : '';
87
    	(empty($menu_courant_id)) ? $menu_courant_id = $_GEN_commun['info_menu']->gm_id_menu : '';
88
    }
88
    }
89
    $vei = '';
89
    $vei = '';
Line 90... Line 90...
90
    
90
    
91
    // Gestion des erreurs
91
    // Gestion des erreurs
Line 101... Line 101...
101
    // Récupération des infos sur sur l'entrée du menu à afficher
101
    // Récupération des infos sur sur l'entrée du menu à afficher
Line 102... Line 102...
102
    
102
    
Line 103... Line 103...
103
    // GEN_I18N_ID_DEFAUT;
103
    // GEN_I18N_ID_DEFAUT;
Line 104... Line 104...
104
	
104
	
105
	
105
	
106
	$id_langue = $GLOBALS['_GEN_commun']['i18n'];
106
	$id_langue = $_GEN_commun['i18n'];
107
    
107
    
Line 188... Line 188...
188
 
188
 
189
 
189
 
190
/* +--Fin du code ----------------------------------------------------------------------------------------+
190
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
191
*
-
 
192
* $Log: not supported by cvs2svn $
-
 
193
* Revision 1.10  2006/04/28 12:41:49  florian
191
*
194
* corrections erreurs chemin
192
* $Log: not supported by cvs2svn $
195
*
193
* Revision 1.9  2006/03/02 10:49:49  ddelon
196
* Revision 1.9  2006/03/02 10:49:49  ddelon
194
* Fusion branche multilinguisme dans branche principale
197
* Fusion branche multilinguisme dans branche principale
195
*
198
*