includes/comment.php
changeset 748 e39454295bbb
parent 685 17ebe24cdf85
child 800 9cdfe82c56cd
equal deleted inserted replaced
747:cffe13960330 748:e39454295bbb
   169         $ret['count_total'] = $count_total;
   169         $ret['count_total'] = $count_total;
   170         $ret['count_unappr'] = $count_unappr;
   170         $ret['count_unappr'] = $count_unappr;
   171         $ret['auth_mod_comments'] = $this->perms->get_permissions('mod_comments');
   171         $ret['auth_mod_comments'] = $this->perms->get_permissions('mod_comments');
   172         $ret['auth_post_comments'] = $this->perms->get_permissions('post_comments');
   172         $ret['auth_post_comments'] = $this->perms->get_permissions('post_comments');
   173         $ret['auth_edit_comments'] = $this->perms->get_permissions('edit_comments');
   173         $ret['auth_edit_comments'] = $this->perms->get_permissions('edit_comments');
       
   174         $ret['auth_edit_wysiwyg'] = $this->perms->get_permissions('edit_wysiwyg');
   174         $ret['user_id'] = $session->user_id;
   175         $ret['user_id'] = $session->user_id;
   175         $ret['username'] = $session->username;
   176         $ret['username'] = $session->username;
   176         $ret['logged_in'] = $session->user_logged_in;
   177         $ret['logged_in'] = $session->user_logged_in;
   177         
   178         
   178         $ret['user_level'] = Array();
   179         $ret['user_level'] = Array();