getAnnotations('generic_comment'); $real_comment_num = count($tmpcommentcount); $visible_comment_count = $entity->countComments(); $comments_to_moderate = $real_comment_num - $visible_comment_count; // only show the message once if($mc_notice_count != 1){ $mc_notice_count = 1; if((is_moderated($entity) && !elgg_is_logged_in()) || (is_moderated($entity) && $comments_to_moderate > 0 && $entity->owner_guid == elgg_get_logged_in_user_guid())){ echo "
"; } if(elgg_get_logged_in_user_guid() == $entity->owner_guid && is_moderated($entity) && $comments_to_moderate > 0){ ?>
0 && $entity->owner_guid == elgg_get_logged_in_user_guid())){ echo "
"; echo "
"; } ?>