Implementierung von Tiny MCEpre-alpha status Vielleicht auch lieber den hier: einbinden | |
<input name="gui" class="OkBtn" onmouseover='this.className="OkBtn_";' onmouseout='this.className="OkBtn";' type="submit" align="top" value="<?php echo $this->GetResourceValue("EditGuiButton"); ?>" onclick="document.location='<?php echo addslashes($this->href(""))?>';"/>
if ($_POST["gui"]) { <!-- tinyMCE --> <script language="javascript" type="text/javascript" src=" echo $this->GetConfigValue("root_url");js/tiny_mce/tiny_mce.js"></script> <script language="javascript" type="text/javascript"> // Notice: The simple theme does not use all options some of them are limited to the advanced theme tinyMCE.init({ mode : "textareas", theme : "advanced", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_path_location : "bottom", theme_advanced_styles : "notice=cite;notice blue=cl-blue;notice green=cl-green;notice red=cl-red;mark red=mark", content_css : " echo $this->GetConfigValue("theme_url") css/wakka.css", plugins: "wacko" }); function customSave(id, content) { edit.submit(); } </script> <!-- /tinyMCE --> }