*** empty log message ***

svn path=/trunk/boinc/; revision=9791
This commit is contained in:
Rom Walton 2006-04-04 00:39:53 +00:00
parent d63aad418e
commit 8d8ccb9d5c
2 changed files with 10 additions and 0 deletions

View File

@ -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) {

View File

@ -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");