Line 19... |
Line 19... |
19 |
// | |
|
19 |
// | |
|
20 |
// | You should have received a copy of the GNU General Public License |
|
20 |
// | You should have received a copy of the GNU General Public License |
|
21 |
// | along with Foobar; if not, write to the Free Software |
|
21 |
// | along with Foobar; if not, write to the Free Software |
|
22 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
22 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
23 |
// +------------------------------------------------------------------------------------------------------+
|
23 |
// +------------------------------------------------------------------------------------------------------+
|
24 |
// CVS : $Id: iw_integrateur.fonct.php,v 1.11 2005-12-09 17:29:51 florian Exp $
|
24 |
// CVS : $Id: iw_integrateur.fonct.php,v 1.12 2005-12-27 15:28:18 ddelon Exp $
|
25 |
/**
|
25 |
/**
|
26 |
* Fonctions de l'integrateur de page Wikini
|
26 |
* Fonctions de l'integrateur de page Wikini
|
27 |
*
|
27 |
*
|
28 |
* Application permettant d'intégrer des pages wikini dans Papyrus.
|
28 |
* Application permettant d'intégrer des pages wikini dans Papyrus.
|
29 |
*
|
29 |
*
|
Line 31... |
Line 31... |
31 |
//Auteur original :
|
31 |
//Auteur original :
|
32 |
*@author David Delon <david.delon@clapas.net>
|
32 |
*@author David Delon <david.delon@clapas.net>
|
33 |
//Autres auteurs :
|
33 |
//Autres auteurs :
|
34 |
*@author Aucun
|
34 |
*@author Aucun
|
35 |
*@copyright Tela-Botanica 2000-2004
|
35 |
*@copyright Tela-Botanica 2000-2004
|
36 |
*@version $Revision: 1.11 $ $Date: 2005-12-09 17:29:51 $
|
36 |
*@version $Revision: 1.12 $ $Date: 2005-12-27 15:28:18 $
|
37 |
*
|
37 |
*
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
39 |
// | ENTETE du PROGRAMME |
|
39 |
// | ENTETE du PROGRAMME |
|
40 |
// +------------------------------------------------------------------------------------------------------+
|
40 |
// +------------------------------------------------------------------------------------------------------+
|
Line 422... |
Line 422... |
422 |
$sortie.= ob_get_contents();
|
422 |
$sortie.= ob_get_contents();
|
423 |
ob_end_clean();
|
423 |
ob_end_clean();
|
Line 424... |
Line 424... |
424 |
|
424 |
|
Line -... |
Line 425... |
- |
|
425 |
$GLOBALS['_PAPYRUS_']['erreur']->setActive(1);
|
425 |
$GLOBALS['_PAPYRUS_']['erreur']->setActive(1);
|
426 |
|
- |
|
427 |
|
426 |
|
428 |
//return remplacerEntiteHTLM("<div id=\"wikini_page\" onLoad=\"thisForm=document.ACEditor;\" ondblclick=\"document.location='".$wiki->href("edit")."';"."\">"."\n".$sortie.'</div>'."\n");
|
- |
|
429 |
if ($method!="edit") {
|
- |
|
430 |
return remplacerEntiteHTLM("<script type=\"text/javascript\" src=\"".IW_CHEMIN_BIBLIO_ACEDITOR."ACeditor.js\"></script><div id=\"wikini_page\" ondblclick=\"document.location='".$wiki->href("edit")."';"."\">"."\n".$sortie.'</div>'."\n");
|
- |
|
431 |
}
|
- |
|
432 |
else {
|
Line 427... |
Line 433... |
427 |
//return remplacerEntiteHTLM("<div id=\"wikini_page\" onLoad=\"thisForm=document.ACEditor;\" ondblclick=\"document.location='".$wiki->href("edit")."';"."\">"."\n".$sortie.'</div>'."\n");
|
433 |
return remplacerEntiteHTLM("<script type=\"text/javascript\" src=\"".IW_CHEMIN_BIBLIO_ACEDITOR."ACeditor.js\"></script><div id=\"wikini_page\">"."\n".$sortie.'</div>'."\n");
|
Line 428... |
Line 434... |
428 |
return remplacerEntiteHTLM("<script type=\"text/javascript\" src=\"".IW_CHEMIN_BIBLIO_ACEDITOR."ACeditor.js\"></script><div id=\"wikini_page\" ondblclick=\"document.location='".$wiki->href("edit")."';"."\">"."\n".$sortie.'</div>'."\n");
|
434 |
}
|
429 |
|
435 |
|