0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00
postfixadmin/templates/users_login.tpl
Christian Boltz 2b1f3e4102 login.tpl, users_login.tpl:
- changed <h4> to <th>
- mark labels with <label>
- added a label to the language selector
- removed tMessage

languages/*:
- added PALANG[pLogin_language]

changes compared to Dale's patch:
- users_login.tpl:
  - do not add the <div class="field_container"> ... </div> wraps
  - use PALANG[pLogin_language] instead of PALANG[pUsersLogin_language]
    to avoid a superfluous string/translation
- login.tpl:
  - removed wrong colspan for language selector and login button
- de.lang: added german translation for PALANG[pLogin_language]

This commit is part of the huge cleanup patch by Dale Blount (lnxus@SF),
https://sourceforge.net/tracker/?func=detail&atid=937966&aid=3370510&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1089 a1433add-5e2c-0410-b055-b7f2511e0802
2011-07-19 19:34:11 +00:00

26 lines
761 B
Smarty

<div id="login">
<form name="frmLogin" method="post" action="">
<table id="login_table" cellspacing="10">
<tr>
<th colspan="2">{$PALANG.pUsersLogin_welcome}</th>
</tr>
<tr>
<td class="label"><label>{$PALANG.pUsersLogin_username}:</label></td>
<td><input class="flat" type="text" name="fUsername" value="{$tUsername}" /></td>
</tr>
<tr>
<td class="label"><label>{$PALANG.pUsersLogin_password}:</label></td>
<td><input class="flat" type="password" name="fPassword" /></td>
</tr>
<tr>
<td class="label"><label>{$PALANG.pLogin_language}:</label></td>
<td>{$language_selector}</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input class="button" type="submit" name="submit" value="{$PALANG.pUsersLogin_button}" /></td>
</tr>
</table>
</form>
</div>