equal
deleted
inserted
replaced
231 $errors = Array(); |
231 $errors = Array(); |
232 |
232 |
233 // Authorization |
233 // Authorization |
234 // Like the rest of the ACL system, this call is a one-stop check for ALL ACL entries. |
234 // Like the rest of the ACL system, this call is a one-stop check for ALL ACL entries. |
235 if ( !$this->perms->get_permissions('post_comments') ) |
235 if ( !$this->perms->get_permissions('post_comments') ) |
236 $errors[] = 'An ACL entry is preventing the comment from being posted.'; |
236 $errors[] = 'The site security policy prevents your user account from posting comments;'; |
237 |
237 |
238 // Guest authorization |
238 // Guest authorization |
239 if ( getConfig('comments_need_login') == '2' && !$session->user_logged_in ) |
239 if ( getConfig('comments_need_login') == '2' && !$session->user_logged_in ) |
240 $errors[] = 'You need to log in before posting comments.'; |
240 $errors[] = 'You need to log in before posting comments.'; |
241 |
241 |