Subversion Repositories Applications.projet

Rev

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

Rev 15 Rev 19
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.4 2005-09-28 16:29:39 ddelon Exp $
22
// CVS : $Id: projet.php,v 1.5 2005-10-04 10:06:32 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.4 $
34
*@version       $Revision: 1.5 $
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
36
*/
36
*/
Line 37... Line 37...
37
 
37
 
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
Line 81... Line 81...
81
            $GLOBALS['url']->addQueryString(PROJET_VARIABLE_ACTION, PROJET_ACTION_VOIR_PARTICIPANT) ;
81
            $GLOBALS['url']->addQueryString(PROJET_VARIABLE_ACTION, PROJET_ACTION_VOIR_PARTICIPANT) ;
82
            $res .= '<li class="'.cma(PROJET_ACTION_VOIR_PARTICIPANT).'"><a href="'.$GLOBALS['url']->getURL().'">Participants</a></li>';
82
            $res .= '<li class="'.cma(PROJET_ACTION_VOIR_PARTICIPANT).'"><a href="'.$GLOBALS['url']->getURL().'">Participants</a></li>';
83
            $res .= '</ul>';
83
            $res .= '</ul>';
84
            $GLOBALS['url']->removeQueryString (PROJET_VARIABLE_ACTION) ;
84
            $GLOBALS['url']->removeQueryString (PROJET_VARIABLE_ACTION) ;
85
        }
85
        }
-
 
86
        if (isset ($GLOBALS['_GEN_commun']['info_application']->seulement_forum)) {
-
 
87
        	return ;
-
 
88
    	}
86
        return $res ;
89
        return $res ;
87
    }
90
    }
88
}
91
}
Line 89... Line 92...
89
 
92
 
Line 157... Line 160...
157
        $controleur->setType($GLOBALS['_GEN_commun']['info_application']->projet_type) ;
160
        $controleur->setType($GLOBALS['_GEN_commun']['info_application']->projet_type) ;
158
    }
161
    }
159
    if (isset ($GLOBALS['_GEN_commun']['info_application']->exclure)) {
162
    if (isset ($GLOBALS['_GEN_commun']['info_application']->exclure)) {
160
        $controleur->exclure($GLOBALS['_GEN_commun']['info_application']->exclure) ;
163
        $controleur->exclure($GLOBALS['_GEN_commun']['info_application']->exclure) ;
161
    }
164
    }
-
 
165
    if (isset ($GLOBALS['_GEN_commun']['info_application']->seulement_forum)) {
-
 
166
        $controleur->setIdProjet($GLOBALS['_GEN_commun']['info_application']->seulement_forum) ;
-
 
167
        $controleur->setAction (PROJET_ACTION_VOIR_FORUM) ;
-
 
168
    }
162
    $res = $controleur->run() ;
169
    $res = $controleur->run() ;
163
    $GLOBALS['chrono_flash']['apres_doc'] = microtime() ;
-
 
-
 
170
 
164
    return $res ;
171
    return $res ;
165
}
172
}
Line 166... Line 173...
166
 
173
 
167
/** cma() calcule menu actif
174
/** cma() calcule menu actif
Line 175... Line 182...
175
    return $class ;
182
    return $class ;
176
}
183
}
177
/* +--Fin du code ----------------------------------------------------------------------------------------+
184
/* +--Fin du code ----------------------------------------------------------------------------------------+
178
*
185
*
179
* $Log: not supported by cvs2svn $
186
* $Log: not supported by cvs2svn $
-
 
187
* Revision 1.4  2005/09/28 16:29:39  ddelon
-
 
188
* Merge modification projet
-
 
189
*
180
* Revision 1.3  2005/09/27 16:31:06  alexandre_tb
190
* Revision 1.3  2005/09/27 16:31:06  alexandre_tb
181
* ??
191
* ??
182
*
192
*
183
*
193
*
184
* +-- Fin du code ----------------------------------------------------------------------------------------+
194
* +-- Fin du code ----------------------------------------------------------------------------------------+