summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaetzer <laetzer@users.sourceforge.net>2008-09-01 01:08:40 +0000
committerlaetzer <laetzer@users.sourceforge.net>2008-09-01 01:08:40 +0000
commita12d7cd639c1e72b5d4a7ffbf6353cf0153f0f2b (patch)
treee555106094487155ca173e49f5663483e8ae5ef4
parent813fcddb704cd92e9abba041a90f27b93dcd4101 (diff)
downloadsearch-a12d7cd639c1e72b5d4a7ffbf6353cf0153f0f2b.tar.gz
search-a12d7cd639c1e72b5d4a7ffbf6353cf0153f0f2b.tar.bz2
search-a12d7cd639c1e72b5d4a7ffbf6353cf0153f0f2b.zip
searched term first, details second
-rw-r--r--templates/search.tpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/search.tpl b/templates/search.tpl
index 4e3606d..763313e 100644
--- a/templates/search.tpl
+++ b/templates/search.tpl
@@ -49,8 +49,10 @@
{* using capture for no particular reason appart from a nicer layout - xing *}
{capture name=title}
{assign var=guid value=$results[search].content_type_guid}
- {tr}{$gLibertySystem->mContentTypes.$guid.content_description}{/tr} <a href="{$results[search].href}&highlight={$words|escape:url}">{$results[search].title|escape}</a>
- <small>&bull;&nbsp;{tr}Relevance{/tr}: {$results[search].relevancy} &bull;&nbsp;{tr}Hits{/tr}: {$results[search].hits}
+ <a href="{$results[search].href}&highlight={$words|escape:url}">{$results[search].title|escape}</a>
+ &nbsp;
+ <small>
+ &bull; {tr}{$gLibertySystem->mContentTypes.$guid.content_description}{/tr} &bull; {tr}Relevance{/tr}:&nbsp;{$results[search].relevancy} &bull; {tr}Hits{/tr}:&nbsp;{$results[search].hits}
{if $gBitSystem->isFeatureActive( 'search_fulltext' )}
&nbsp;&bull;&nbsp;
{if $results[search].relevancy <= 0}