diff options
Diffstat (limited to '')
-rw-r--r-- | themes/default/template/index.tpl | 10 | ||||
-rw-r--r-- | themes/default/theme.css | 6 |
2 files changed, 13 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)} diff --git a/themes/default/theme.css b/themes/default/theme.css index c747da7ba..c32472210 100644 --- a/themes/default/theme.css +++ b/themes/default/theme.css @@ -685,6 +685,12 @@ INPUT[type="radio"], INPUT[type="checkbox"] { } +.content.messages { + padding:0; + background:none; + border:none; +} + .errors { /* Errors display */ color: red; font-weight: bold; |