mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=9791
This commit is contained in:
parent
d63aad418e
commit
8d8ccb9d5c
|
@ -25,6 +25,11 @@ if (time()-$logged_in_user->last_post<$forum->post_min_interval){
|
|||
//Tell the user to wait a while before creating any more posts
|
||||
error_page(tr(FORUM_ERR_INTERVAL));
|
||||
}
|
||||
if (substr($logged_in_user->authenticator, 0, 1) == 'x'){
|
||||
//User has been bad so we are going to take away ability to post for awhile.
|
||||
error_page("This account has been administratively disabled.");
|
||||
}
|
||||
|
||||
$title = post_str("title", true);
|
||||
$content = post_str("content", true);
|
||||
if ($title && $content) {
|
||||
|
|
|
@ -50,6 +50,11 @@ if (time()-$logged_in_user->last_post<$forum->post_min_interval){
|
|||
This delay has been enforced to protect against abuse of the system.");
|
||||
}
|
||||
|
||||
if (substr($logged_in_user->authenticator, 0, 1) == 'x'){
|
||||
//User has been bad so we are going to take away ability to post for awhile.
|
||||
error_page("This account has been administratively disabled.");
|
||||
}
|
||||
|
||||
if ($category->is_helpdesk) {
|
||||
if (!$sort_style) {
|
||||
$sort_style = getSortStyle($logged_in_user,"answer");
|
||||
|
|
Loading…
Reference in New Issue