]> git.wh0rd.org - tt-rss.git/blobdiff - include/login_form.php
reimplement remember_me
[tt-rss.git] / include / login_form.php
index af451239d7e42510eb8780f3176adc4e7a9e077b..4fc08261abb58d068afac7c31d8e3e915c76316f 100644 (file)
@@ -221,6 +221,16 @@ function bwLimitChange(elem) {
                        <label style='display : inline' for="bw_limit"><?php echo __("Use less traffic") ?></label>
                </div>
 
+               <?php if (SESSION_COOKIE_LIFETIME > 0) { ?>
+
+               <div class="row">
+                       <label>&nbsp;</label>
+                       <input dojoType="dijit.form.CheckBox" name="remember_me" id="remember_me" type="checkbox">
+                       <label style='display : inline' for="remember_me"><?php echo __("Remember me") ?></label>
+               </div>
+
+               <?php } ?>
+
                <div class="row" style='text-align : right'>
                        <button dojoType="dijit.form.Button" type="submit"><?php echo __('Log in') ?></button>
                        <?php if (defined('ENABLE_REGISTRATION') && ENABLE_REGISTRATION) { ?>