aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/admin
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-10-19 00:41:07 +0000
committerrvelices <rv-github@modusoptimus.com>2006-10-19 00:41:07 +0000
commitaf621d40d460dec6562664b636fc350d1d8fb9c6 (patch)
tree265f43c6ae9f1f00d9b5472aa9d477d7083c56b2 /template/yoga/admin
parent939cfe5e4bc2cb4a3229d1b3f08f6f86b8f348d1 (diff)
feature 564: logs in the history table each user login
feature 562: possibility to log page visits for any combination of administrators/users/guests git-svn-id: http://piwigo.org/svn/trunk@1565 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/admin')
-rw-r--r--template/yoga/admin/configuration.tpl31
1 files changed, 24 insertions, 7 deletions
diff --git a/template/yoga/admin/configuration.tpl b/template/yoga/admin/configuration.tpl
index 5cb3a56d5..99a034cf4 100644
--- a/template/yoga/admin/configuration.tpl
+++ b/template/yoga/admin/configuration.tpl
@@ -35,17 +35,11 @@
</li>
<li>
- <span class="property">{lang:History}</span>
- <label><input type="radio" class="radio" name="log" value="true" {general.HISTORY_YES} />{lang:Yes}</label>
- <label><input type="radio" class="radio" name="log" value="false" {general.HISTORY_NO} />{lang:No}</label>
- </li>
-
- <li>
<span class="property">{lang:Lock gallery}</span>
<label><input type="radio" class="radio" name="gallery_locked" value="true" {general.GALLERY_LOCKED_YES} />{lang:Yes}</label>
<label><input type="radio" class="radio" name="gallery_locked" value="false" {general.GALLERY_LOCKED_NO} />{lang:No}</label>
</li>
-
+
<li>
<span class="property">{lang:Rating}</span>
<label><input type="radio" class="radio" name="rate" value="true" {general.RATE_YES} />{lang:Yes}</label>
@@ -57,6 +51,29 @@
<label><input type="radio" class="radio" name="rate_anonymous" value="true" {general.RATE_ANONYMOUS_YES} />{lang:Yes}</label>
<label><input type="radio" class="radio" name="rate_anonymous" value="false" {general.RATE_ANONYMOUS_NO} />{lang:No}</label>
</li>
+
+ <li>
+ <fieldset>
+ <legend>{lang:History}</legend>
+ <ul>
+ <li>
+ <label><span class="property">{lang:Users}</span><input type="checkbox" name="log" {general.HISTORY_USERS} /></label>
+ </li>
+
+ <li>
+ <label><span class="property">{lang:user_status_admin}</span><input type="checkbox" name="history_admin" {general.HISTORY_ADMIN} /></label>
+ </li>
+
+ <li>
+ <label><span class="property">{lang:Guests}</span><input type="checkbox" name="history_guest" {general.HISTORY_GUEST} /></label>
+ </li>
+
+ <li>
+ <label><span class="property">{lang:Login history}</span><input type="checkbox" name="login_history" {general.LOGIN_HISTORY} /></label>
+ </li>
+ </ul>
+ </fieldset>
+ </li>
</ul>
</fieldset>
<!-- END general -->