private function value() { global $thulit; global $smarty; $edit_id = $_GET['edit_id']; $parent_id = $_GET['parent_id']; $child = get_children_by_id($edit_id); $parent = get_children_by_id($parent_id); if (isset($_GET['return'])) { $smarty->assign('return', $_GET['return']); } else { $smarty->assign('return', 'index'); } require_once $thulit['modules_path'] . $thulit['modules_prefix'] . $child['node_type'] . ".php"; eval("module_" . $child['node_type'] . "::_display(\$child, \$parent, '1');"); }
static function _save($edit_id) { $node = get_children_by_id($edit_id); $_self = new module_text($node, null, '-1'); }