summaryrefslogtreecommitdiffstats
path: root/themes/default
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-07-28 06:45:07 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-07-28 06:45:07 +0000
commitd017dda4269c5122cd522218357a11fcb4880a5d (patch)
treecf523df0c57e07e12dc2402b6038617f26df7849 /themes/default
parent983265c10193e5ba5bb7193c454524efb34ea1ee (diff)
issue67, when called from an external link, also check the consider-date-search-box if a date-range is specified in the url
git-svn-id: file:///var/lib/svn/phpfspot/trunk@259 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'themes/default')
-rw-r--r--themes/default/templates/search.tpl9
1 files changed, 8 insertions, 1 deletions
diff --git a/themes/default/templates/search.tpl b/themes/default/templates/search.tpl
index 549f2dc..2a6c14b 100644
--- a/themes/default/templates/search.tpl
+++ b/themes/default/templates/search.tpl
@@ -19,7 +19,14 @@
</tr>
<tr>
<td>Date:</td>
- <td><input type="checkbox" name="consider_date" value="Y" onclick="datesearch();">consider date-search
+ <td>
+ { if ! $date_search_enabled }
+ <input type="checkbox" name="consider_date" value="Y" onclick="datesearch();">
+ { else }
+ <input type="checkbox" name="consider_date" value="Y" onclick="datesearch();" checked="checked">
+ { /if }
+ consider date-search
+ </td>
</tr>
<tr>
<td>&nbsp;</td>