3
i cant find get_xoopsSmilies function anywhere.
where is that?
i just find xoopsSmilies and use it like this:
xoopsSmilies($this->getName())
but it always shows at the top
of topic perfix and not bottom of editor.
i put it where ever in the dhtmlext editor render function but still it persist to be on top:
le="color: #000000"><?php function render() { $ret = '<script language="JavaScript" type="text/javascript" src="' . $this->_url . '/xoops.js"></script>'; $ret .= $this->_codeIcon()."<br />n"; $ret .= $this->_fontArray(); $ret .= "<input type='button' onclick="XoopsCheckLength('".$this->getName()."', '".$this->_maxlength."', '"._ALTLENGTH."', '"._ALTLENGTH_MAX."');" value=' ? ' />"; $ret .= "<br /><br />nn".xoopsSmilies($this->getName()); $ret .= "<textarea id='".$this->getName()."' name='".$this->getName()."' onselect="xoopsSavePosition('".$this->getName()."');" onclick="xoopsSavePosition('".$this->getName()."');" onkeyup="xoopsSavePosition('".$this->getName()."');" cols='".$this->getCols()."' rows='".$this->getRows()."'".$this->getExtra().">".$this->getValue()."</textarea><br />n"; $ret .= xoopsSmilies($this->getName()); return $ret; }