API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Variables | |
$modid = isset($_POST['modid']) ? (int)$_POST['modid'] : 0 | |
if($modid<=1||!is_object($xoopsUser)||! $xoopsUser->isAdmin($modid)) | $module_handler = xoops_getHandler('module') |
$module = $module_handler->get($modid) | |
if(!is_object($module)||! $module->getVar('isactive')) | $msg = array() |
$member_handler = xoops_getHandler('member') | |
$group_list = $member_handler->getGroupList() | |
if(is_array($_POST['perms']) &&!empty($_POST['perms'])) | $backlink = xoops_getenv('HTTP_REFERER') |
if ( $module->getVar( 'hasadmin')) $backlink = xoops_getenv('HTTP_REFERER') |
$group_list = $member_handler->getGroupList() |
$member_handler = xoops_getHandler('member') |
$modid = isset($_POST['modid']) ? (int)$_POST['modid'] : 0 |
$module = $module_handler->get($modid) |
if ( $modid<=1||!is_object( $xoopsUser)||! $xoopsUser->isAdmin( $modid)) $module_handler = xoops_getHandler('module') |
if (!is_object( $module)||! $module->getVar( 'isactive')) $msg = array() |