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" ;
}
 
/trunk/actions/resume.php
217,7 → 217,13
 
$wiki_res .= '<div><a href="'.$link.'">'.PROJET_ALLER_SUR_WIKINI.'</a> ('.$projet->getWikini().')' ;
$wiki_res .= '</div>' ;
} else {
}
// ou, le cas échéant et 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>'.PROJET_ESPACE_INTERNET.'</div>'."\n";
}
else {
$wiki_res .= '<div>'.PROJET_WIKINI_PAS.'</div>'."\n" ;
}
// On charge les listes de discussion du projet
320,4 → 326,4
* +-- Fin du code ----------------------------------------------------------------------------------------+
*/
 
?>
?>