From 5d817380341ab338bd85cf91589cc9efa7fdd65c Mon Sep 17 00:00:00 2001 From: Jonny Tischbein Date: Mon, 17 Dec 2018 23:15:14 +0100 Subject: [PATCH] Add page-wrapper for probe + webfinder --- mod/probe.php | 4 +++- mod/webfinger.php | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/mod/probe.php b/mod/probe.php index b448ffd2b2..7c41df8ac5 100644 --- a/mod/probe.php +++ b/mod/probe.php @@ -15,7 +15,8 @@ function probe_content(App $a) killme(); } - $o = '

Probe Diagnostic

'; + $o = '
'; + $o .= '

Probe Diagnostic

'; $o .= '
'; $o .= 'Lookup address: '; @@ -30,6 +31,7 @@ function probe_content(App $a) $o .= str_replace("\n", '
', print_r($res, true)); $o .= ''; } + $o .= '
'; return $o; } diff --git a/mod/webfinger.php b/mod/webfinger.php index 01743f05b0..a48d2dba6b 100644 --- a/mod/webfinger.php +++ b/mod/webfinger.php @@ -20,7 +20,8 @@ function webfinger_content(App $a) killme(); } - $o = '

Webfinger Diagnostic

'; + $o = '
'; + $o .= '

Webfinger Diagnostic

'; $o .= ''; $o .= 'Lookup address: '; @@ -35,5 +36,7 @@ function webfinger_content(App $a) $o .= str_replace("\n", '
', print_r($res, true)); $o .= ''; } + $o .= '
'; + return $o; }