@@ -29,6 +29,9 @@ discard block |
||
29 | 29 | // return a column title (Average or Total), |
30 | 30 | // hyperlinked if this is not the current sort column |
31 | 31 | // |
32 | +/** |
|
33 | + * @param integer $i |
|
34 | + */ |
|
32 | 35 | function col_title($is_team, $app, $appid, $is_total, $i) { |
33 | 36 | $x = $i?"Total":"Average"; |
34 | 37 | if ($app->id == $appid && ($is_total?$i:!$i)) { |
@@ -62,6 +65,9 @@ discard block |
||
62 | 65 | |
63 | 66 | // show a user or team, with their credit for each app |
64 | 67 | // |
68 | +/** |
|
69 | + * @param integer $i |
|
70 | + */ |
|
65 | 71 | function show_row($item, $apps, $is_team, $i) { |
66 | 72 | if ($is_team) { |
67 | 73 | $team = BoincTeam::lookup_id($item->teamid); |
@@ -96,6 +102,9 @@ discard block |
||
96 | 102 | echo "</tr>\n"; |
97 | 103 | } |
98 | 104 | |
105 | +/** |
|
106 | + * @param string $appid |
|
107 | + */ |
|
99 | 108 | function show_list($is_team, $appid, $is_total) { |
100 | 109 | $x = $is_team?"teams":"participants"; |
101 | 110 | page_head("Top $x by application"); |