| Line 79... |
Line 79... |
| 79 |
$label_url_inscription = 'S\'inscrire à ce projet';
|
79 |
$label_url_inscription = 'S\'inscrire à ce projet';
|
| 80 |
break;
|
80 |
break;
|
| 81 |
}
|
81 |
}
|
| 82 |
}
|
82 |
}
|
| 83 |
if ($wiki=$projet->getWikini()) {
|
83 |
if ($wiki=$projet->getWikini()) {
|
| 84 |
if ($projet->isModere()) {
|
84 |
if ($projet->isModere()) {
|
| 85 |
if ($this->_auth->getAuth()) {
|
85 |
if ($this->_auth->getAuth()) {
|
| 86 |
if ($participant->getStatutSurProjetCourant($this->_auth->getAuthData(PROJET_CHAMPS_ID), $projet->getId(), $this->_db) < 3) {
|
86 |
if ($participant->getStatutSurProjetCourant($this->_auth->getAuthData(PROJET_CHAMPS_ID), $projet->getId(), $this->_db) < 3) {
|
| 87 |
$wiki_res .= '<a href="http://'.$GLOBALS['_GEN_commun']['url']->host.'/'.
|
87 |
$wiki_res .= '<a href="http://'.$GLOBALS['_GEN_commun']['url']->host.'/'.
|
| 88 |
PROJET_CHEMIN_WIKINI.$projet->getWikini().'">'.PROJET_WIKINI_ALLER.'</a>';
|
88 |
PROJET_CHEMIN_WIKINI.$projet->getWikini().'">'.PROJET_WIKINI_ALLER.'</a>';
|
| 89 |
$GLOBALS['_GEN_commun']['info_application']->wikini = $wiki;
|
89 |
$GLOBALS['_GEN_commun']['info_application']->wikini = $wiki;
|
| Line 113... |
Line 113... |
| 113 |
require_once 'client/integrateur_wikini/bibliotheque/iw_integrateur.fonct.php';
|
113 |
require_once 'client/integrateur_wikini/bibliotheque/iw_integrateur.fonct.php';
|
| 114 |
$wiki_res.= afficherPageWikini();
|
114 |
$wiki_res.= afficherPageWikini();
|
| 115 |
$GLOBALS['_PAPYRUS_']['rendu']['CONTENU_MENU'] =afficherPageMenuWikini();
|
115 |
$GLOBALS['_PAPYRUS_']['rendu']['CONTENU_MENU'] =afficherPageMenuWikini();
|
| Line 116... |
Line 116... |
| 116 |
|
116 |
|
| - |
|
117 |
}
|
| - |
|
118 |
}
|
| - |
|
119 |
// le cas échéant, si un espace internet existe déjà sur /wikini/ celui-ci est proposé
|
| - |
|
120 |
elseif (strpos($projet->getEspaceInternet(), "http://www.tela-botanica.org/wikini/") === 0) {
|
| - |
|
121 |
$wiki_res .= '<div>'.sprintf(PROJET_WIKINI_PAS_REDIR, $projet->getEspaceInternet()).'</div>'."\n" ;
|
| 117 |
}
|
122 |
}
|
| 118 |
} else {
|
123 |
else {
|
| 119 |
$wiki_res .= '<div>'.PROJET_WIKINI_PAS.'</div>'."\n" ;
|
124 |
$wiki_res .= '<div>'.PROJET_WIKINI_PAS.'</div>'."\n" ;
|
| Line 120... |
Line 125... |
| 120 |
}
|
125 |
}
|
| 121 |
|
126 |
|