aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/profile.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/template/profile.tpl')
-rw-r--r--themes/default/template/profile.tpl12
1 files changed, 2 insertions, 10 deletions
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}
<div id="content" class="content">
-{if isset($errors)}
-<div class="errors">
- <ul>
- {foreach from=$errors item=error}
- <li>{$error}</li>
- {/foreach}
- </ul>
-</div>
-{/if}
-
<div class="titrePage">
<ul class="categoryActions">
<li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button">
@@ -20,5 +10,7 @@
<h2>{'Profile'|@translate}</h2>
</div>
+{include file='infos_errors.tpl'}
+
{$PROFILE_CONTENT}
</div> <!-- content -->