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.90 2007-09-28 13:39:15 jp_milcent Exp $
|
22 |
// CVS : $Id: bazar.fonct.rss.php,v 1.91 2007-09-28 14:43:29 jp_milcent 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.90 $
|
31 |
*@version $Revision: 1.91 $
|
32 |
// +------------------------------------------------------------------------------------------------------+
|
32 |
// +------------------------------------------------------------------------------------------------------+
|
33 |
*/
|
33 |
*/
|
Line 34... |
Line 34... |
34 |
|
34 |
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
Line 314... |
Line 314... |
314 |
if (DB::isError($resultat)) {
|
314 |
if (DB::isError($resultat)) {
|
315 |
die ($resultat->getMessage().$resultat->getDebugInfo()) ;
|
315 |
die ($resultat->getMessage().$resultat->getDebugInfo()) ;
|
316 |
}
|
316 |
}
|
317 |
while ($redacteur = $resultat->fetchRow(DB_FETCHMODE_ASSOC)) {
|
317 |
while ($redacteur = $resultat->fetchRow(DB_FETCHMODE_ASSOC)) {
|
318 |
$res .= BAZ_FICHE_NUMERO.$GLOBALS['_BAZAR_']['id_fiche'].BAZ_ECRITE;
|
318 |
$res .= BAZ_FICHE_NUMERO.$GLOBALS['_BAZAR_']['id_fiche'].BAZ_ECRITE;
|
319 |
if (!defined(BAZ_FICHE_REDACTEUR_MAIL) || BAZ_FICHE_REDACTEUR_MAIL) {
|
319 |
if (!defined('BAZ_FICHE_REDACTEUR_MAIL') || BAZ_FICHE_REDACTEUR_MAIL) {
|
320 |
$res .= '<a href="mailto:'.$redacteur[BAZ_CHAMPS_EMAIL].'">'.$redacteur[BAZ_CHAMPS_PRENOM].' '.$redacteur[BAZ_CHAMPS_NOM].'</a>';
|
320 |
$res .= '<a href="mailto:'.$redacteur[BAZ_CHAMPS_EMAIL].'">'.$redacteur[BAZ_CHAMPS_PRENOM].' '.$redacteur[BAZ_CHAMPS_NOM].'</a>';
|
321 |
} else {
|
321 |
} else {
|
322 |
$res .= $redacteur[BAZ_CHAMPS_PRENOM].' '.$redacteur[BAZ_CHAMPS_NOM];
|
322 |
$res .= $redacteur[BAZ_CHAMPS_PRENOM].' '.$redacteur[BAZ_CHAMPS_NOM];
|
323 |
}
|
323 |
}
|
324 |
$res .= '<br />'."\n";
|
324 |
$res .= '<br />'."\n";
|
Line 1210... |
Line 1210... |
1210 |
}
|
1210 |
}
|
Line 1211... |
Line 1211... |
1211 |
|
1211 |
|
1212 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
1212 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
1213 |
*
|
1213 |
*
|
- |
|
1214 |
* $Log: not supported by cvs2svn $
|
- |
|
1215 |
* Revision 1.90 2007-09-28 13:39:15 jp_milcent
|
- |
|
1216 |
* Ajout d'une constante permettant de configurer l'affichage ou pas du courriel du rédacteur d'une fiche.
|
1214 |
* $Log: not supported by cvs2svn $
|
1217 |
*
|
1215 |
* Revision 1.89 2007-09-18 07:38:43 alexandre_tb
|
1218 |
* Revision 1.89 2007-09-18 07:38:43 alexandre_tb
|
1216 |
* ajout de la constante BAZ_AFFICHER_FILTRE_MOTEUR pour enlever le choix du type de fiche dans le moteur de recherche.
|
1219 |
* ajout de la constante BAZ_AFFICHER_FILTRE_MOTEUR pour enlever le choix du type de fiche dans le moteur de recherche.
|
1217 |
*
|
1220 |
*
|
1218 |
* Revision 1.88 2007-08-27 12:32:14 alexandre_tb
|
1221 |
* Revision 1.88 2007-08-27 12:32:14 alexandre_tb
|