]> git.mxchange.org Git - friendica.git/blobdiff - mod/webfinger.php
Storing the protocol while following a contact
[friendica.git] / mod / webfinger.php
index 01743f05b0660e8577de7495a999d31419ffeb05..b22b1ee64a69c4dde20dc60fa0c2e58370c72359 100644 (file)
@@ -17,10 +17,11 @@ function webfinger_content(App $a)
                                "description" => L10n::t("Only logged in users are permitted to perform a probing.")
                        ]
                );
-               killme();
+               exit();
        }
 
-       $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;
 }