1
Hi,
My Code:
include '../../../include/cp_header.php';
include_once XOOPS_ROOT_PATH . "/class/xoopslists.php";
include_once XOOPS_ROOT_PATH.'/class/xoopsform/grouppermform.php';
xoops_cp_header();
//Approver Form
$title_of_form = "tester";
$perm_name = "team_read";
$perm_desc = "tadfasdf";
$module_id = $xoopsModule->getVar('mid');
$approveform = new XoopsGroupPermForm($title_of_form, $module_id, $perm_name, $perm_desc);
$xt = new XoopsTopic( $xoopsDB -> prefix( "topics" ) );
$alltopics =& $xt->getTopicsList();
$approveform->addItem("1", "titel", 6);
$approveform->addItem("2", "titel2", 62);
$approveform->addItem("3", "titel3", 63);
echo $approveform->render();
unset ($approveform);
xoops_cp_footer();
?>
I try to better the team Modul but the first Problem's came with simple thinks like this
![](https://xoops.org/uploads/smil42e7a65fee35d.gif)
Did anyone know why it didn't work?
The most of this code is Copied from News Modul.
thx
wdsl