Index: trunk/tools/subversion/users.php |
— | — | @@ -7,12 +7,12 @@ |
8 | 8 | |
9 | 9 | <body> |
10 | 10 | <h1>Wikimedia Subversion user list</h1> |
11 | | - <table border="1"> |
12 | | - <tr> |
13 | | - <th>Username</th> |
14 | | - <th>Real name</th> |
15 | | - <th>Ready for git?</th> |
16 | | - </tr> |
| 11 | + <table border="1"> |
| 12 | + <tr> |
| 13 | + <th>Username</th> |
| 14 | + <th>Real name</th> |
| 15 | + <th>Ready for git?</th> |
| 16 | + </tr> |
17 | 17 | <?php |
18 | 18 | |
19 | 19 | $time = microtime( true ); |
— | — | @@ -36,21 +36,23 @@ |
37 | 37 | $link = $userInfo['url'] ? "<a href=\"{$userInfo['url']}\">$encUsername</a>" : $encUsername; |
38 | 38 | |
39 | 39 | $rows[$parts[0]] = <<<EOT |
40 | | -<tr id="$encUsername"> |
41 | | -<td>$link</td> |
42 | | -<td>{$userInfo['name']}</td> |
43 | | -<td></td> |
44 | | -<td>$readyForGit</td> |
45 | | -</tr> |
| 40 | + <tr id="$encUsername"> |
| 41 | + <td>$link</td> |
| 42 | + <td>{$userInfo['name']}</td> |
| 43 | + <td></td> |
| 44 | + <td>$readyForGit</td> |
| 45 | + </tr> |
46 | 46 | |
47 | 47 | EOT; |
48 | 48 | } |
49 | 49 | ksort( $rows ); |
50 | | -echo implode( '', $rows ) . "</table>\n"; |
51 | | -echo "<!-- Request time: " . ( microtime( true ) - $time ) . " -->\n"; |
| 50 | +echo implode( '', $rows ); |
| 51 | +echo " </table>\n"; |
| 52 | +echo " <!-- Request time: " . ( microtime( true ) - $time ) . " -->\n"; |
52 | 53 | if ( $retval ) { |
53 | | - echo "<p>Error: " . htmlspecialchars( $error ) . "</p>\n"; |
| 54 | + echo " <p>Error: " . htmlspecialchars( $error ) . "</p>\n"; |
54 | 55 | } |
| 56 | +echo " </body>"; |
55 | 57 | echo "</html>\n"; |
56 | 58 | |
57 | 59 | function getUserInfo( $userName ) { |