summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2010-04-17 04:56:46 +0000
committerwjames5 <will@tekimaki.com>2010-04-17 04:56:46 +0000
commit198d1a5d4adefbac78a7d5fac1a6cd85581dabed (patch)
tree67feda22b1a063d89c17ceb275c981ef50b228fa
parent38f11a80bcda938e9d4197c6f8b09b8713b76b0a (diff)
downloadsearch-198d1a5d4adefbac78a7d5fac1a6cd85581dabed.tar.gz
search-198d1a5d4adefbac78a7d5fac1a6cd85581dabed.tar.bz2
search-198d1a5d4adefbac78a7d5fac1a6cd85581dabed.zip
step three of contenttype name plural - replace all instances where name is accessed though systme hash with get name method call, still no schema change required
-rw-r--r--templates/search.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/search.tpl b/templates/search.tpl
index 763313e..f658576 100644
--- a/templates/search.tpl
+++ b/templates/search.tpl
@@ -52,7 +52,7 @@
<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}
+ &bull; {tr}{$gLibertySystem->getContentTypeName($guid)}{/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}