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: more_recherche_papyrus_menu.class.php,v 1.2 2005-04-14 17:39:34 jpm Exp $
|
24 |
// CVS : $Id: more_recherche_papyrus_menu.class.php,v 1.3 2005-05-19 12:46:12 jpm Exp $
|
25 |
/**
|
25 |
/**
|
26 |
* Classe permettant d'effectuer des recherches sur les informations des menus de Papyrus.
|
26 |
* Classe permettant d'effectuer des recherches sur les informations des menus de Papyrus.
|
27 |
*
|
27 |
*
|
28 |
* Permet de rechercher et classer les menus en fonction d'une chaine.
|
28 |
* Permet de rechercher et classer les menus en fonction d'une chaine.
|
29 |
* Utilisation des bibliothèques inclue par Papyrus :
|
29 |
* Utilisation des bibliothèques inclue par Papyrus :
|
Line 36... |
Line 36... |
36 |
//Auteur original :
|
36 |
//Auteur original :
|
37 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
37 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
38 |
//Autres auteurs :
|
38 |
//Autres auteurs :
|
39 |
*@author aucun
|
39 |
*@author aucun
|
40 |
*@copyright Tela-Botanica 2000-2004
|
40 |
*@copyright Tela-Botanica 2000-2004
|
41 |
*@version $Revision: 1.2 $ $Date: 2005-04-14 17:39:34 $
|
41 |
*@version $Revision: 1.3 $ $Date: 2005-05-19 12:46:12 $
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
43 |
*/
|
43 |
*/
|
Line 44... |
Line 44... |
44 |
|
44 |
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
Line 97... |
Line 97... |
97 |
$aso_resultat['titre'] = htmlentities($aso_menu_info['gm_titre_alternatif']);
|
97 |
$aso_resultat['titre'] = htmlentities($aso_menu_info['gm_titre_alternatif']);
|
98 |
}
|
98 |
}
|
99 |
$aso_resultat['hreflang'] = htmlentities($aso_menu_info['gm_ce_i18n']);
|
99 |
$aso_resultat['hreflang'] = htmlentities($aso_menu_info['gm_ce_i18n']);
|
100 |
$raccourci_txt = '';
|
100 |
$raccourci_txt = '';
|
101 |
$aso_resultat['accesskey'] = htmlentities($aso_menu_info['gm_raccourci_clavier']);
|
101 |
$aso_resultat['accesskey'] = htmlentities($aso_menu_info['gm_raccourci_clavier']);
|
- |
|
102 |
if ($aso_resultat['accesskey'] != '') {
|
102 |
$raccourci_txt = MORE_LG_RESULTAT_CADRE_OUVRIR.
|
103 |
$raccourci_txt = MORE_LG_RESULTAT_CADRE_OUVRIR.
|
103 |
MORE_LG_RESULTAT_RACCOURCI.$menu_accesskey.' '.
|
104 |
MORE_LG_RESULTAT_RACCOURCI.$aso_resultat['accesskey'].' '.
|
104 |
MORE_LG_RESULTAT_CADRE_FERMER.MORE_LG_RESULTAT_POINT.' ';
|
105 |
MORE_LG_RESULTAT_CADRE_FERMER.MORE_LG_RESULTAT_POINT.' ';
|
- |
|
106 |
}
|
105 |
$aso_resultat['title'] = htmlentities($raccourci_txt.$aso_menu_info['gm_description_resume']);
|
107 |
$aso_resultat['title'] = htmlentities($raccourci_txt.$aso_menu_info['gm_description_resume']);
|
Line 106... |
Line 108... |
106 |
|
108 |
|
107 |
$aso_resultat['description'] = htmlentities($aso_menu_info['gm_description_libre']);
|
109 |
$aso_resultat['description'] = htmlentities($aso_menu_info['gm_description_libre']);
|
108 |
if (($jour = date('d', strtotime($aso_menu_info['gm_date_creation'] )) ) != 0 ) {
|
110 |
if (($jour = date('d', strtotime($aso_menu_info['gm_date_creation'] )) ) != 0 ) {
|
Line 137... |
Line 139... |
137 |
}
|
139 |
}
|
Line 138... |
Line 140... |
138 |
|
140 |
|
139 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
141 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
140 |
*
|
142 |
*
|
- |
|
143 |
* $Log: not supported by cvs2svn $
|
- |
|
144 |
* Revision 1.2 2005/04/14 17:39:34 jpm
|
- |
|
145 |
* Amélioration du moteur de rechercher :
|
- |
|
146 |
* - pourcentage
|
- |
|
147 |
* - ajout d'info
|
141 |
* $Log: not supported by cvs2svn $
|
148 |
*
|
142 |
* Revision 1.1 2004/12/07 10:24:06 jpm
|
149 |
* Revision 1.1 2004/12/07 10:24:06 jpm
|
143 |
* Moteur de recherche version de départ.
|
150 |
* Moteur de recherche version de départ.
|
144 |
*
|
151 |
*
|
145 |
*
|
152 |
*
|