Subversion Repositories Applications.bazar

Rev

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

Rev 127 Rev 128
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.50 2006-05-22 09:55:12 alexandre_tb Exp $
22
// CVS : $Id: bazar.fonct.rss.php,v 1.51 2006-05-23 15:41:27 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.50 $
31
*@version       $Revision: 1.51 $
32
// +------------------------------------------------------------------------------------------------------+
32
// +------------------------------------------------------------------------------------------------------+
33
*/
33
*/
Line 34... Line 34...
34
 
34
 
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
Line 976... Line 976...
976
    'itemData'   => $donnees
976
    'itemData'   => $donnees
977
	);
977
	);
978
	$pager = & Pager::factory($params);
978
	$pager = & Pager::factory($params);
979
	$data  = $pager->getPageData();
979
	$data  = $pager->getPageData();
980
	$links = $pager->getLinks();
980
	$links = $pager->getLinks();
981
 
-
 
-
 
981
    $res .= '<div class="bazar_numero">'.$pager->links.'</div>'."\n";
982
	foreach ($data as $valeur) {
982
	foreach ($data as $valeur) {
983
		$GLOBALS['_BAZAR_']['url']->addQueryString('id_fiche', $valeur[0]) ;
983
		$GLOBALS['_BAZAR_']['url']->addQueryString('id_fiche', $valeur[0]) ;
984
		$res .= '<li><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.$valeur[1].'</a></li>'."\n" ;
984
		$res .= '<li><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.$valeur[1].'</a></li>'."\n" ;
985
	}
985
	}
986
	$res .= '</ul>';
986
	$res .= '</ul>';
987
	$res .= $pager->links;
987
	$res .= '<div class="bazar_numero">'.$pager->links.'</div>'."\n";
Line 988... Line 988...
988
 
988
 
989
	return $res ;
989
	return $res ;
Line 990... Line 990...
990
}
990
}
991
 
991
 
992
/* +--Fin du code ----------------------------------------------------------------------------------------+
992
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
993
*
-
 
994
* $Log: not supported by cvs2svn $
-
 
995
* Revision 1.50  2006/05/22 09:55:12  alexandre_tb
993
*
996
* ajout de la variable recherche_avancee dans l'action du formulaire
994
* $Log: not supported by cvs2svn $
997
*
995
* Revision 1.49  2006/05/19 13:54:11  florian
998
* Revision 1.49  2006/05/19 13:54:11  florian
996
* stabilisation du moteur de recherche, corrections bugs, lien recherche avancee
999
* stabilisation du moteur de recherche, corrections bugs, lien recherche avancee
997
*
1000
*