Subversion Repositories Applications.projet

Rev

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

Rev 19 Rev 29
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: projet.php,v 1.5 2005-10-04 10:06:32 alexandre_tb Exp $
22
// CVS : $Id: projet.php,v 1.6 2005-10-06 14:54:06 alexandre_tb Exp $
23
/**
23
/**
24
* Application projet
24
* Application projet
25
*
25
*
26
* Fichier d'appel pour papyrus
26
* Fichier d'appel pour papyrus
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.5 $
34
*@version       $Revision: 1.6 $
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
36
*/
36
*/
Line 37... Line 37...
37
 
37
 
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
Line 113... Line 113...
113
    
113
    
114
    // Dans le cas de la présentation par arbre, on met les menus
114
    // Dans le cas de la présentation par arbre, on met les menus
115
    if (isset($GLOBALS['_GEN_commun']['info_application']->presentation) && (($GLOBALS['_GEN_commun']['info_application']->presentation == 'arbre') || ($GLOBALS['_GEN_commun']['info_application']->presentation == 'liste'))){
115
    if (isset($GLOBALS['_GEN_commun']['info_application']->presentation) && (($GLOBALS['_GEN_commun']['info_application']->presentation == 'arbre') || ($GLOBALS['_GEN_commun']['info_application']->presentation == 'liste'))){
116
        $sortie .= $controleur->menuGeneral() ;
116
        $sortie .= $controleur->menuGeneral() ;
-
 
117
    }
-
 
118
    
-
 
119
    // Dans le cas d'un forum simple, on ne met pas les menus
-
 
120
    if (isset ($GLOBALS['_GEN_commun']['info_application']->seulement_forum)) {
-
 
121
        	return ;
117
    }
122
    }
118
    return $sortie;
123
    return $sortie;
Line 119... Line 124...
119
}
124
}
Line 158... Line 163...
158
    }
163
    }
159
    if (isset($GLOBALS['_GEN_commun']['info_application']->projet_type)) {
164
    if (isset($GLOBALS['_GEN_commun']['info_application']->projet_type)) {
160
        $controleur->setType($GLOBALS['_GEN_commun']['info_application']->projet_type) ;
165
        $controleur->setType($GLOBALS['_GEN_commun']['info_application']->projet_type) ;
161
    }
166
    }
162
    if (isset ($GLOBALS['_GEN_commun']['info_application']->exclure)) {
167
    if (isset ($GLOBALS['_GEN_commun']['info_application']->exclure)) {
163
        $controleur->exclure($GLOBALS['_GEN_commun']['info_application']->exclure) ;
168
    	$a_exclure = explode (',', $GLOBALS['_GEN_commun']['info_application']->exclure) ;
-
 
169
        foreach ($a_exclure as $valeur) $controleur->exclure($valeur) ;
164
    }
170
    }
165
    if (isset ($GLOBALS['_GEN_commun']['info_application']->seulement_forum)) {
171
    if (isset ($GLOBALS['_GEN_commun']['info_application']->seulement_forum)) {
166
        $controleur->setIdProjet($GLOBALS['_GEN_commun']['info_application']->seulement_forum) ;
172
        $controleur->setIdProjet($GLOBALS['_GEN_commun']['info_application']->seulement_forum) ;
167
        $controleur->setAction (PROJET_ACTION_VOIR_FORUM) ;
173
        $controleur->setAction (PROJET_ACTION_VOIR_FORUM) ;
168
    }
174
    }
Line 182... Line 188...
182
    return $class ;
188
    return $class ;
183
}
189
}
184
/* +--Fin du code ----------------------------------------------------------------------------------------+
190
/* +--Fin du code ----------------------------------------------------------------------------------------+
185
*
191
*
186
* $Log: not supported by cvs2svn $
192
* $Log: not supported by cvs2svn $
-
 
193
* Revision 1.5  2005/10/04 10:06:32  alexandre_tb
-
 
194
* ajout du parametre seulement_forum
-
 
195
*
187
* Revision 1.4  2005/09/28 16:29:39  ddelon
196
* Revision 1.4  2005/09/28 16:29:39  ddelon
188
* Merge modification projet
197
* Merge modification projet
189
*
198
*
190
* Revision 1.3  2005/09/27 16:31:06  alexandre_tb
199
* Revision 1.3  2005/09/27 16:31:06  alexandre_tb
191
* ??
200
* ??