From 8e491f34ba92341d75bf1e63452f78e139c775ed Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 15 Jul 2019 13:47:00 +0200 Subject: buildmaster/gpg-keys.php: no mixed html and php --- buildmaster/gpg-keys.php | 46 ++++++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 22 deletions(-) (limited to 'buildmaster/gpg-keys.php') 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`" ); -?> - - - list of gpg-keys - - -\n"; + print " \n"; + print " list of gpg-keys\n"; + print " \n"; + print " \n"; + + show_warning_on_offline_slave(); - print "\n"; - if ($result->num_rows > 0) { - print "\n"; + print "
personactionfingerprint
\n"; + if ($result -> num_rows > 0) { + print " \n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; while ($row = $result -> fetch_assoc()) { foreach ($row as $key => $value) { - if ($value=="") { + if ($value == "") { $row[$key]=" "; } } - print ""; - print ""; - print ""; - print "\n"; + print " \n"; + print " "; - print "\n"; + "\">" . $row["fingerprint"] . "\n"; + print " \n"; } } - print "
personactionfingerprint
" . $row["person"] . "" . $row["action"] . "\n"; + print " " . $row["person"] . "" . $row["action"] . "" . $row["fingerprint"] . "
\n"; - -?> - + print " \n"; + print " \n"; + print "\n"; -- cgit v1.2.3