mirror of https://github.com/BOINC/boinc.git
- user web: send "red X" notifications on team boards
to project admins as well as team founder svn path=/trunk/boinc/; revision=14246
This commit is contained in:
parent
fd399c351d
commit
09177a1357
|
@ -11231,3 +11231,13 @@ David 17 Nov 2007
|
||||||
forum_moderate_thread_action.php
|
forum_moderate_thread_action.php
|
||||||
forum_report_post.php
|
forum_report_post.php
|
||||||
team_create_form.php
|
team_create_form.php
|
||||||
|
|
||||||
|
David 17 Nov 2007
|
||||||
|
- user web: send "red X" notifications on team boards
|
||||||
|
to project admins as well as team founder
|
||||||
|
|
||||||
|
html/
|
||||||
|
inc/
|
||||||
|
forum_email.inc
|
||||||
|
user/
|
||||||
|
forum_user_posts.php
|
||||||
|
|
|
@ -132,7 +132,16 @@ This was the contents of the post:
|
||||||
|
|
||||||
For further information and assistance with ".PROJECT." go to ".MASTER_URL;
|
For further information and assistance with ".PROJECT." go to ".MASTER_URL;
|
||||||
|
|
||||||
return mail_report_list($forum, $subject, $body, true);
|
$success = mail_report_list($forum, $subject, $body, true);
|
||||||
|
|
||||||
|
// if it's a forum board, send to project admins too
|
||||||
|
//
|
||||||
|
if ($forum->parent_type != 0) {
|
||||||
|
$forum = new BoincForum;
|
||||||
|
$forum->parent_type = 0;
|
||||||
|
$success &= mail_report_list($forum, $subject, $body, true);
|
||||||
|
}
|
||||||
|
return $success;
|
||||||
}
|
}
|
||||||
|
|
||||||
function send_banish_email($forum, $user, $duration, $reason) {
|
function send_banish_email($forum, $user, $duration, $reason) {
|
||||||
|
|
|
@ -32,7 +32,7 @@ start_table();
|
||||||
foreach ($posts as $post) {
|
foreach ($posts as $post) {
|
||||||
$thread = BoincThread::lookup_id($post->thread);
|
$thread = BoincThread::lookup_id($post->thread);
|
||||||
$forum = BoincForum::lookup_id($thread->forum);
|
$forum = BoincForum::lookup_id($thread->forum);
|
||||||
show_post($post, $thread, $forum, $logged_in_user, $n+$offset+1);
|
show_post($post, $thread, $forum, $logged_in_user, 0, $n+$offset+1);
|
||||||
$n++;
|
$n++;
|
||||||
}
|
}
|
||||||
echo "</table>\n";
|
echo "</table>\n";
|
||||||
|
|
Loading…
Reference in New Issue