Wiki source for Mod022fWikiEditGUIEditor


Show raw source

==== Wikka Mod 022 ====
Type: Feature Addition
----
===Credit:===
WikiEdit© Roman “Kukutz” Ivanov (mailto:thingol@mail.ru), 2003–2004
Based on Auto Indent for textarea, © Roman “Kukutz” Ivanov, Evgeny Nedelko, 2003
http://wackowiki.com/wikiedit/
----
Screenshot:
http://wikka.jsnx.com/images/wikiedit.gif

- Tweaked wikiedit2.js some.

- Added a new value to wakka.config.php: "gui_editor" => 1,

- Added code to handlers/page/edit.php at the appropriate place.

%%(php)

if ($this->GetConfigValue("gui_editor") == 1) {
$output .=
"<script language=\"JavaScript\" src=\"".$this->config['base_url']."wikiedit2/protoedit.js\"></script>\n".
"<script language=\"JavaScript\" src=\"".$this->config['base_url']."wikiedit2/wikiedit2.js\"></script>\n";
$output .= "<script type=\"text/javascript\"> wE = new WikiEdit(); wE.init('body','WikkaEdit','editornamecss');</script>\n";
}


%%
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki