XOOPS API 2.5.11 Beta1
UI v0.5
Réalisé par monxoops.fr
|
Variables | |
if(!is_object($xoopsUser)||!is_object($xoopsModule)||! $xoopsUser->isAdmin($xoopsModule->getVar('mid'))) if(!xoops_getModuleOption('active_comments', 'system')) | $op = Request::getString('op', 'default') |
$GLOBALS ['xoopsOption']['template_main'] = 'system_comments.tpl' | |
$limit_array = array(20, 50, 100) | |
$status_array = array(XOOPS_COMMENT_PENDING => _CM_PENDING, XOOPS_COMMENT_ACTIVE => _CM_ACTIVE, XOOPS_COMMENT_HIDDEN => _CM_HIDDEN) | |
$status_array2 | |
$start = 0 | |
$status_array [0] = _AM_SYSTEM_COMMENTS_FORM_ALL_STATUS | |
$comments = array() | |
$status = (!isset($_REQUEST['status']) || !array_key_exists((int)$_REQUEST['status'], $status_array)) ? 0 : (int)$_REQUEST['status'] | |
$module = !isset($_REQUEST['module']) ? 0 : (int)$_REQUEST['module'] | |
$modules_Handler = xoops_getHandler('module') | |
$module_array = $modules_Handler->getList(new Criteria('hascomments', 1)) | |
$module_array [0] = _AM_SYSTEM_COMMENTS_FORM_ALL_MODS | |
$comment_handler = xoops_getHandler('comment') | |
$comment_handler = xoops_getHandler('comment') |
$comments = array() |
$GLOBALS[ 'xoopsOption'][ 'template_main'] = 'system_comments.tpl' |
$limit_array = array(20, 50, 100) |
$module_array[0] = _AM_SYSTEM_COMMENTS_FORM_ALL_MODS |
$module_array = $modules_Handler->getList(new Criteria('hascomments', 1)) |
$modules_Handler = xoops_getHandler('module') |
if (!is_object( $xoopsUser)||!is_object( $xoopsModule)||! $xoopsUser->isAdmin( $xoopsModule->getVar( 'mid'))) if (!xoops_getModuleOption( 'active_comments', 'system')) $op = Request::getString('op', 'default') |
$start = 0 |
$status = (!isset($_REQUEST['status']) || !array_key_exists((int)$_REQUEST['status'], $status_array)) ? 0 : (int)$_REQUEST['status'] |
$status_array[0] = _AM_SYSTEM_COMMENTS_FORM_ALL_STATUS |
$status_array = array(XOOPS_COMMENT_PENDING => _CM_PENDING, XOOPS_COMMENT_ACTIVE => _CM_ACTIVE, XOOPS_COMMENT_HIDDEN => _CM_HIDDEN) |
$status_array2 |