*** empty log message ***

svn path=/trunk/boinc/; revision=11205
This commit is contained in:
Matt Lebofsky 2006-09-27 16:58:59 +00:00
parent be615f6a82
commit d60d1c6920
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ check_banished($logged_in_user);
$forumid = get_int("id");
$forum = new Forum($forumid);
if ($logged_in_user->getTotalCredit()<$forum->getPostMinTotalCredit || $logged_in_user->getExpavgCredit()<$forum->getPostMinExpavgCredit()){
if (!$logged_in_user->isSpecialUser(S_MODERATOR) && ($logged_in_user->getTotalCredit()<$forum->getPostMinTotalCredit() || $logged_in_user->getExpavgCredit()<$forum->getPostMinExpavgCredit())) {
//If user haven't got enough credit (according to forum regulations)
//We do not tell the (ab)user how much this is - no need to make it easy for them to break the system.
error_page(sprintf(tr(FORUM_ERR_EXPAVG),$forum->getTitle()));

View File

@ -36,7 +36,7 @@ if ($thread->isHidden()) {
"This thread has been hidden for administrative purposes.");
}
if ($logged_in_user->getTotalCredit()<$forum->getPostMinTotalCredit() || $logged_in_user->getExpavgCredit()<$forum->getPostMinExpavgCredit()){
if (!$logged_in_user->isSpecialUser(S_MODERATOR) && ($logged_in_user->getTotalCredit()<$forum->getPostMinTotalCredit() || $logged_in_user->getExpavgCredit()<$forum->getPostMinExpavgCredit())) {
//If user haven't got enough credit (according to forum regulations)
//We do not tell the (ab)user how much this is - no need to make it easy for them to break the system.
error_page(