public function loadLoginPage() { $this->dom->addScript(Script::run(['name' => 'programs/Auth'])); $this->view->loadTemplate('login', ['screenSrc' => $this->imgPath . $this->config->getField('screen'), 'userLogo' => $this->imgPath . $this->config->getField('userLogo')]); }
public function __construct() { parent::__construct(); $this->splash = Splash::run($this->view); $this->dom = Dom::run(); }
<!DOCTYPE html> <html> <head> <?php echo \Rosiex\Helpers\HHtml::charset(); ?> <title><?php echo \Rosiex\Helpers\HHtml::getAppTitle(); ?> </title> <?php echo \Rosiex\Components\Dom::scriptsToHtml(); ?> <?php echo \Rosiex\Components\Dom::stylesToHtml(); ?> </head> <body>