summaryrefslogtreecommitdiff
path: root/include/login_form.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-05-29 15:41:19 +0400
committerAndrew Dolgov <[email protected]>2013-05-29 15:41:19 +0400
commit67e0cf9a371fca46405e7df26ccc970ce6b408cc (patch)
tree21f4b934f4635509352f38fa5ef29c87888d37df /include/login_form.php
parent642432fc39956e92b599f204d64e0b365f36edf2 (diff)
add startup_gettext() calls to several endpoints for unregistered users so the output would be translated based on accept-language header
Diffstat (limited to 'include/login_form.php')
-rw-r--r--include/login_form.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/login_form.php b/include/login_form.php
index b401fdac0..891e25e13 100644
--- a/include/login_form.php
+++ b/include/login_form.php
@@ -1,3 +1,4 @@
+<?php startup_gettext(); ?>
<html>
<head>
<title>Tiny Tiny RSS : Login</title>
@@ -108,14 +109,14 @@ function init() {
require(['dojo/parser','dijit/form/Button','dijit/form/CheckBox','dijit/form/Form',
'dijit/form/Select','dijit/form/TextBox','dijit/form/ValidationTextBox'],function(parser){
parser.parse();
- //show tooltip node only after this widget is instaniated.
+ //show tooltip node only after this widget is instaniated.
dojo.query('div[dojoType="dijit.Tooltip"]').style({
display:''
});
fetchProfiles();
dijit.byId("bw_limit").attr("checked", getCookie("ttrss_bwlimit") == 'true');
document.forms.loginForm.login.focus();
- });
+ });
}