Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion html/user/forum_forum.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function forum_page($forum, $user, $msg=null) {
if (is_subscribed(-$forum->id, $subs)) {
BoincNotify::delete_aux(sprintf(
'userid=%d and type=%d and opaque=%d',
$logged_in_user->id,
$user->id,
NOTIFY_SUBSCRIBED_FORUM,
$forum->id
));
Expand Down
5 changes: 5 additions & 0 deletions html/user/submit.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,8 @@ function handle_admin($user) {
if (!$user_submit) error_page('no access');
page_head("Administer job submission");
if ($user_submit->manage_all) {
// user can administer all apps
//
echo "<li>All applications<br>
<ul>
<li> <a href=submit.php?action=admin_all>View all batches</a>
Expand All @@ -303,6 +305,9 @@ function handle_admin($user) {
";
}
} else {
// see if user can administer specific apps
//
$usas = BoincUserSubmitApp::enum("user_id=$user->id");
foreach ($usas as $usa) {
$app = BoincApp::lookup_id($usa->app_id);
echo "<li>$app->user_friendly_name<br>
Expand Down