aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/search.tpl
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2016-02-15 14:50:57 +0100
committerplegall <plg@piwigo.org>2016-02-15 14:50:57 +0100
commite03dff12b15fde7f5326e1e3fe9dd42102b55fe2 (patch)
treec452a36d22d4d4b2a10d4a4e185caada9b3618d0 /themes/default/template/search.tpl
parenta6fbaf69c71c3b39666a6323c4c6bbb7cbb98310 (diff)
parent8897e75fc28679b5003b8abf9ecdb50234c9199f (diff)
Merge branch 'feature/355-search-by-words-on-tags'
Diffstat (limited to 'themes/default/template/search.tpl')
-rw-r--r--themes/default/template/search.tpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/themes/default/template/search.tpl b/themes/default/template/search.tpl
index 1a12e9832..4129746bd 100644
--- a/themes/default/template/search.tpl
+++ b/themes/default/template/search.tpl
@@ -47,6 +47,9 @@ jQuery(document).ready(function() {
<label><input type="checkbox" name="fields[]" value="name" checked="checked"> {'Photo title'|translate}</label>
<label><input type="checkbox" name="fields[]" value="comment" checked="checked"> {'Photo description'|translate}</label>
<label><input type="checkbox" name="fields[]" value="file" checked="checked"> {'File name'|translate}</label>
+{if isset($TAGS)}
+ <label><input type="checkbox" name="search_in_tags" value="tags"> {'Tags'|translate}</label>
+{/if}
</p>
</fieldset>