aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/page.footer.html
diff options
context:
space:
mode:
authorSébastien SAUVAGE <sebsauvage@sebsauvage.net>2013-03-11 02:11:47 -0700
committerSébastien SAUVAGE <sebsauvage@sebsauvage.net>2013-03-11 02:11:47 -0700
commit99954e12900401c5c725e65bce28cc1711653e45 (patch)
tree7b6c401fd5c94e75f4af99f46ca8ef195fad7b4a /tpl/page.footer.html
parent87e3d65023ae382ec7cabd904dd070a9242e6bb8 (diff)
parent9da49531909101fd944d922a465f651c6f7b5935 (diff)
downloadShaarli-99954e12900401c5c725e65bce28cc1711653e45.tar.gz
Shaarli-99954e12900401c5c725e65bce28cc1711653e45.tar.zst
Shaarli-99954e12900401c5c725e65bce28cc1711653e45.zip
Merge pull request #43 from dsferruzza/highlight-search-results
Highlight search results
Diffstat (limited to 'tpl/page.footer.html')
-rw-r--r--tpl/page.footer.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/tpl/page.footer.html b/tpl/page.footer.html
index 13b566ae..3aa47ba6 100644
--- a/tpl/page.footer.html
+++ b/tpl/page.footer.html
@@ -18,3 +18,13 @@ $(document).ready(function()
18}); 18});
19</script> 19</script>
20{/if} 20{/if}
21
22{if="empty($GLOBALS['disablejquery']) && isset($_GET['searchterm'])"}
23<script src="inc/jquery.highlight.js#"></script>
24<script language="JavaScript">
25$(document).ready(function()
26{
27 $('#linklist li').highlight("{$search_crits}");
28});
29</script>
30{/if} \ No newline at end of file