0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00
postfixadmin/templates/login.tpl
Christian Boltz 80591f97bc *.lang:
- add $PALANG['password'] to replace duplicate texts
  -$PALANG['pLogin_password']
  -$PALANG['pCreate_mailbox_password']
  -$PALANG['pAdminEdit_admin_password']
- set $PALANG['pFetchmail_field_src_password']= $PALANG['password']; 
  (needed until fetchmail is migrated into FetchmailHandler)

model/*, setup.php, templates/*:
- use $PALANG['password'] everywhere	  


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1504 a1433add-5e2c-0410-b055-b7f2511e0802
2013-07-28 19:46:50 +00:00

43 lines
1.0 KiB
Smarty

<div id="login">
<form name="frmLogin" method="post" action="">
<table id="login_table" cellspacing="10">
<tr>
<th colspan="2">
{if $logintype=='admin'}{$PALANG.pLogin_welcome}
{else}{$PALANG.pUsersLogin_welcome}
{/if}
</th>
</tr>
<tr>
<td class="label"><label>{$PALANG.pLogin_username}:</label></td>
<td><input class="flat" type="text" name="fUsername" /></td>
</tr>
<tr>
<td class="label"><label>{$PALANG.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 class="label">&nbsp;</td>
<td><input class="button" type="submit" name="submit" value="{$PALANG.pLogin_button}" /></td>
</tr>
{if $logintype == 'admin'}
<tr>
<td colspan="2"><a href="users/">{$PALANG.pLogin_login_users}</a></td>
</tr>
{/if}
</table>
</form>
{literal}
<script type="text/javascript">
<!--
document.frmLogin.fUsername.focus();
// -->
</script>
{/literal}
</div>