use valid html
This commit is contained in:
@@ -154,7 +154,7 @@ function show_dnsrecords($hostname) {
|
||||
echo "<br />\n";
|
||||
}
|
||||
}
|
||||
// PRINT Header
|
||||
// PRINT HEADER
|
||||
function print_header() {
|
||||
print '<!DOCTYPE html>
|
||||
<html lang="en_US">
|
||||
@@ -162,7 +162,9 @@ function print_header() {
|
||||
<meta charset="utf-8">
|
||||
<title>IP and DNS information</title>
|
||||
<link rel="icon" type="image/png" href="/favicon.png">
|
||||
</head>';
|
||||
</head>
|
||||
<body>
|
||||
';
|
||||
}
|
||||
// PRINT FOOTER
|
||||
function print_footer() {
|
||||
@@ -171,6 +173,7 @@ function print_footer() {
|
||||
echo 'Your plain IP address: <a href="//'.$config->ip4domain.'">IPv4</a> | <a href="//'.$config->ip6domain.'">IPv6</a>';
|
||||
echo "<br />\n";
|
||||
echo 'Your detailed IP info: <a href="//'.$config->ip4domain.'/'.$config->detailed_uri.'">IPv4</a> | <a href="//'.$config->ip6domain.'/'.$config->detailed_uri.'">IPv6</a>';
|
||||
echo '</body></html>';
|
||||
}
|
||||
|
||||
// HELPER FUNCTIONS
|
||||
|
||||
Reference in New Issue
Block a user