From ca230a6f53e3a102faf5cb3633465ee8fc326663 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sun, 18 Dec 2011 21:46:24 +0000 Subject: feature:2538 Make a unified messages management use only $page['infos'] and $page['errors'] vars and and necessary template to all main pages git-svn-id: http://piwigo.org/svn/trunk@12764 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/template/profile.tpl | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'themes/default/template/profile.tpl') diff --git a/themes/default/template/profile.tpl b/themes/default/template/profile.tpl index 7870cf832..0cd94c6b8 100644 --- a/themes/default/template/profile.tpl +++ b/themes/default/template/profile.tpl @@ -1,16 +1,6 @@ {if isset($MENUBAR)}{$MENUBAR}{/if}
-{if isset($errors)} -
-
    - {foreach from=$errors item=error} -
  • {$error}
  • - {/foreach} -
-
-{/if} - +{include file='infos_errors.tpl'} + {$PROFILE_CONTENT}
-- cgit v1.2.3