Remove search_auto_restrict_sr example flag

This commit is contained in:
umbrae
2014-09-16 07:46:29 -07:00
parent 0a5b26c161
commit 5305984dff
2 changed files with 1 additions and 3 deletions

View File

@@ -680,8 +680,6 @@ cflag_min_votes = 7
cflag_lower_bound = 0.4
cflag_upper_bound = 0.6
feature_search_auto_restrict_sr = off
# Availability for the "force HTTPS" option
feature_allow_force_https = {"employee": true}
# Who is required to use HTTPS?

View File

@@ -65,7 +65,7 @@
%elif thing.simple:
<div id="searchexpando" class="infobar">
% if not isinstance(c.site, DefaultSR):
<label><input type="checkbox" name="restrict_sr" ${"checked" if feature.is_enabled('search_auto_restrict_sr') else ''} />${_('limit my search to %(path)s') % dict(path=c.site.path.rstrip('/'))}</label>
<label><input type="checkbox" name="restrict_sr" />${_('limit my search to %(path)s') % dict(path=c.site.path.rstrip('/'))}</label>
% endif
${search_faq()}