Add page-wrapper for probe + webfinder
This commit is contained in:
parent
dc7e6edca9
commit
5d81738034
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue