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.6 2005-10-06 14:54:06 alexandre_tb Exp $
|
22 |
// CVS : $Id: projet.php,v 1.7 2005-10-17 16:22:28 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.6 $
|
34 |
*@version $Revision: 1.7 $
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
36 |
*/
|
36 |
*/
|
Line 37... |
Line 37... |
37 |
|
37 |
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
Line 82... |
Line 82... |
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)) {
|
86 |
if (isset ($GLOBALS['_GEN_commun']['info_application']->seulement_forum)) {
|
87 |
return ;
|
87 |
$res = '' ;
|
88 |
}
|
88 |
}
|
89 |
return $res ;
|
89 |
return $res ;
|
90 |
}
|
90 |
}
|
91 |
}
|
91 |
}
|
Line 168... |
Line 168... |
168 |
$a_exclure = explode (',', $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) ;
|
169 |
foreach ($a_exclure as $valeur) $controleur->exclure($valeur) ;
|
170 |
}
|
170 |
}
|
171 |
if (isset ($GLOBALS['_GEN_commun']['info_application']->seulement_forum)) {
|
171 |
if (isset ($GLOBALS['_GEN_commun']['info_application']->seulement_forum)) {
|
172 |
$controleur->setIdProjet($GLOBALS['_GEN_commun']['info_application']->seulement_forum) ;
|
172 |
$controleur->setIdProjet($GLOBALS['_GEN_commun']['info_application']->seulement_forum) ;
|
- |
|
173 |
// S'il n'y a pas d'action en mode forum, on affiche l'onglet Forum
|
173 |
$controleur->setAction (PROJET_ACTION_VOIR_FORUM) ;
|
174 |
if (!isset($_REQUEST[PROJET_VARIABLE_ACTION])) $controleur->setAction (PROJET_ACTION_VOIR_FORUM) ;
|
174 |
}
|
175 |
}
|
175 |
$res = $controleur->run() ;
|
176 |
$res = $controleur->run() ;
|
Line 176... |
Line 177... |
176 |
|
177 |
|
177 |
return $res ;
|
178 |
return $res ;
|
Line 188... |
Line 189... |
188 |
return $class ;
|
189 |
return $class ;
|
189 |
}
|
190 |
}
|
190 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
191 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
191 |
*
|
192 |
*
|
192 |
* $Log: not supported by cvs2svn $
|
193 |
* $Log: not supported by cvs2svn $
|
- |
|
194 |
* Revision 1.6 2005/10/06 14:54:06 alexandre_tb
|
- |
|
195 |
* ajout de la gestion du paramètre seulement_forum
|
- |
|
196 |
*
|
193 |
* Revision 1.5 2005/10/04 10:06:32 alexandre_tb
|
197 |
* Revision 1.5 2005/10/04 10:06:32 alexandre_tb
|
194 |
* ajout du parametre seulement_forum
|
198 |
* ajout du parametre seulement_forum
|
195 |
*
|
199 |
*
|
196 |
* Revision 1.4 2005/09/28 16:29:39 ddelon
|
200 |
* Revision 1.4 2005/09/28 16:29:39 ddelon
|
197 |
* Merge modification projet
|
201 |
* Merge modification projet
|