Subversion Repositories Applications.projet

Rev

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

Rev 137 Rev 153
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: liste.php,v 1.3 2006-09-18 09:56:28 alexandre_tb Exp $
22
// CVS : $Id: liste.php,v 1.4 2006-12-18 17:24:09 alexandre_tb Exp $
23
/**
23
/**
24
* Application projet
24
* Application projet
25
*
25
*
26
* Fichier de présentation de la liste des projets
26
* Fichier de présentation de la liste des projets
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.3 $
34
*@version       $Revision: 1.4 $
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
36
*/
36
*/
Line 37... Line 37...
37
 
37
 
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
39
// |                                            ENTETE du PROGRAMME                                       |
39
// |                                            ENTETE du PROGRAMME                                       |
Line 40... Line 40...
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
Line 41... Line 41...
41
 
41
 
42
$titre = '<h1>'.PROJET_LISTE.'</h1>'."\n" ;
42
$titre = '<h1>'.PROJET_LISTE.'</h1>'."\n" ;
43
 
43
 
44
// On inclue un fichier local
44
// On inclue un fichier local
45
if (file_exists(PROJET_CHEMIN_APPLI.'langues/pro_langues_fr.local.inc.php'))
-
 
-
 
45
if (file_exists(PROJET_CHEMIN_APPLI.'langues/pro_langue_'.$GLOBALS['lang'].'.local.inc.php'))
46
	include_once PROJET_CHEMIN_APPLI.'langues/pro_langues_fr.local.inc.php' ;
46
	include_once PROJET_CHEMIN_APPLI.'langues/pro_langue_'.$GLOBALS['lang'].'.local.inc.php' ;
Line 47... Line 47...
47
// On vérifie si l'utilisateur participe à des projets
47
// On vérifie si l'utilisateur participe à des projets
48
 
48
//echo PROJET_CHEMIN_APPLI.'langues/pro_langue_'.$GLOBALS['lang'].'.local.inc.php';
49
// Entete de la liste, qu'on recupere dans un template
49
// Entete de la liste, qu'on recupere dans un template
Line 135... Line 135...
135
if (!$auth) {
135
if (!$auth) {
136
    $res .= '<p>'.PROJET_TEXTE_NON_IDENTIFIE.'</p>'."\n" ;
136
    $res .= '<p>'.PROJET_TEXTE_NON_IDENTIFIE.'</p>'."\n" ;
137
}
137
}
Line 138... Line 138...
138
 
138
 
139
// Maintenant la liste des projets où l'utilisateur ne participe pas.
139
// Maintenant la liste des projets où l'utilisateur ne participe pas.
140
// Et si pas loggué tous les projets
140
// Et si pas logué tous les projets
141
if ($auth) {
141
if ($auth) {
142
    $projetNonParticipantListe = $participant -> getProjetsNonParticipant($id_u) ;
142
    $projetNonParticipantListe = $participant -> getProjetsNonParticipant($id_u) ;
143
    // Si certain projet sont à exclure, on les exclu
143
    // Si certain projet sont à exclure, on les exclu
144
    $projet_a_exclure = array() ;
144
    $projet_a_exclure = array() ;
Line 216... Line 216...
216
return $titre.$res ;
216
return $titre.$res ;
Line 217... Line 217...
217
 
217
 
218
/* +--Fin du code ----------------------------------------------------------------------------------------+
218
/* +--Fin du code ----------------------------------------------------------------------------------------+
219
*
219
*
-
 
220
* $Log: not supported by cvs2svn $
-
 
221
* Revision 1.3  2006/09/18 09:56:28  alexandre_tb
-
 
222
* utilisation d'un template pour l'entête de la liste des projets
220
* $Log: not supported by cvs2svn $
223
*
221
* Revision 1.2  2005/11/28 16:25:23  alexandre_tb
224
* Revision 1.2  2005/11/28 16:25:23  alexandre_tb
222
* nettoyage URL en sortie de programme
225
* nettoyage URL en sortie de programme
223
*
226
*
224
* Revision 1.1  2005/11/25 14:47:51  alexandre_tb
227
* Revision 1.1  2005/11/25 14:47:51  alexandre_tb