XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
main.php File Reference

Go to the source code of this file.

Variables

 $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'
 

Variable Documentation

$comment_handler =& xoops_gethandler('comment')

Definition at line 72 of file main.php.

$comments = array()
$limit_array = array(20, 50, 100)

Definition at line 58 of file main.php.

$module = !isset($_REQUEST['module']) ? 0 : intval($_REQUEST['module'])

Definition at line 67 of file main.php.

$module_array = $modules_Handler->getList(new Criteria('hascomments', 1))

Definition at line 69 of file main.php.

Definition at line 70 of file main.php.

$modules_Handler =& xoops_gethandler('module')

Definition at line 68 of file main.php.

$op = system_CleanVars ( $_REQUEST, 'op', 'default', 'string' )

Definition at line 40 of file main.php.

$start = 0

Definition at line 61 of file main.php.

Definition at line 59 of file main.php.

Definition at line 62 of file main.php.

$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>')

Definition at line 60 of file main.php.

$xoopsOption['template_main'] = 'system_comments.html'

Definition at line 42 of file main.php.

_AM_SYSTEM_NOTACTIVE

Definition at line 37 of file main.php.

if(!xoops_getModuleOption('active_comments', 'system')) redirect_header( 'admin.php'

Definition at line 37 of file main.php.