diff options
author | Willi Eggeling <mail@wje-online.de> | 2017-08-26 09:27:10 +0200 |
---|---|---|
committer | Willi Eggeling <mail@wje-online.de> | 2017-08-27 16:03:37 +0200 |
commit | 2e07e77573a379f9af006b2c523117eef9fdf9b2 (patch) | |
tree | bbcd002b7d357f92a832b4bd22d5ed6251732037 /tpl/default | |
parent | de901736a663934c1b67f09f1d586da665f0f036 (diff) | |
download | Shaarli-2e07e77573a379f9af006b2c523117eef9fdf9b2.tar.gz Shaarli-2e07e77573a379f9af006b2c523117eef9fdf9b2.tar.zst Shaarli-2e07e77573a379f9af006b2c523117eef9fdf9b2.zip |
new setting: default value for 'remember me' checkbox
- the default state for the login page's 'remember me' checkbox can now be configured
- adapted the default and vintage theme to consider the new setting
- added documentation for the new setting
Diffstat (limited to 'tpl/default')
-rw-r--r-- | tpl/default/loginform.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tpl/default/loginform.html b/tpl/default/loginform.html index eb6d8378..5777a218 100644 --- a/tpl/default/loginform.html +++ b/tpl/default/loginform.html | |||
@@ -30,7 +30,8 @@ | |||
30 | </div> | 30 | </div> |
31 | <div class="remember-me"> | 31 | <div class="remember-me"> |
32 | <input type="checkbox" name="longlastingsession" id="longlastingsessionform" | 32 | <input type="checkbox" name="longlastingsession" id="longlastingsessionform" |
33 | checked="checked" tabindex="22"> | 33 | {if="$remember_user_default"}checked="checked"{/if} |
34 | tabindex="22"> | ||
34 | <label for="longlastingsessionform">{'Remember me'|t}</label> | 35 | <label for="longlastingsessionform">{'Remember me'|t}</label> |
35 | </div> | 36 | </div> |
36 | <div> | 37 | <div> |