Subversion Repositories Applications.projet

Compare Revisions

Ignore whitespace Rev 400 → Rev 401

/trunk/actions/wikini.php
81,7 → 81,7
}
}
if ($wiki=$projet->getWikini()) {
if ($projet->isModere()) {
if ($projet->isModere()) {
if ($this->_auth->getAuth()) {
if ($participant->getStatutSurProjetCourant($this->_auth->getAuthData(PROJET_CHAMPS_ID), $projet->getId(), $this->_db) < 3) {
$wiki_res .= '<a href="http://'.$GLOBALS['_GEN_commun']['url']->host.'/'.
115,7 → 115,12
$GLOBALS['_PAPYRUS_']['rendu']['CONTENU_MENU'] =afficherPageMenuWikini();
 
}
} else {
}
// le cas échéant, si un espace internet existe déjà sur /wikini/ celui-ci est proposé
elseif (strpos($projet->getEspaceInternet(), "http://www.tela-botanica.org/wikini/") === 0) {
$wiki_res .= '<div>'.sprintf(PROJET_WIKINI_PAS_REDIR, $projet->getEspaceInternet()).'</div>'."\n" ;
}
else {
$wiki_res .= '<div>'.PROJET_WIKINI_PAS.'</div>'."\n" ;
}