diff options
author | Andrew Dolgov <[email protected]> | 2013-03-28 09:48:58 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-28 09:48:58 +0400 |
commit | f231f438ba5cfefdbd6171e5bec408973db32ee2 (patch) | |
tree | b09c5c0b315220ada944af088181013b966da689 /include/login_form.php | |
parent | 3f0094189c273e6e24bf61e6c24d129918cee14e (diff) |
reimplement remember_me
Diffstat (limited to 'include/login_form.php')
-rw-r--r-- | include/login_form.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/login_form.php b/include/login_form.php index af451239d..4fc08261a 100644 --- a/include/login_form.php +++ b/include/login_form.php @@ -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> </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) { ?> |