index : website | |
Archlinux32 website - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-07-15 13:47:00 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-07-15 13:47:00 +0200 |
commit | 8e491f34ba92341d75bf1e63452f78e139c775ed (patch) | |
tree | b5d0c76bce9cceb26870e2373c7ed8ccd59ae612 /buildmaster | |
parent | 1b78e8e868b4bb0a7e766b356d893b4caada71a9 (diff) |
-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"; |