summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2007-09-13 23:51:48 +0000
committerChristian Fowler <spider@viovio.com>2007-09-13 23:51:48 +0000
commitb5fa4a2467ed735f24d9b35c3a55ac51e1aa1740 (patch)
treec360242848882a4fd8fe2f2ef6c9266083c2104f /templates
parent652edd6a6d9e362636000ce77c7e9d7fcf0f3bec (diff)
downloadfisheye-b5fa4a2467ed735f24d9b35c3a55ac51e1aa1740.tar.gz
fisheye-b5fa4a2467ed735f24d9b35c3a55ac51e1aa1740.tar.bz2
fisheye-b5fa4a2467ed735f24d9b35c3a55ac51e1aa1740.zip
turn on comments by default
Diffstat (limited to 'templates')
-rw-r--r--templates/edit_gallery.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/edit_gallery.tpl b/templates/edit_gallery.tpl
index 069de47..038ee3f 100644
--- a/templates/edit_gallery.tpl
+++ b/templates/edit_gallery.tpl
@@ -105,7 +105,7 @@ function updateGalleryPagination() {
<div class="row">
{formlabel label="Image Comments" for=allow_comments}
{forminput}
- <input type="checkbox" name="allow_comments" id="allow_comments" value="y" {if $gContent->getPreference('allow_comments') eq 'y'}checked="checked"{/if} />
+ <input type="checkbox" name="allow_comments" id="allow_comments" value="y" {if !$gContent->isValid() || $gContent->getPreference('allow_comments') eq 'y'}checked="checked"{/if} />
{formhelp note="Allow posting comments for an image."}
{/forminput}
</div>