mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
config: remove ENABLE_TRANSLATIONS
This commit is contained in:
@@ -38,7 +38,7 @@ function fetchProfiles() {
|
||||
try {
|
||||
var params = Form.serialize('loginForm');
|
||||
var query = "?op=getProfiles&" + params;
|
||||
|
||||
|
||||
if (query) {
|
||||
new Ajax.Request("backend.php", {
|
||||
parameters: query,
|
||||
@@ -58,7 +58,7 @@ function fetchProfiles() {
|
||||
function languageChange(elem) {
|
||||
try {
|
||||
document.forms['loginForm']['click'].disabled = true;
|
||||
|
||||
|
||||
var lang = elem[elem.selectedIndex].value;
|
||||
setCookie("ttrss_lang", lang, <?php print SESSION_COOKIE_LIFETIME ?>);
|
||||
window.location.reload();
|
||||
@@ -76,7 +76,7 @@ function bwLimitChange(elem) {
|
||||
try {
|
||||
var limit_set = elem.checked;
|
||||
|
||||
setCookie("ttrss_bwlimit", limit_set,
|
||||
setCookie("ttrss_bwlimit", limit_set,
|
||||
<?php print SESSION_COOKIE_LIFETIME ?>);
|
||||
|
||||
} catch (e) {
|
||||
@@ -129,14 +129,13 @@ function validateLoginForm(f) {
|
||||
<?php } ?>
|
||||
<table>
|
||||
<tr><td align="right"><?php echo __("Login:") ?></td>
|
||||
<td align="right"><input name="login"
|
||||
<td align="right"><input name="login"
|
||||
onchange="fetchProfiles()" onfocus="fetchProfiles()"
|
||||
value="<?php echo $_SERVER["REMOTE_USER"] ?>"></td></tr>
|
||||
<tr><td align="right"><?php echo __("Password:") ?></td>
|
||||
<td align="right"><input type="password" name="password"
|
||||
onchange="fetchProfiles()" onfocus="fetchProfiles()"
|
||||
value="<?php echo $_SERVER["REMOTE_USER"] ?>"></td></tr>
|
||||
<?php if (ENABLE_TRANSLATIONS) { ?>
|
||||
<tr><td align="right"><?php echo __("Language:") ?></td>
|
||||
<td align="right">
|
||||
<?php
|
||||
@@ -145,7 +144,6 @@ function validateLoginForm(f) {
|
||||
|
||||
?>
|
||||
</td></tr>
|
||||
<?php } ?>
|
||||
|
||||
<tr><td align="right"><?php echo __("Profile:") ?></td>
|
||||
<td align="right" id="profile_box">
|
||||
@@ -167,7 +165,7 @@ function validateLoginForm(f) {
|
||||
<?php } ?>
|
||||
|
||||
<input type="hidden" name="action" value="login">
|
||||
<input type="hidden" name="rt"
|
||||
<input type="hidden" name="rt"
|
||||
value="<?php if ($return_to != 'none') { echo $return_to; } ?>">
|
||||
</td></tr>
|
||||
|
||||
@@ -188,7 +186,7 @@ function validateLoginForm(f) {
|
||||
<td align="center" class="loginBottom">
|
||||
<a href="http://tt-rss.org/">Tiny Tiny RSS</a>
|
||||
<?php if (!defined('HIDE_VERSION')) { ?>
|
||||
v<?php echo VERSION ?>
|
||||
v<?php echo VERSION ?>
|
||||
<?php } ?>
|
||||
© 2005–<?php echo date('Y') ?> <a href="http://fakecake.org/">Andrew Dolgov</a>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user