Subversion Repositories Applications.projet

Rev

Rev 432 | Rev 447 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 432 Rev 444
Line 49... Line 49...
49
// creation de l'objet projet courant
49
// creation de l'objet projet courant
50
include_once PROJET_CHEMIN_CLASSES.'projet.class.php' ;
50
include_once PROJET_CHEMIN_CLASSES.'projet.class.php' ;
51
include_once PROJET_CHEMIN_CLASSES.'participe.class.php' ;
51
include_once PROJET_CHEMIN_CLASSES.'participe.class.php' ;
52
$projet = new projet ($this->_db, $this->_id_projet) ;
52
$projet = new projet ($this->_db, $this->_id_projet) ;
Line -... Line 53...
-
 
53
 
-
 
54
// modification meta OpenGraph pour un titre plus sympatoche
-
 
55
GEN_modifierMetaProperty('og:title', 'Projet : ' . $projet->getTitre());
Line 53... Line 56...
53
 
56
 
54
 
57
 
55
/** Bloc resume avec lien resume */
58
/** Bloc resume avec lien resume */
56
$resume = $projet->getResume();
59
$resume = $projet->getResume();
Line 208... Line 211...
208
$vue_liste_document->construitListe ($liste_documents, $droits, 'ignore_repertoire', $this->_db) ;
211
$vue_liste_document->construitListe ($liste_documents, $droits, 'ignore_repertoire', $this->_db) ;
Line 209... Line 212...
209
 
212
 
210
$wiki_res = '' ;
213
$wiki_res = '' ;
211
// Les wikinis associes au projet
214
// Les wikinis associes au projet
212
if ($wiki = $projet->getWikini()) {
215
if ($wiki = $projet->getWikini()) {
213
	if (strpos($wiki, "http://www.tela-botanica.org/wikini/") === 0) {// Si le wiki, ne peut pas être intégré
216
	if (strpos($wiki, "http://www.tela-botanica.org/wikini/") === 0) {// Si le wiki, ne peut pas �tre int�gr�
214
		$wiki_res .= '<div style="line-height: 2em;">'.sprintf(PROJET_WIKINI_PAS_REDIR, $wiki).'</div>'."\n";
217
		$wiki_res .= '<div style="line-height: 2em;">'.sprintf(PROJET_WIKINI_PAS_REDIR, $wiki).'</div>'."\n";
215
	} else {
218
	} else {
216
		$url = $GLOBALS['_GEN_commun']['url'] ;
219
		$url = $GLOBALS['_GEN_commun']['url'] ;
217
		$this->_url->addQueryString ('act',PROJET_ACTION_VOIR_WIKINI);
220
		$this->_url->addQueryString ('act',PROJET_ACTION_VOIR_WIKINI);