| @@ 236-240 (lines=5) @@ | ||
| 233 | $x[] = tra('Total credit'); |
|
| 234 | $x[] = tra('Recent average credit'); |
|
| 235 | } else { |
|
| 236 | if ($sort_by == "total_credit") { |
|
| 237 | $x[] = tra('Total credit'); |
|
| 238 | } else { |
|
| 239 | $x[] = "<href=team_members.php?teamid=$team->id&sort_by=total_credit&offset=$offset>".tra('Total credit')."</a>"; |
|
| 240 | } |
|
| 241 | if ($sort_by == "expavg_credit") { |
|
| 242 | $x[] = tra('Recent average credit'); |
|
| 243 | } else { |
|
| @@ 241-245 (lines=5) @@ | ||
| 238 | } else { |
|
| 239 | $x[] = "<href=team_members.php?teamid=$team->id&sort_by=total_credit&offset=$offset>".tra('Total credit')."</a>"; |
|
| 240 | } |
|
| 241 | if ($sort_by == "expavg_credit") { |
|
| 242 | $x[] = tra('Recent average credit'); |
|
| 243 | } else { |
|
| 244 | $x[] = "<href=team_members.php?teamid=$team->id&sort_by=expavg_credit&offset=$offset>".tra('Recent average credit').'</a>'; |
|
| 245 | } |
|
| 246 | } |
|
| 247 | $a[] = ALIGN_RIGHT; |
|
| 248 | $a[] = ALIGN_RIGHT; |
|