19,7 → 19,7 |
// | License along with this library; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: projet.php,v 1.9 2005-11-25 14:48:44 alexandre_tb Exp $ |
// CVS : $Id: projet.php,v 1.10 2005-12-01 16:38:32 alexandre_tb Exp $ |
/** |
* Application projet |
* |
31,7 → 31,7 |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.9 $ |
*@version $Revision: 1.10 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
122,9 → 122,23 |
(($GLOBALS['_GEN_commun']['info_application']->presentation == 'arbre') || |
($GLOBALS['_GEN_commun']['info_application']->presentation == 'liste') |
||($GLOBALS['_GEN_commun']['info_application']->presentation == 'tela'))){ |
|
$sortie .= $controleur->menuGeneral() ; |
} |
|
if (isset($GLOBALS['_GEN_commun']['info_application']->seulement)) { |
$controleur->setIdProjet($GLOBALS['_GEN_commun']['info_application']->seulement) ; |
} |
if (isset($GLOBALS['_GEN_commun']['info_application']->telechargement)) { |
// L'action "Mettre un fichier en ligne" |
$controleur->_url->addQueryString(PROJET_VARIABLE_ACTION, PROJET_NOUVEAU_FICHIER) ; |
$res = "<ul><li><a href=\"".$controleur->_url->getURL()."\">".PROJET_METTRE_FICHIER."</a></li>\n" ; |
|
// L'action créer un répertoire |
$controleur->_url->addQueryString(PROJET_VARIABLE_ACTION, PROJET_NOUVEAU_REPERTOIRE) ; |
$res .= "<li><a href=\"".$controleur->_url->getURL()."\">".PROJET_CREER_REP."</a></li>\n" ; |
$res .= '</ul></li>' ; |
$sortie .= $res ; |
} |
// Dans le cas d'un forum simple, on ne met pas les menus |
if (isset ($GLOBALS['_GEN_commun']['info_application']->seulement_forum)) { |
return ; |
183,6 → 197,10 |
if (!isset($_REQUEST[PROJET_VARIABLE_ACTION])) $controleur->setAction (PROJET_ACTION_VOIR_FORUM) ; |
} |
|
if (isset($GLOBALS['_GEN_commun']['info_application']->telechargement)) { |
if (!isset($_REQUEST[PROJET_VARIABLE_ACTION])) $controleur->setAction (PROJET_ACTION_VOIR_DOCUMENT) ; |
} |
|
if (isset ($GLOBALS['_GEN_commun']['info_application']->seulement)) { |
$controleur->setIdProjet($GLOBALS['_GEN_commun']['info_application']->seulement) ; |
} |
210,6 → 228,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.9 2005/11/25 14:48:44 alexandre_tb |
* ajout de la gestion de la présentation tela |
* |
* Revision 1.8 2005/10/25 13:50:13 alexandre_tb |
* Ajout de la gestion des projets privés |
* |