htdocs/include/comment_view.php
Avoid deeply nested control flow statements. Open
Open
if (false != $comments) {
$renderer =& icms_data_comment_Renderer::instance($xoopsTpl);
$renderer->setComments($comments);
$renderer->renderThreadView($top_comments[$i]->getVar('com_id'), $admin_view);
}
Reference to undeclared constant \_CM_REFRESH
Open
Open
$navbar .= '>'. _NEWESTFIRST .'</option></select><input type="hidden" name="' . $comment_config['itemName'] . '" value="' . $com_itemid . '" /> <input type="submit" value="'. _CM_REFRESH .'" class="formButton" />';
- Exclude checks
Reference to undeclared constant \_NEWESTFIRST
Open
Open
$navbar .= '>'. _NEWESTFIRST .'</option></select><input type="hidden" name="' . $comment_config['itemName'] . '" value="' . $com_itemid . '" /> <input type="submit" value="'. _CM_REFRESH .'" class="formButton" />';
- Exclude checks
Variable $xoopsTpl
is undeclared Open
Open
$xoopsTpl->assign('anon_canpost', true);
- Exclude checks
Call to method handler
from undeclared class \icms
Open
Open
$comment_handler = icms::handler('icms_data_comment');
- Exclude checks
Reference to static property module
from undeclared class \icms
Open
Open
if (!empty(icms::$module->config['com_anonpost']) || is_object(icms::$user)) {
- Exclude checks
Reference to undeclared constant \_CM_POSTS
Open
Open
'lang_from' => _CM_FROM, 'lang_joined' => _CM_JOINED, 'lang_posts' => _CM_POSTS,
- Exclude checks
Reference to static property module
from undeclared class \icms
Open
Open
$comment_config = icms::$module->getInfo('comments');
- Exclude checks
Call to method instance
from undeclared class \icms_data_comment_Renderer
Open
Open
$renderer =& icms_data_comment_Renderer::instance($xoopsTpl);
- Exclude checks
Reference to static property user
from undeclared class \icms
Open
Open
if (!empty(icms::$module->config['com_anonpost']) || is_object(icms::$user)) {
- Exclude checks
Reference to undeclared constant \_CM_POSTER
Open
Open
'lang_poster' => _CM_POSTER, 'lang_thread' => _CM_THREAD, 'lang_edit' => _EDIT,
- Exclude checks
Reference to static property module
from undeclared class \icms
Open
Open
if (XOOPS_COMMENT_APPROVENONE != icms::$module->config['com_rule']) {
- Exclude checks
Reference to undeclared constant \_OLDESTFIRST
Open
Open
$navbar .= '>'. _OLDESTFIRST .'</option><option value="' . XOOPS_COMMENT_NEW1ST . '"';
- Exclude checks
Reference to undeclared constant \_CM_JOINED
Open
Open
'lang_from' => _CM_FROM, 'lang_joined' => _CM_JOINED, 'lang_posts' => _CM_POSTS,
- Exclude checks
Reference to static property user
from undeclared class \icms
Open
Open
if (is_object(icms::$user) && icms::$user->isAdmin(icms::$module->getVar('mid'))) {
- Exclude checks
Call to method instance
from undeclared class \icms_data_comment_Renderer
Open
Open
$renderer =& icms_data_comment_Renderer::instance($xoopsTpl);
- Exclude checks
Reference to undeclared constant \_DELETE
Open
Open
'lang_delete' => _DELETE, 'lang_reply' => _REPLY, 'lang_subject' => _CM_REPLIES,
- Exclude checks
Reference to undeclared constant \_NESTED
Open
Open
$navbar .= '>'. _NESTED .'</option></select> <select name="com_order"><option value="' . XOOPS_COMMENT_OLD1ST . '"';
- Exclude checks
Reference to static property user
from undeclared class \icms
Open
Open
if (is_object(icms::$user)) {
- Exclude checks
Variable $xoopsTpl
is undeclared Open
Open
$xoopsTpl->assign(array('comment_order' => XOOPS_COMMENT_OLD1ST, 'order_other' => XOOPS_COMMENT_NEW1ST));
- Exclude checks
Reference to undeclared constant \_REPLY
Open
Open
'lang_delete' => _DELETE, 'lang_reply' => _REPLY, 'lang_subject' => _CM_REPLIES,
- Exclude checks
Reference to undeclared constant \_THREADED
Open
Open
$navbar .= '>'. _THREADED .'</option><option value="nest"';
- Exclude checks
Reference to static property user
from undeclared class \icms
Open
Open
$com_order = icms::$user->getVar('uorder');
- Exclude checks
Reference to undeclared constant \_FLAT
Open
Open
$navbar .= '>' . _FLAT . '</option><option value="thread"';
- Exclude checks
Variable $postcomment_link
is undeclared Open
Open
unset($postcomment_link);
- Exclude checks
Reference to undeclared constant \_CM_UPDATED
Open
Open
'lang_posted' => _CM_POSTED, 'lang_updated' => _CM_UPDATED, 'lang_notice' => _CM_NOTICE
- Exclude checks
Variable $xoopsTpl
is undeclared Open
Open
$xoopsTpl->assign('xoops_iscommentadmin', $gperm_handler->checkRight('system_admin', XOOPS_SYSTEM_COMMENT, $groups));
- Exclude checks
Reference to static property user
from undeclared class \icms
Open
Open
if (is_object(icms::$user)) {
- Exclude checks
Reference to static property module
from undeclared class \icms
Open
Open
$comments =& $comment_handler->getByItemId(icms::$module->getVar('mid'), $com_itemid, $com_dborder);
- Exclude checks
Reference to static property module
from undeclared class \icms
Open
Open
icms::$module->getVar('mid'), $com_itemid, $com_dborder
- Exclude checks
Call to method instance
from undeclared class \icms_data_comment_Renderer
Open
Open
$renderer =& icms_data_comment_Renderer::instance($xoopsTpl);
- Exclude checks
Reference to static property module
from undeclared class \icms
Open
Open
if (is_object(icms::$user) && icms::$user->isAdmin(icms::$module->getVar('mid'))) {
- Exclude checks
Call to method htmlSpecialChars
from undeclared class \icms_core_DataFilter
Open
Open
$extra_params .= $extra_param . '=' . icms_core_DataFilter::htmlSpecialChars(trim($_GET[$extra_param])) . '&';
- Exclude checks
Variable $xoopsTpl
is undeclared Open
Open
$xoopsTpl->assign(
- Exclude checks
Reference to undeclared constant \_CM_FROM
Open
Open
'lang_from' => _CM_FROM, 'lang_joined' => _CM_JOINED, 'lang_posts' => _CM_POSTS,
- Exclude checks
Variable $xoopsTpl
is undeclared Open
Open
$xoopsTpl->assign(array('comment_order' => XOOPS_COMMENT_NEW1ST, 'order_other' => XOOPS_COMMENT_OLD1ST));
- Exclude checks
Call to method handler
from undeclared class \icms
Open
Open
$gperm_handler = icms::handler('icms_member_groupperm');
- Exclude checks
Call to method htmlSpecialChars
from undeclared class \icms_core_DataFilter
Open
Open
$hidden_value = icms_core_DataFilter::htmlSpecialChars($extra_param_val, ENT_QUOTES);
- Exclude checks
Reference to undeclared constant \_CM_POSTCOMMENT
Open
Open
. $link_extra . '\'" class="formButton" value="' . _CM_POSTCOMMENT . '" />';
- Exclude checks
Reference to static property user
from undeclared class \icms
Open
Open
$com_mode = icms::$user->getVar('umode');
- Exclude checks
Reference to undeclared constant \_CM_REPLIES
Open
Open
'lang_delete' => _DELETE, 'lang_reply' => _REPLY, 'lang_subject' => _CM_REPLIES,
- Exclude checks
Reference to static property module
from undeclared class \icms
Open
Open
$top_comments = $comment_handler->getTopComments(icms::$module->getVar('mid'), $com_itemid, $com_dborder);
- Exclude checks
Reference to undeclared constant \_CM_NOTICE
Open
Open
'lang_posted' => _CM_POSTED, 'lang_updated' => _CM_UPDATED, 'lang_notice' => _CM_NOTICE
- Exclude checks
Call to method instance
from undeclared class \icms_data_comment_Renderer
Open
Open
$renderer =& icms_data_comment_Renderer::instance($xoopsTpl);
- Exclude checks
Reference to undeclared constant \_CM_THREAD
Open
Open
'lang_poster' => _CM_POSTER, 'lang_thread' => _CM_THREAD, 'lang_edit' => _EDIT,
- Exclude checks
Reference to static property module
from undeclared class \icms
Open
Open
if (!defined('ICMS_ROOT_PATH') || !is_object(icms::$module)) {
- Exclude checks
Reference to static property user
from undeclared class \icms
Open
Open
$groups = (icms::$user) ? icms::$user -> getGroups() : ICMS_GROUP_ANONYMOUS;
- Exclude checks
Variable $xoopsTpl
is undeclared Open
Open
$xoopsTpl->assign('comment_mode', $com_mode);
- Exclude checks
Variable $xoopsTpl
is undeclared Open
Open
$xoopsTpl->assign('comment_url', $comment_url . $comment_config['itemName'] . '=' . $com_itemid . '&com_mode=thread&com_order=' . $com_order);
- Exclude checks
Variable $xoopsTpl
is undeclared Open
Open
$xoopsTpl->assign(
- Exclude checks
Reference to undeclared constant \_EDIT
Open
Open
'lang_poster' => _CM_POSTER, 'lang_thread' => _CM_THREAD, 'lang_edit' => _EDIT,
- Exclude checks
Reference to undeclared constant \_CM_POSTED
Open
Open
'lang_posted' => _CM_POSTED, 'lang_updated' => _CM_UPDATED, 'lang_notice' => _CM_NOTICE
- Exclude checks
Blank line found at start of control structure Open
Open
if (XOOPS_COMMENT_APPROVENONE != icms::$module->config['com_rule']) {
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
Open
$top_comments[$i]->getVar('com_rootid'), $top_comments[$i]->getVar('com_id')
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
Open
$top_comments[$i]->getVar('com_rootid'), $top_comments[$i]->getVar('com_id')
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
Open
icms::$module->getVar('mid'), $com_itemid, $com_dborder
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
Open
icms::$module->getVar('mid'), $com_itemid, $com_dborder
- Exclude checks