Subversion Repositories Applications.papyrus

Rev

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

Rev 217 Rev 268
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: moteur_recherche.php,v 1.1 2004-12-07 10:24:01 jpm Exp $
24
// CVS : $Id: moteur_recherche.php,v 1.2 2005-02-22 17:44:03 jpm Exp $
25
/**
25
/**
26
* Applette : moteur de recherche
26
* Applette : moteur de recherche
27
*
27
*
28
* Génère un formulaire contenant une zone de saisie permettant de taper un texte à rechercher sur l'ensemble
28
* Génère un formulaire contenant une zone de saisie permettant de taper un texte à rechercher sur l'ensemble
29
* des sites gérés par Papyrus.
29
* des sites gérés par Papyrus.
Line 33... Line 33...
33
//Auteur original :
33
//Auteur original :
34
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
34
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
35
//Autres auteurs :
35
//Autres auteurs :
36
*@author        Aucun
36
*@author        Aucun
37
*@copyright     Tela-Botanica 2000-2004
37
*@copyright     Tela-Botanica 2000-2004
38
*@version       $Revision: 1.1 $ $Date: 2004-12-07 10:24:01 $
38
*@version       $Revision: 1.2 $ $Date: 2005-02-22 17:44:03 $
39
// +------------------------------------------------------------------------------------------------------+
39
// +------------------------------------------------------------------------------------------------------+
40
*/
40
*/
Line 41... Line 41...
41
 
41
 
42
// +------------------------------------------------------------------------------------------------------+
42
// +------------------------------------------------------------------------------------------------------+
Line 159... Line 159...
159
    
159
    
160
    // --------------------------------------------------------------------------------------------------------
160
    // --------------------------------------------------------------------------------------------------------
Line 161... Line 161...
161
    // Création du formulaire de l'applette
161
    // Création du formulaire de l'applette
162
    
162
    
163
    // Notes : Quickform semble remplacer les & des &amp; à nouveau par des &amp; solution utiliser str_replace()...
163
    // Notes : Quickform semble remplacer les & des &amp; à nouveau par des &amp; solution utiliser str_replace()...
164
    $form =& new HTML_QuickForm('form_more_recherche', 'post', str_replace('&amp;', '&', $url->getUrl()));
164
    $form = new HTML_QuickForm('form_more_recherche', 'post', str_replace('&amp;', '&', $url->getUrl()));
165
    $tab_index = MORE_FORM_MOTIF_TAB;
165
    $tab_index = MORE_FORM_MOTIF_TAB;
166
    $squelette =& $form->defaultRenderer();
166
    $squelette =& $form->defaultRenderer();
167
    $squelette->setFormTemplate("\n".'<form{attributes}>'."\n".'{content}'."\n".'</form>');
167
    $squelette->setFormTemplate("\n".'<form{attributes}>'."\n".'{content}'."\n".'</form>');
Line 203... Line 203...
203
 
203
 
204
 
204
 
205
/* +--Fin du code ----------------------------------------------------------------------------------------+
205
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
206
*
-
 
207
* $Log: not supported by cvs2svn $
-
 
208
* Revision 1.1  2004/12/07 10:24:01  jpm
206
*
209
* Moteur de recherche version de départ.
207
* $Log: not supported by cvs2svn $
210
*
208
*
211
*
209
* +-- Fin du code ----------------------------------------------------------------------------------------+
212
* +-- Fin du code ----------------------------------------------------------------------------------------+
210
*/
213
*/