| Line 17... |
Line 17... |
| 17 |
// | |
|
17 |
// | |
|
| 18 |
// | You should have received a copy of the GNU General Public |
|
18 |
// | You should have received a copy of the GNU 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: tela.php,v 1.2 2005-11-28 11:15:22 alexandre_tb Exp $
|
22 |
// CVS : $Id: tela.php,v 1.3 2005-12-07 11:02:35 jp_milcent Exp $
|
| 23 |
/**
|
23 |
/**
|
| 24 |
* Application projet
|
24 |
* Application projet
|
| 25 |
*
|
25 |
*
|
| 26 |
* Fichier de présentation de la liste des projets pour Tela Botanica
|
26 |
* Fichier de présentation de la liste des projets pour Tela Botanica
|
| 27 |
*
|
27 |
*
|
| Line 29... |
Line 29... |
| 29 |
//Auteur original :
|
29 |
//Auteur original :
|
| 30 |
*@author Alexandre Granier <alexandre@tela-botanica.org>
|
30 |
*@author Alexandre Granier <alexandre@tela-botanica.org>
|
| 31 |
//Autres auteurs :
|
31 |
//Autres auteurs :
|
| 32 |
*@author Aucun
|
32 |
*@author Aucun
|
| 33 |
*@copyright Tela-Botanica 2000-2004
|
33 |
*@copyright Tela-Botanica 2000-2004
|
| 34 |
*@version $Revision: 1.2 $
|
34 |
*@version $Revision: 1.3 $
|
| 35 |
// +------------------------------------------------------------------------------------------------------+
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
| 36 |
*/
|
36 |
*/
|
| Line 37... |
Line 37... |
| 37 |
|
37 |
|
| 38 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
| Line 62... |
Line 62... |
| 62 |
$this->_url->addQueryString(PROJET_VARIABLE_ID_PROJET, $projet->getId()) ;
|
62 |
$this->_url->addQueryString(PROJET_VARIABLE_ID_PROJET, $projet->getId()) ;
|
| Line 63... |
Line 63... |
| 63 |
|
63 |
|
| 64 |
// Recherche du forum
|
64 |
// Recherche du forum
|
| 65 |
if ($projet->avoirListe()) {
|
65 |
if ($projet->avoirListe()) {
|
| 66 |
$this->_url->addQueryString('act', PROJET_ACTION_VOIR_FORUM);
|
66 |
$this->_url->addQueryString('act', PROJET_ACTION_VOIR_FORUM);
|
| 67 |
$forum = '<a href="'.$this->_url->getURL().'"><img src="sites/commun/generique/images/favicones/tela_botanica.png" /></a>';
|
67 |
$forum = '<a href="'.$this->_url->getURL().'"><img src="sites/commun/generique/images/favicones/tela_botanica.png" alt="Tela Botanica"/></a>';
|
| Line 68... |
Line 68... |
| 68 |
} else {
|
68 |
} else {
|
| 69 |
|
69 |
|
| 70 |
include_once PROJET_CHEMIN_CLASSES.'liste_externe.class.php' ;
|
70 |
include_once PROJET_CHEMIN_CLASSES.'liste_externe.class.php' ;
|
| 71 |
$listes_ext = new liste_externe ($this->_db) ;
|
71 |
$listes_ext = new liste_externe ($this->_db) ;
|
| 72 |
$tableau_liste = $listes_ext->getListesAssociees($projet->getId()) ;
|
72 |
$tableau_liste = $listes_ext->getListesAssociees($projet->getId()) ;
|
| Line 73... |
Line 73... |
| 73 |
if (count($tableau_liste)) {
|
73 |
if (count($tableau_liste)) {
|
| 74 |
$info_liste = $listes_ext->getInfoListe($tableau_liste[0]) ;
|
74 |
$info_liste = $listes_ext->getInfoListe($tableau_liste[0]) ;
|
| 75 |
|
75 |
|
| 76 |
$forum = '<a href="'.$info_liste->AGO_A_URLGRP.
|
76 |
$forum = '<a href="'.$info_liste->AGO_A_URLGRP.
|
| 77 |
'"><img src="sites/commun/generique/images/favicones/yahoo.png" /></a>';
|
77 |
'"><img src="sites/commun/generique/images/favicones/yahoo.png" alt="Yahoo"/></a>';
|
| 78 |
} else {
|
78 |
} else {
|
| Line 116... |
Line 116... |
| 116 |
return $res ;
|
116 |
return $res ;
|
| Line 117... |
Line 117... |
| 117 |
|
117 |
|
| 118 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
118 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
| 119 |
*
|
119 |
*
|
| - |
|
120 |
* $Log: not supported by cvs2svn $
|
| - |
|
121 |
* Revision 1.2 2005/11/28 11:15:22 alexandre_tb
|
| - |
|
122 |
* nettoyage URL en sortie de programme
|
| 120 |
* $Log: not supported by cvs2svn $
|
123 |
*
|
| 121 |
* Revision 1.1 2005/11/25 14:47:51 alexandre_tb
|
124 |
* Revision 1.1 2005/11/25 14:47:51 alexandre_tb
|
| 122 |
* version initiale
|
125 |
* version initiale
|
| Line 123... |
Line 126... |
| 123 |
*
|
126 |
*
|