diff options
Diffstat (limited to 'themes/default/template')
-rw-r--r-- | themes/default/template/index.tpl | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/themes/default/template/index.tpl b/themes/default/template/index.tpl index 5d4a546ce..2f8e5c3aa 100644 --- a/themes/default/template/index.tpl +++ b/themes/default/template/index.tpl @@ -1,4 +1,11 @@ {$MENUBAR} + +{if isset($errors) or isset($infos)} +<div class="content messages {if isset($MENUBAR)}contentWithMenu{/if}"> +{include file='infos_errors.tpl'} +</div> +{/if} + {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if} <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}"> <div class="titrePage{if isset($chronology.TITLE)} calendarTitleBar{/if}"> @@ -125,9 +132,6 @@ jQuery("#derivativeSwitchBox").on("mouseleave", function() { </div>{* <!-- titrePage --> *} -{if isset($errors) or not empty($infos)} -{include file='infos_errors.tpl'} -{/if} {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if} {if !empty($category_search_results)} |