Subversion Repositories Applications.projet

Compare Revisions

Ignore whitespace Rev 39 → Rev 40

/trunk/actions/wikini.php
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: wikini.php,v 1.2 2005-09-27 16:43:53 alexandre_tb Exp $
// CVS : $Id: wikini.php,v 1.3 2005-10-17 13:41:35 ddelon Exp $
/**
* Application projet
*
31,7 → 31,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2005
*@version $Revision: 1.2 $
*@version $Revision: 1.3 $
// +------------------------------------------------------------------------------------------------------+
*/
 
44,21 → 44,27
//
 
 
 
$res = '' ;
$projet = new projet ($this->_db, $this->_id_projet) ;
$retour .= '<h1>'.PROJET_PROJET.' : '.$projet->getTitre()."</h1>" ;
$titre = '<h2>'.PROJET_WIKI_ASSOCIE.'</h2>'."\n" ;
 
$wiki_res = '' ;
// Les wikinis associƩs au projet
if ($projet->getWikini()) {
$wiki_res .= '<div><a href="'.PROJET_URL_WIKINI.'wakka.php?wiki=PagePrincipale&wikini='.$projet->getWikini().'" target="_blank">'.PROJET_WIKINI_ALLER.'</a>' ;
$wiki_res .= '</div>' ;
if ($wiki=$projet->getWikini()) {
$GLOBALS['_GEN_commun']['info_application']->wikini = $wiki;
$GLOBALS['_GEN_commun']['url']->addQueryString('act','wikini');
require_once 'client/integrateur_wikini/bibliotheque/iw_integrateur.fonct.php';
//$wiki_res.="TODO : placer integrateur wikini en fonction puis appeller integrateur_wikini et integrateur_wikini_projet";
$wiki_res.= afficherPageWikini();
//$wiki_res .= '<div><a href="'.PROJET_URL_WIKINI.'wakka.php?wiki=PagePrincipale&wikini='.$projet->getWikini().'" target="_blank">'.PROJET_WIKINI_ALLER.'</a>' ;
//$wiki_res .= '</div>' ;
} else {
$wiki_res .= '<div>'.PROJET_WIKINI_PAS.'</div>'."\n" ;
}
 
$retour .= $titre.$wiki_res ;
$retour .= $wiki_res ;
 
 
?>