群組選單:(含訪客預設false,多選預設false)
$元件變數=new XoopsFormSelectGroup('標題', 'name', 含訪客, '值', 大小 ,多選);
$SelectGroup_name = new XoopsFormSelectGroup("", "add_group", false, $add_group, 4, true); $SelectGroup_name->addOption("","全部開放", false); $add_group = $SelectGroup_name->render(); $SelectGroup_name2 = new XoopsFormSelectGroup("", "view_group", false, $view_group, 4, true); $SelectGroup_name2->addOption("","全部開放", false); $view_group = $SelectGroup_name2->render();
沒有留言:
張貼留言