Add page-wrapper for probe + webfinder

This commit is contained in:
Jonny Tischbein 2018-12-17 23:15:14 +01:00
parent dc7e6edca9
commit 5d81738034
2 changed files with 7 additions and 2 deletions

View File

@ -15,7 +15,8 @@ function probe_content(App $a)
killme();
}
$o = '<h3>Probe Diagnostic</h3>';
$o = '<div class="generic-page-wrapper">';
$o .= '<h3>Probe Diagnostic</h3>';
$o .= '<form action="probe" method="get">';
$o .= 'Lookup address: <input type="text" style="width: 250px;" name="addr" value="' . defaults($_GET, 'addr', '') . '" />';
@ -30,6 +31,7 @@ function probe_content(App $a)
$o .= str_replace("\n", '<br />', print_r($res, true));
$o .= '</pre>';
}
$o .= '</div>';
return $o;
}

View File

@ -20,7 +20,8 @@ function webfinger_content(App $a)
killme();
}
$o = '<h3>Webfinger Diagnostic</h3>';
$o = '<div class="generic-page-wrapper">';
$o .= '<h3>Webfinger Diagnostic</h3>';
$o .= '<form action="webfinger" method="get">';
$o .= 'Lookup address: <input type="text" style="width: 250px;" name="addr" value="' . defaults($_GET, 'addr', '') .'" />';
@ -35,5 +36,7 @@ function webfinger_content(App $a)
$o .= str_replace("\n", '<br />', print_r($res, true));
$o .= '</pre>';
}
$o .= '</div>';
return $o;
}