Subversion Repositories Applications.papyrus

Rev

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

Rev 754 Rev 832
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.9 2006-03-02 10:49:49 ddelon Exp $
22
// CVS : $Id: vous_etes_ici.php,v 1.10 2006-04-28 12:41:49 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.9 $ $Date: 2006-03-02 10:49:49 $
42
*@version       $Revision: 1.10 $ $Date: 2006-04-28 12:41:49 $
43
// +------------------------------------------------------------------------------------------------------+
43
// +------------------------------------------------------------------------------------------------------+
44
*/
44
*/
Line 45... Line 45...
45
 
45
 
46
// +------------------------------------------------------------------------------------------------------+
46
// +------------------------------------------------------------------------------------------------------+
Line 162... Line 162...
162
        $tab_vei = explode(' >>> ', $vei);
162
        $tab_vei = explode(' >>> ', $vei);
163
        // Récupération des liens pour les inverser et créer le VEI
163
        // Récupération des liens pour les inverser et créer le VEI
164
        $retour = '';
164
        $retour = '';
165
        for ($i = (count($tab_vei) - 1); $i >= 0 ;$i--) {
165
        for ($i = (count($tab_vei) - 1); $i >= 0 ;$i--) {
166
            if ($i == 0) {
166
            if ($i == 0) {
167
                // Supprime le lien pour le nom du menu courant
167
                // Supprime le lien pour le nom du menu courant
-
 
168
                $tab_txt_capture='';
168
                preg_match("/>(.*)<\/a>/", $tab_vei[$i], $tab_txt_capture);
169
                preg_match("/>(.*)<\/a>/", $tab_vei[$i], $tab_txt_capture);
169
                $retour .= $tab_txt_capture[1];
170
                $retour .= $tab_txt_capture[1];
170
            } else {
171
            } else {
171
                $retour .= $tab_vei[$i];
172
                $retour .= $tab_vei[$i];
172
            }
173
            }
Line 187... Line 188...
187
 
188
 
188
 
189
 
189
/* +--Fin du code ----------------------------------------------------------------------------------------+
190
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
191
*
-
 
192
* $Log: not supported by cvs2svn $
-
 
193
* Revision 1.9  2006/03/02 10:49:49  ddelon
190
*
194
* Fusion branche multilinguisme dans branche principale
191
* $Log: not supported by cvs2svn $
195
*
192
* Revision 1.8.2.1  2006/02/28 14:02:10  ddelon
196
* Revision 1.8.2.1  2006/02/28 14:02:10  ddelon
193
* Finition multilinguisme
197
* Finition multilinguisme
194
*
198
*