bug 2775: on index page, errors/infos messages can be at the bottom with PWG Stuffs

git-svn-id: http://piwigo.org/svn/trunk@18712 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
mistic100 2012-10-21 15:27:50 +00:00
commit edd6cc25c5
2 changed files with 13 additions and 3 deletions

View file

@ -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)}

View file

@ -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;