chore: rename plugin to mx autologin

This commit is contained in:
Marek Miklewicz
2026-06-30 20:33:54 +02:00
parent 4a1c9d0db4
commit bb6a01fdca
17 changed files with 55 additions and 41 deletions
+3 -3
View File
@@ -71,7 +71,7 @@ final class Http
return '<!doctype html><html lang="pl"><head><meta charset="utf-8">'
. '<meta name="viewport" content="width=device-width, initial-scale=1">'
. '<meta http-equiv="refresh" content="0;url=' . $safeUrl . '">'
. '<title>Serwer poczty</title></head><body>'
. '<title>Zaloguj do serwera poczty</title></head><body>'
. '<script>(function(){var target=' . $jsonUrl . ';'
. 'try{if(window.top){window.top.location.replace(target);return;}}catch(e){}'
. 'window.location.replace(target);}());</script>'
@@ -84,8 +84,8 @@ final class Http
$safe = htmlspecialchars($message, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8');
$body = '<!doctype html><html lang="pl"><head><meta charset="utf-8">'
. '<meta name="viewport" content="width=device-width, initial-scale=1">'
. '<title>Serwer poczty</title></head><body>'
. '<h1>Serwer poczty</h1><p>' . $safe . '</p>'
. '<title>Zaloguj do serwera poczty</title></head><body>'
. '<h1>Zaloguj do serwera poczty</h1><p>' . $safe . '</p>'
. '</body></html>';
self::sendResponse($status, [
'Content-Type' => 'text/html; charset=UTF-8',