From 29422fa55379aa61a61019b832c83dab6d450264 Mon Sep 17 00:00:00 2001 From: cweiske Date: Sat, 3 Oct 2009 14:00:33 +0000 Subject: move files to new locations git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@386 b3834d28-1941-0410-a4f8-b48e95affb8f --- data/templates/sidebar.block.search.php | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 data/templates/sidebar.block.search.php (limited to 'data/templates/sidebar.block.search.php') diff --git a/data/templates/sidebar.block.search.php b/data/templates/sidebar.block.search.php new file mode 100644 index 0000000..4e3c801 --- /dev/null +++ b/data/templates/sidebar.block.search.php @@ -0,0 +1,34 @@ +getCurrentUserId(); +if ($logged_on_userid === false) { + $logged_on_userid = NULL; +} + +$lastSearches = $searchhistoryservice->getAllSearches('all', NULL, 3, NULL, true, false); + +if ($lastSearches && count($lastSearches) > 0) { +?> + +

+
+ +'; +} +//echo ''; +?> + +
'; + echo ''; + echo $row['shTerms']; + echo ''; + echo ' ('.$row['shNbResults'].')'; + echo '
...
+
+ -- cgit v1.2.3-54-g00ecf