[ Index ] |
|
Code source de SPIP 1.9.2c |
1 <?php 2 3 /***************************************************************************\ 4 * SPIP, Systeme de publication pour l'internet * 5 * * 6 * Copyright (c) 2001-2007 * 7 * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * 8 * * 9 * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * 10 * Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. * 11 \***************************************************************************/ 12 13 if (!defined("_ECRIRE_INC_VERSION")) return; #securite 14 15 // Pas besoin de contexte de compilation 16 17 18 // http://doc.spip.org/@balise_FORMULAIRE_RECHERCHE 19 function balise_FORMULAIRE_RECHERCHE ($p) 20 { 21 return calculer_balise_dynamique($p, 'FORMULAIRE_RECHERCHE', array()); 22 } 23 24 // http://doc.spip.org/@balise_FORMULAIRE_RECHERCHE_stat 25 function balise_FORMULAIRE_RECHERCHE_stat($args, $filtres) { 26 // Si le moteur n'est pas active, pas de balise 27 if ($GLOBALS['meta']["activer_moteur"] != "oui") 28 return ''; 29 30 // filtres[0] doit etre un script (a revoir) 31 else 32 return array($filtres[0], $args[0]); 33 } 34 35 // http://doc.spip.org/@balise_FORMULAIRE_RECHERCHE_dyn 36 function balise_FORMULAIRE_RECHERCHE_dyn($lien, $rech) { 37 38 if ($GLOBALS['spip_lang'] != $GLOBALS['meta']['langue_site']) 39 $lang = $GLOBALS['spip_lang']; 40 else 41 $lang=''; 42 43 return array('formulaires/recherche', 3600, 44 array( 45 'lien' => ($lien ? $lien : generer_url_public('recherche')), 46 'recherche' => _request('recherche'), 47 'lang' => $lang 48 )); 49 } 50 51 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Wed Nov 21 10:20:27 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |