]> git.wh0rd.org Git - tt-rss.git/commitdiff
hide language selector from login screen unless ENABLE_TRANSLATIONS is set
authorAndrew Dolgov <fox@bah.spb.su>
Wed, 21 Nov 2007 17:45:33 +0000 (18:45 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Wed, 21 Nov 2007 17:45:33 +0000 (18:45 +0100)
login_form.php

index 090d53e9813dfdb9690280382e72f1583623d790..6520c29cfe097b2616d865430eda6a75adaccc8d 100644 (file)
@@ -86,6 +86,7 @@ window.onload = init;
                        <td align="right"><input name="login"></td></tr>
                        <tr><td align="right"><?php echo __("Password:") ?></td>
                        <td align="right"><input type="password" name="password"></td></tr>
+                       <?php if (ENABLE_TRANSLATIONS) { ?>
                        <tr><td align="right"><?php echo __("Language:") ?></td>
                        <td align="right">
                        <?php
@@ -94,6 +95,7 @@ window.onload = init;
 
                        ?>
                        </td></tr>
+                       <?php } ?>
                        <!-- <tr><td colspan="2">
                                <input type="checkbox" name="remember_me" id="remember_me">
                                <label for="remember_me">Remember me on this computer</label>