Go to the source code of this file.
|
| | $comment_handler =& xoops_gethandler('comment') |
| |
| | $comments = array() |
| |
| | $limit_array = array(20, 50, 100) |
| |
| | $module = !isset($_REQUEST['module']) ? 0 : intval($_REQUEST['module']) |
| |
| | $module_array = $modules_Handler->getList(new Criteria('hascomments', 1)) |
| |
| | $module_array [0] = _AM_SYSTEM_COMMENTS_FORM_ALL_MODS |
| |
| | $modules_Handler =& xoops_gethandler('module') |
| |
| | $op = system_CleanVars ( $_REQUEST, 'op', 'default', 'string' ) |
| |
| | $start = 0 |
| |
| | $status = (!isset($_REQUEST['status']) || !in_array(intval($_REQUEST['status']), array_keys($status_array))) ? 0 : intval($_REQUEST['status']) |
| |
| | $status_array = array(XOOPS_COMMENT_PENDING => _CM_PENDING, XOOPS_COMMENT_ACTIVE => _CM_ACTIVE, XOOPS_COMMENT_HIDDEN => _CM_HIDDEN) |
| |
| | $status_array [0] = _AM_SYSTEM_COMMENTS_FORM_ALL_STATUS |
| |
| | $status_array2 = array(XOOPS_COMMENT_PENDING => '<span style="text-decoration: none; font-weight: bold; color: #008000;">'._CM_PENDING.'</span>', XOOPS_COMMENT_ACTIVE => '<span style="text-decoration: none; font-weight: bold; color: #ff0000;">'._CM_ACTIVE.'</span>', XOOPS_COMMENT_HIDDEN => '<span style="text-decoration: none; font-weight: bold; color: #0000ff;">'._CM_HIDDEN.'</span>') |
| |
| | $xoopsOption ['template_main'] = 'system_comments.html' |
| |
| | _AM_SYSTEM_NOTACTIVE |
| |
| | if (!xoops_getModuleOption('active_comments', 'system')) redirect_header( 'admin.php' |
| |
| $limit_array = array(20, 50, 100) |
| $module = !isset($_REQUEST['module']) ? 0 : intval($_REQUEST['module']) |
| $module_array = $modules_Handler->getList(new Criteria('hascomments', 1)) |
| $status = (!isset($_REQUEST['status']) || !in_array(intval($_REQUEST['status']), array_keys($status_array))) ? 0 : intval($_REQUEST['status']) |
Definition at line 65 of file main.php.
Referenced by HTMLPurifier_DefinitionCache_Decorator_Cleanup\add(), HTMLPurifier_DefinitionCache_Decorator_Memory\add(), XoopsCommentHandler\getByItemId(), XoopsNotificationHandler\getByItemId(), XoopsCommentHandler\getCountByItemId(), XoopsCommentHandler\getThread(), XoopsCommentHandler\getTopComments(), notificationEnabled(), HTMLPurifier_DefinitionCache_Decorator_Cleanup\replace(), HTMLPurifier_DefinitionCache_Decorator_Memory\replace(), HTMLPurifier_DefinitionCache_Decorator_Cleanup\set(), HTMLPurifier_DefinitionCache_Decorator_Memory\set(), HTMLPurifier_AttrDef_CSS_ListStyle\validate(), HTMLPurifier_AttrDef_CSS_Background\validate(), HTMLPurifier_AttrDef_CSS_BackgroundPosition\validate(), PathStuffController\validate(), and xoDiag().
| $status_array2 = array(XOOPS_COMMENT_PENDING => '<span style="text-decoration: none; font-weight: bold; color: #008000;">'._CM_PENDING.'</span>', XOOPS_COMMENT_ACTIVE => '<span style="text-decoration: none; font-weight: bold; color: #ff0000;">'._CM_ACTIVE.'</span>', XOOPS_COMMENT_HIDDEN => '<span style="text-decoration: none; font-weight: bold; color: #0000ff;">'._CM_HIDDEN.'</span>') |
| $xoopsOption['template_main'] = 'system_comments.html' |