| Line 17... |
Line 17... |
| 17 |
// | |
|
17 |
// | |
|
| 18 |
// | You should have received a copy of the GNU General Public |
|
18 |
// | You should have received a copy of the GNU General Public |
|
| 19 |
// | License along with this library; if not, write to the Free Software |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
| 20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
| 21 |
// +------------------------------------------------------------------------------------------------------+
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
| 22 |
// CVS : $Id: wikini.php,v 1.2 2005-09-27 16:43:53 alexandre_tb Exp $
|
22 |
// CVS : $Id: wikini.php,v 1.3 2005-10-17 13:41:35 ddelon Exp $
|
| 23 |
/**
|
23 |
/**
|
| 24 |
* Application projet
|
24 |
* Application projet
|
| 25 |
*
|
25 |
*
|
| 26 |
* Action participants
|
26 |
* Action participants
|
| 27 |
*
|
27 |
*
|
| Line 29... |
Line 29... |
| 29 |
//Auteur original :
|
29 |
//Auteur original :
|
| 30 |
*@author Alexandre Granier <alexandre@tela-botanica.org>
|
30 |
*@author Alexandre Granier <alexandre@tela-botanica.org>
|
| 31 |
//Autres auteurs :
|
31 |
//Autres auteurs :
|
| 32 |
*@author Aucun
|
32 |
*@author Aucun
|
| 33 |
*@copyright Tela-Botanica 2000-2005
|
33 |
*@copyright Tela-Botanica 2000-2005
|
| 34 |
*@version $Revision: 1.2 $
|
34 |
*@version $Revision: 1.3 $
|
| 35 |
// +------------------------------------------------------------------------------------------------------+
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
| 36 |
*/
|
36 |
*/
|
| Line 37... |
Line 37... |
| 37 |
|
37 |
|
| 38 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
| Line 42... |
Line 42... |
| 42 |
// RAPPEL IMPORTANT
|
42 |
// RAPPEL IMPORTANT
|
| 43 |
// On se situe dans la méthode run() de la classe projetControleur
|
43 |
// On se situe dans la méthode run() de la classe projetControleur
|
| 44 |
//
|
44 |
//
|
| Line -... |
Line 45... |
| - |
|
45 |
|
| 45 |
|
46 |
|
| 46 |
|
47 |
|
| 47 |
$res = '' ;
|
- |
|
| 48 |
$projet = new projet ($this->_db, $this->_id_projet) ;
|
- |
|
| Line 49... |
Line 48... |
| 49 |
$retour .= '<h1>'.PROJET_PROJET.' : '.$projet->getTitre()."</h1>" ;
|
48 |
$res = '' ;
|
| 50 |
$titre = '<h2>'.PROJET_WIKI_ASSOCIE.'</h2>'."\n" ;
|
49 |
$projet = new projet ($this->_db, $this->_id_projet) ;
|
| 51 |
|
50 |
|
| - |
|
51 |
$wiki_res = '' ;
|
| - |
|
52 |
// Les wikinis associés au projet
|
| - |
|
53 |
if ($wiki=$projet->getWikini()) {
|
| - |
|
54 |
|
| - |
|
55 |
$GLOBALS['_GEN_commun']['info_application']->wikini = $wiki;
|
| - |
|
56 |
$GLOBALS['_GEN_commun']['url']->addQueryString('act','wikini');
|
| - |
|
57 |
require_once 'client/integrateur_wikini/bibliotheque/iw_integrateur.fonct.php';
|
| 52 |
$wiki_res = '' ;
|
58 |
|
| 53 |
// Les wikinis associés au projet
|
59 |
//$wiki_res.="TODO : placer integrateur wikini en fonction puis appeller integrateur_wikini et integrateur_wikini_projet";
|
| 54 |
if ($projet->getWikini()) {
|
60 |
$wiki_res.= afficherPageWikini();
|
| 55 |
$wiki_res .= '<div><a href="'.PROJET_URL_WIKINI.'wakka.php?wiki=PagePrincipale&wikini='.$projet->getWikini().'" target="_blank">'.PROJET_WIKINI_ALLER.'</a>' ;
|
61 |
//$wiki_res .= '<div><a href="'.PROJET_URL_WIKINI.'wakka.php?wiki=PagePrincipale&wikini='.$projet->getWikini().'" target="_blank">'.PROJET_WIKINI_ALLER.'</a>' ;
|
| 56 |
$wiki_res .= '</div>' ;
|
62 |
//$wiki_res .= '</div>' ;
|
| Line 57... |
Line 63... |
| 57 |
} else {
|
63 |
} else {
|
| Line 58... |
Line 64... |
| 58 |
$wiki_res .= '<div>'.PROJET_WIKINI_PAS.'</div>'."\n" ;
|
64 |
$wiki_res .= '<div>'.PROJET_WIKINI_PAS.'</div>'."\n" ;
|
| 59 |
}
|
65 |
}
|