- user web: fix PM mass deletion

svn path=/trunk/boinc/; revision=14252
This commit is contained in:
David Anderson 2007-11-18 22:17:39 +00:00
parent bdf45c8ed6
commit f978ce2143
3 changed files with 13 additions and 2 deletions

View File

@ -11268,3 +11268,12 @@ David 18 Nov 2007
html/user/
team_email_list.php
David 18 Nov 2007
- user web: fix PM mass deletion
html/
inc/
forum_banishment_vote.inc
user/
pm.php

View File

@ -1,6 +1,8 @@
<?php
// TODO: convert to new DB interface
// TODO: convert to new DB interface; use caching to avoid
// repeated lookup for same userid
// TODO: merge vote_yes() and vote_no() (??????)
db_init();

View File

@ -68,7 +68,7 @@ function do_inbox($logged_in_user) {
$i++;
$class = ($i%2)? "row0": "row1";
echo "<tr class=$class>\n";
$checkbox = "<input type=\"checkbox\" name=\"pm_select[]\" value=\"".$row->id."\">";
$checkbox = "<input type=\"checkbox\" name=\"pm_select[]\" value=\"".$msg->id."\">";
if (!$msg->opened) {
$msg->update("opened=1");
}