index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | buildmaster/gpg-keys.php | 46 |
diff --git a/buildmaster/gpg-keys.php b/buildmaster/gpg-keys.php index ed33418..8f3c44b 100644 --- a/buildmaster/gpg-keys.php +++ b/buildmaster/gpg-keys.php @@ -44,34 +44,36 @@ require_once BASE . "/lib/http.php"; " ORDER BY `persons`.`name`" ); -?> -<html> - <head> - <title>list of gpg-keys</title> - </head> - <body> -<?php -show_warning_on_offline_slave(); + print "<html>\n"; + print " <head>\n"; + print " <title>list of gpg-keys</title>\n"; + print " </head>\n"; + print " <body>\n"; + + show_warning_on_offline_slave(); - print "<table border=1>\n"; - if ($result->num_rows > 0) { - print "<tr><th>person</th><th>action</th><th>fingerprint</th></tr>\n"; + print " <table border=1>\n"; + if ($result -> num_rows > 0) { + print " <tr>\n"; + print " <th>person</th>\n"; + print " <th>action</th>\n"; + print " <th>fingerprint</th>\n"; + print " </tr>\n"; while ($row = $result -> fetch_assoc()) { foreach ($row as $key => $value) { - if ($value=="") { + if ($value == "") { $row[$key]=" "; } } - print "<tr>"; - print "<td>" . $row["person"] . "</td>"; - print "<td>" . $row["action"] . "</td>"; - print "<td><a href=\"?fp=" . + print " <tr>\n"; + print " <td>" . $row["person"] . "</td>\n"; + print " <td>" . $row["action"] . "</td>\n"; + print " <td><a href=\"?fp=" . $row["fingerprint"] . - "\">" . $row["fingerprint"] . "</a></td>"; - print "</tr>\n"; + "\">" . $row["fingerprint"] . "</a></td>\n"; + print " </tr>\n"; } } - print "</table>\n"; - -?> -</body></html> + print " </table>\n"; + print " </body>\n"; + print "</html>\n"; |