1
This code:
xoops_version.php
include_once XOOPS_ROOT_PATH . "/class/xoopslists.php";
$modversion["config"][$i]["name"] = "tdmcreate_editor";
$modversion["config"][$i]["title"] = "_MI_TDMCREATE_EDITOR";
$modversion["config"][$i]["description"] = "_MI_TDMCREATE_EDITOR_DESC";
$modversion["config"][$i]["formtype"] = "select";
$modversion["config"][$i]["valuetype"] = "text";
$modversion["config"][$i]["default"] = "dhtmltextarea";
$modversion["config"][$i]["options"] = XoopsLists::getDirListAsArray(XOOPS_ROOT_PATH . "/class/xoopseditor");
$modversion["config"][$i]["category"] = "global";
module_class.php
$editor_configs=array();
$editor_configs["name"] ="modules_description";
$editor_configs["value"] = $this->getVar('modules_description', 'e');
$editor_configs["rows"] = 5;
$editor_configs["cols"] = 100;
$editor_configs["width"] = "100%";
$editor_configs["height"] = "100px";
$editor_configs["editor"] = $GLOBALS['xoopsModuleConfig']['tdmcreate_editor'];
$form->addElement( new XoopsFormEditor(_AM_TDMCREATE_MODULES_DESCRIPTION, "modules_description", $editor_configs), true);
works well in xoops 2.5.3, while not work in xoops 2.5.4
It 'was changed XoopsLists class?