aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2012-10-21 15:27:50 +0000
committermistic100 <mistic@piwigo.org>2012-10-21 15:27:50 +0000
commitedd6cc25c5ae3e71b489194f1d6c8a93a6680614 (patch)
tree02b23c3945b72fbc907dbbaa3378eed01f303d9c /themes/default/template
parent548698e760eeca2abbafe2a38f77e2202f9c013b (diff)
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
Diffstat (limited to 'themes/default/template')
-rw-r--r--themes/default/template/index.tpl10
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)}