1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 03:04:09 +02:00

[feature/delete-auto-logins] using loop for errors

instead of hardcoding html code into ERROR variable, we use errors array
and use loop in template file.

PHPBB3-9647
This commit is contained in:
Dhruv Goel
2012-04-11 03:34:29 +05:30
parent d5b1e108f9
commit bdf66b27ab
2 changed files with 8 additions and 2 deletions

View File

@@ -7,7 +7,13 @@
<div class="inner">
<fieldset>
<!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
<!-- IF .errors -->
<p class="error">
<!-- BEGIN errors -->
{errors} <br />
<!-- END errors -->
</p>
<!-- ENDIF -->
<!-- IF .sessions -->
<p>{L_PROFILE_AUTOLOGIN_KEYS}</p>
<table>