Subversion Repositories Sites.tela-botanica.org

Rev

Rev 609 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
420 florian 1
<?php
2
// Partie publique
3
 
4
if (!defined("WIKINI_VERSION"))
5
{
6
        die ("acc&egrave;s direct interdit");
7
}
8
 
9
$wikiClasses [] = 'Aceditor';
10
$wikiClassesContent [] = '
11
 
12
	function FormOpen($method = "", $tag = "", $formMethod = "post") {
13
 
14
		if (ereg("edit$", $this->href($method, $tag))) {
15
			$result = "<form id=\"ACEditor\" name=\"ACEditor\" action=\"".$this->href($method, $tag)."\" method=\"".$formMethod."\">\n";
16
		} else {
17
		$result = "<form action=\"".$this->href($method, $tag)."\" method=\"".$formMethod."\">\n";
18
		}
19
 
20
		if (!$this->config["rewrite_mode"]) $result .= "<input type=\"hidden\" name=\"wiki\" value=\"".$this->MiniHref($method, $tag)."\" />\n";
21
		return $result;
22
	}
23
';