summaryrefslogtreecommitdiff
path: root/httemplate/search/elements
diff options
context:
space:
mode:
authorivan <ivan>2003-08-08 02:02:41 +0000
committerivan <ivan>2003-08-08 02:02:41 +0000
commitef7bb336cc67f127fb1d77532ad3da1369c0ae36 (patch)
treec2497e7638806744c54097d2ecd017d4423dfd2e /httemplate/search/elements
parent69ecd0e15d3de36b56ad133d5ae57dcddc53c63e (diff)
- fix Mason profiling to pass-through images (for graph/)
- fix graph/money-time.cgi use of $m interfering with Mason - fix graph/money-time-graph.cgi to set content-type in a Mason/ASP-independant fashion - (beginning of) includes! - (beginning of) moving SQL search to including generic elements/search.html - fix global.asa typo - fix masonize to not prepend an extraneous blank line (breaking graph/money-time-graph.cgi)
Diffstat (limited to 'httemplate/search/elements')
-rw-r--r--httemplate/search/elements/search.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/httemplate/search/elements/search.html b/httemplate/search/elements/search.html
new file mode 100644
index 000000000..fba8ee815
--- /dev/null
+++ b/httemplate/search/elements/search.html
@@ -0,0 +1,8 @@
+<%
+
+my $conf = new FS::Conf;
+my $maxrecords = $conf->config('maxsearchrecordsperpage');
+
+my $limit = $maxrecords ? "LIMIT $maxrecords" : '';
+
+%>