1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-25 19:01:28 +00:00

reimplement remember_me

This commit is contained in:
Andrew Dolgov
2013-03-28 09:48:58 +04:00
parent 3f0094189c
commit f231f438ba
4 changed files with 17 additions and 3 deletions

View 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) { ?>