getDocument()->getHead(); $head->loadJQuery(); $head->loadBootstrap(); $head->addJS(Script::CORE); $head->addCSS(Link::CORE); $head->addJS(Script::ADMIN); $head->addCSS(Link::ADMIN); } public function getCode() { $html = parent::getCode(); $username = L("Username"); $password = L("Password"); $login = L("Login"); $backToStartPage = L("Back to Start Page"); $stayLoggedIn = L("Stay logged in"); $flags = new LanguageFlags($this->getDocument()); $iconBack = $this->createIcon("arrow-circle-left"); $domain = $_SERVER['HTTP_HOST']; $protocol = getProtocol(); $html .= ""; $accountCreated = ""; if(isset($_GET["accountCreated"])) { $accountCreated = '
Your account was successfully created, you may now login with your credentials
'; } $html .= "

Admin Control Panel

$flags
$accountCreated
"; return $html; } }