aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-11-22 04:41:25 +0000
committerrvelices <rv-github@modusoptimus.com>2006-11-22 04:41:25 +0000
commit5de8aeafad74a35be113fd34917d66a5b10fce1e (patch)
tree56cb2caacdb76b74fbfbb21c07da340ac6830429 /template/yoga
parentf3db3ef388192e4f004e5c36524608e7e300cb47 (diff)
feature 440: send mail to admin when comment is entered
git-svn-id: http://piwigo.org/svn/trunk@1617 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/admin/configuration.tpl40
1 files changed, 33 insertions, 7 deletions
diff --git a/template/yoga/admin/configuration.tpl b/template/yoga/admin/configuration.tpl
index 99a034cf4..7f86f6e1b 100644
--- a/template/yoga/admin/configuration.tpl
+++ b/template/yoga/admin/configuration.tpl
@@ -53,11 +53,19 @@
</li>
<li>
+ <label>
+ <span class="property">{lang:Email admin when a new user registers}</span>
+ <input type="checkbox" name="email_admin_on_new_user" {general.EMAIL_ADMIN_ON_NEW_USER} />
+ </label>
+ </li>
+
+ <br/>
+ <li>
<fieldset>
<legend>{lang:History}</legend>
<ul>
<li>
- <label><span class="property">{lang:Users}</span><input type="checkbox" name="log" {general.HISTORY_USERS} /></label>
+ <label><span class="property">{lang:Users}</span><input type="checkbox" name="log" {general.LOG} /></label>
</li>
<li>
@@ -84,9 +92,10 @@
<ul>
<li>
- <span class="property">{lang:Comments for all}</span>
- <label><input type="radio" class="radio" name="comments_forall" value="true" {comments.COMMENTS_ALL_YES} />{lang:Yes}</label>
- <label><input type="radio" class="radio" name="comments_forall" value="false" {comments.COMMENTS_ALL_NO} />{lang:No}</label>
+ <label>
+ <span class="property">{lang:Comments for all}</span>
+ <input type="checkbox" name="comments_forall" {comments.COMMENTS_FORALL} />
+ </label>
</li>
<li>
@@ -97,10 +106,27 @@
</li>
<li>
- <span class="property">{lang:Validation}</span>
- <label><input type="radio" class="radio" name="comments_validation" value="true" {comments.VALIDATE_YES} />{lang:Yes}</label>
- <label><input type="radio" class="radio" name="comments_validation" value="false" {comments.VALIDATE_NO} />{lang:No}</label>
+ <label>
+ <span class="property">{lang:Validation}</span>
+ <input type="checkbox" name="comments_validation" {comments.COMMENTS_VALIDATION} />
+ </label>
</li>
+
+
+ <li>
+ <label>
+ <span class="property">{lang:Email admin when a valid comment is entered}</span>
+ <input type="checkbox" name="email_admin_on_comment" {comments.EMAIL_ADMIN_ON_COMMENT} />
+ </label>
+ </li>
+
+ <li>
+ <label>
+ <span class="property">{lang:Email admin when a comment requires validation}</span>
+ <input type="checkbox" name="email_admin_on_comment_validation" {comments.EMAIL_ADMIN_ON_COMMENT_VALIDATION} />
+ </label>
+ </li>
+
</ul>
</fieldset>
<!-- END comments -->