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: forums.php,v 1.5 2005-10-17 16:19:51 alexandre_tb Exp $
|
22 |
// CVS : $Id: forums.php,v 1.6 2005-10-20 10:28:25 ddelon Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Application projet
|
24 |
* Application projet
|
25 |
*
|
25 |
*
|
26 |
* Action forums
|
26 |
* Action forums
|
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-2005
|
33 |
*@copyright Tela-Botanica 2000-2005
|
34 |
*@version $Revision: 1.5 $
|
34 |
*@version $Revision: 1.6 $
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
36 |
*/
|
36 |
*/
|
Line 37... |
Line 37... |
37 |
|
37 |
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
Line 49... |
Line 49... |
49 |
// création de l'objet projet courant
|
49 |
// création de l'objet projet courant
|
50 |
$projet = new projet ($this->_db, $this->_id_projet) ;
|
50 |
$projet = new projet ($this->_db, $this->_id_projet) ;
|
Line 51... |
Line 51... |
51 |
|
51 |
|
52 |
$liste_ext_res = '' ;
|
52 |
$liste_ext_res = '' ;
|
- |
|
53 |
$sortie_liste = '' ;
|
53 |
$sortie_liste = '' ;
|
54 |
$inscription_laius ='' ;
|
54 |
if ($projet->avoirListe()) {
|
55 |
if ($projet->avoirListe()) {
|
55 |
foreach ($projet->_listes_associes as $info_liste) {
|
56 |
foreach ($projet->_listes_associes as $info_liste) {
|
56 |
ob_start() ;
|
57 |
ob_start() ;
|
57 |
$id_u = $this->_auth->getAuthData(PROJET_CHAMPS_ID) ;
|
58 |
$id_u = $this->_auth->getAuthData(PROJET_CHAMPS_ID) ;
|
Line 181... |
Line 182... |
181 |
$info->forcehref = $this->_url->getURL();
|
182 |
$info->forcehref = $this->_url->getURL();
|
182 |
$info->listdir = $liste->listdir ;
|
183 |
$info->listdir = $liste->listdir ;
|
183 |
$info->listname = $info_liste->getNom();
|
184 |
$info->listname = $info_liste->getNom();
|
184 |
$info->listdomain = $info_liste->getDomaine() ;
|
185 |
$info->listdomain = $info_liste->getDomaine() ;
|
185 |
echo '[ '.$info->makelink('action=show_threads&actionargs[]='.$liste->actionargs[0], 'par fil de discussion').' ]' ;
|
186 |
echo '[ '.$info->makelink('action=show_threads&actionargs[]='.$liste->actionargs[0], 'par fil de discussion').' ]' ;
|
186 |
print'<h2>'.PROJET_MESSAGE_DU_MOIS.$GLOBALS['mois'][((int)substr($liste->actionargs[0],4,2) / 1)-1] .', ' .
|
187 |
// print'<h2>'.PROJET_MESSAGE_DU_MOIS.$GLOBALS['mois'][((int)substr($liste->actionargs[0],4,2) / 1)-1] .', ' .
|
187 |
substr($liste->actionargs[0],0,4). '</h2>'."\n" ;
|
188 |
substr($liste->actionargs[0],0,4). '</h2>'."\n" ;
|
188 |
if (!$info->show_month($liste->actionargs[0])) {
|
189 |
if (!$info->show_month($liste->actionargs[0])) {
|
189 |
echo 'Pas de message dans cette liste' ;
|
190 |
echo 'Pas de message dans cette liste' ;
|
190 |
}
|
191 |
}
|
191 |
break;
|
192 |
break;
|