Commit 8369808d authored by Michael Herold's avatar Michael Herold
Browse files

Fixes title of login page

parent c378888c
v0.6.0-unreleased
- Fixes missing unicode support for requests.
- [dns] Adds support for NS, SSHFP and TXT resource records
- [login_http] Adds support for login via email address as user account
v0.5.0
- Fixes missing generation of global gettext .mo-files.
This fixes missing l10n in top bar also.
......
......@@ -21,7 +21,8 @@ namespace hemio\edentata;
use hemio\form;
use hemio\html;
$document = new form\Document(new html\Str(_('Edentata Login')));
$title = new html\Str('Edentata Login');
$document = new form\Document($title);
$document->getHtml()->getHead()->setBaseUrl($config['base_url']);
$document->getHtml()->getHead()->addJsFile('static/js/login.js');
......@@ -34,6 +35,7 @@ $pdo = new sql\Connection($config['database_dsn']);
$loadedModule = new LoadModule('login_http', $pdo, $i10n);
$i10n->setDomainModule($loadedModule);
$title->setValue(module\login_http\Login::loginTitle());
$document->getHtml()->getBody()->addChild(
$loadedModule->getContent(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment