5
Hi Mamba,
I deleted the lines 50-51-52-76 out of formeditor.php
now it looks like this :
/**
* XoopsEditor hanlder
*
* @author D.J.
* @copyright copyright (c) 2000-2005 XOOPS.org
*
* @package kernel
* @subpackage form
*/
/**
* Constructor
*
* @param string $caption Caption
* @param string $name "name" attribute
* @param string $value Initial text
* @param array $configs configures
* @param bool $noHtml use non-WYSIWYG eitor onfailure
* @param string $OnFailure editor to be used if current one failed
*/
function XoopsFormEditor($caption, $name, $editor_configs = null, $noHtml=false, $OnFailure = "")
{
require_once XOOPS_ROOT_PATH.'/class/xoopseditor/xoopseditor.php';
$this->XoopsFormTextArea($caption, $editor_configs["name"]);
$editor_handler =& new XoopsEditorHandler();
$this->editor =& $editor_handler->get($name, $editor_configs, $noHtml, $OnFailure);
}
function render()
{
return $this->editor->render();
}
?>
Also i deleted the lines 46-47-70 in formselecteditor.php
Looking like this :
* A select box with available editors
*
* @package kernel
* @subpackage form
*
* @author phppp (D.J.)
* @copyright copyright (c) 2000-2003 XOOPS.org
*/
/**
* Constructor
*
* @param object $form the form calling the editor selection
* @param string $name editor name
* @param string $value Pre-selected text value
* @param bool $noHtml dohtml disabled
*/
function XoopsFormSelectEditor(&$form, $name="editor", $value=null, $noHtml=false)
{
$this->XoopsFormElementTray(_SELECT);
$editor_handler =& new XoopsEditorHandler();
$option_select = new XoopsFormSelect("", $name, $value);
$extra = 'onchange="if(this.options[this.selectedIndex].value.length > 0 ){
window.document.forms.'.$form->getName().'.submit();
}"';
$option_select->setExtra($extra);
$option_select->addOptionArray($editor_handler->getList($noHtml));
$this->addElement($option_select);
}
?>
The results of that are, i can see all the pages within the admin section, create a new pages, set permisions for vieuwing the page(s)and so on..
When vieuwing the created pages i notice that when creating an pages and inserting a emocon it won't show the emocon in the created page. Swf files is no problem at all.
That's all the things i found out till know.
Greetz,
Peter