aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/index.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/template/index.tpl')
-rw-r--r--themes/default/template/index.tpl19
1 files changed, 15 insertions, 4 deletions
diff --git a/themes/default/template/index.tpl b/themes/default/template/index.tpl
index 00dccca5e..e8009b9d2 100644
--- a/themes/default/template/index.tpl
+++ b/themes/default/template/index.tpl
@@ -121,25 +121,36 @@
{if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
+{if !empty($no_search_results)}
+<p class="search_results">{'No results for'|@translate} :
+ <em><strong>
+ {foreach $no_search_results as $res}
+ {if !$res@first} &mdash; {/if}
+ {$res}
+ {/foreach}
+ </strong></em>
+</p>
+{/if}
+
{if !empty($category_search_results)}
-<div class="category_search_results">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
+<p class="search_results">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
<em><strong>
{foreach from=$category_search_results item=res name=res_loop}
{if !$smarty.foreach.res_loop.first} &mdash; {/if}
{$res}
{/foreach}
</strong></em>
-</div>
+</p>
{/if}
{if !empty($tag_search_results)}
-<div class="tag_search_results">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
+<p class="search_results">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
<em><strong>
{foreach from=$tag_search_results item=tag name=res_loop}
{if !$smarty.foreach.res_loop.first} &mdash; {/if} <a href="{$tag.URL}">{$tag.name}</a>
{/foreach}
</strong></em>
-</div>
+</p>
{/if}
{if isset($FILE_CHRONOLOGY_VIEW)}