From 1b647ff409d336c7e6f7e19baf423d8b7ccb7e05 Mon Sep 17 00:00:00 2001 From: David Sferruzza Date: Sun, 10 Mar 2013 18:24:05 +0100 Subject: Highlight search results (issue #4) Uses http://bartaz.github.com/sandbox.js/jquery.highlight.html --- tpl/page.footer.html | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tpl') diff --git a/tpl/page.footer.html b/tpl/page.footer.html index 13b566ae..c3d7b0b8 100644 --- a/tpl/page.footer.html +++ b/tpl/page.footer.html @@ -18,3 +18,13 @@ $(document).ready(function() }); {/if} + +{if="empty($GLOBALS['disablejquery']) && isset($_GET['searchterm'])"} + + +{/if} \ No newline at end of file -- cgit v1.2.3 From 9da49531909101fd944d922a465f651c6f7b5935 Mon Sep 17 00:00:00 2001 From: David Sferruzza Date: Sun, 10 Mar 2013 18:26:16 +0100 Subject: Avoid highlighting paging stuff --- tpl/page.footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tpl') diff --git a/tpl/page.footer.html b/tpl/page.footer.html index c3d7b0b8..3aa47ba6 100644 --- a/tpl/page.footer.html +++ b/tpl/page.footer.html @@ -24,7 +24,7 @@ $(document).ready(function() {/if} \ No newline at end of file -- cgit v1.2.3