| 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: bazar.fonct.rss.php,v 1.49 2006-05-19 13:54:11 florian Exp $
|
22 |
// CVS : $Id: bazar.fonct.rss.php,v 1.50 2006-05-22 09:55:12 alexandre_tb Exp $
|
| 23 |
/**
|
23 |
/**
|
| 24 |
*
|
24 |
*
|
| 25 |
*@package bazar
|
25 |
*@package bazar
|
| 26 |
//Auteur original :
|
26 |
//Auteur original :
|
| 27 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
27 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
| 28 |
*@author Florian Schmitt <florian@ecole-et-nature.org>
|
28 |
*@author Florian Schmitt <florian@ecole-et-nature.org>
|
| 29 |
//Autres auteurs :
|
29 |
//Autres auteurs :
|
| 30 |
*@copyright Tela-Botanica 2000-2006
|
30 |
*@copyright Tela-Botanica 2000-2006
|
| 31 |
*@version $Revision: 1.49 $
|
31 |
*@version $Revision: 1.50 $
|
| 32 |
// +------------------------------------------------------------------------------------------------------+
|
32 |
// +------------------------------------------------------------------------------------------------------+
|
| 33 |
*/
|
33 |
*/
|
| Line 34... |
Line 34... |
| 34 |
|
34 |
|
| 35 |
// +------------------------------------------------------------------------------------------------------+
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
| Line 648... |
Line 648... |
| 648 |
* @return string le code HTML a afficher
|
648 |
* @return string le code HTML a afficher
|
| 649 |
*/
|
649 |
*/
|
| 650 |
function baz_liste($typeannonce='toutes') {
|
650 |
function baz_liste($typeannonce='toutes') {
|
| 651 |
//creation du lien pour le formulaire de recherche
|
651 |
//creation du lien pour le formulaire de recherche
|
| 652 |
$GLOBALS['_BAZAR_']['url']->addQueryString('action', BAZ_VOIR_TOUTES_ANNONCES);
|
652 |
$GLOBALS['_BAZAR_']['url']->addQueryString('action', BAZ_VOIR_TOUTES_ANNONCES);
|
| - |
|
653 |
if (isset($_REQUEST['recherche_avancee'])) $GLOBALS['_BAZAR_']['url']->addQueryString ('recherche_avancee', $_REQUEST['recherche_avancee']);
|
| 653 |
$lien_formulaire = preg_replace ('/&/', '&', $GLOBALS['_BAZAR_']['url']->getURL()) ;
|
654 |
$lien_formulaire = preg_replace ('/&/', '&', $GLOBALS['_BAZAR_']['url']->getURL()) ;
|
| 654 |
$formtemplate = new HTML_QuickForm('formulaire', 'post', $lien_formulaire) ;
|
655 |
$formtemplate = new HTML_QuickForm('formulaire', 'post', $lien_formulaire) ;
|
| 655 |
$squelette =& $formtemplate->defaultRenderer();
|
656 |
$squelette =& $formtemplate->defaultRenderer();
|
| 656 |
$squelette->setFormTemplate("\n".'<form {attributes}>'."\n".'<table style="border:0;width:100%;">'."\n".'{content}'."\n".'</table>'."\n".'</form>'."\n");
|
657 |
$squelette->setFormTemplate("\n".'<form {attributes}>'."\n".'<table style="border:0;width:100%;">'."\n".'{content}'."\n".'</table>'."\n".'</form>'."\n");
|
| 657 |
$squelette->setElementTemplate( '<tr>'."\n".'<td style="font-size:12px;width:120px;text-align:right;">'."\n".'{label}'.
|
658 |
$squelette->setElementTemplate( '<tr>'."\n".'<td style="font-size:12px;width:120px;text-align:right;">'."\n".'{label}'.
|
| Line 989... |
Line 990... |
| 989 |
}
|
990 |
}
|
| Line 990... |
Line 991... |
| 990 |
|
991 |
|
| 991 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
992 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
| 992 |
*
|
993 |
*
|
| - |
|
994 |
* $Log: not supported by cvs2svn $
|
| - |
|
995 |
* Revision 1.49 2006/05/19 13:54:11 florian
|
| - |
|
996 |
* stabilisation du moteur de recherche, corrections bugs, lien recherche avancee
|
| 993 |
* $Log: not supported by cvs2svn $
|
997 |
*
|
| 994 |
* Revision 1.48 2006/05/17 09:50:13 alexandre_tb
|
998 |
* Revision 1.48 2006/05/17 09:50:13 alexandre_tb
|
| 995 |
* Ajout du moteur de recherche évolué et du découpage par page
|
999 |
* Ajout du moteur de recherche évolué et du découpage par page
|
| 996 |
*
|
1000 |
*
|
| 997 |
* +-- Fin du code ----------------------------------------------------------------------------------------+
|
1001 |
* +-- Fin du code ----------------------------------------------------------------------------------------+
|