{include file="header.html"}
<!--// $Id$ //-->
<table width="50%" cellpadding="10" align="center"><tr><td>
<form method="post" action="?m=accounts&f=mailsave" name="accounts">
{box title="Nowe konto"}
<table width="100%" cellpadding="3" class="light">
	<tr class="light">
		<td width="1%">
			{img src="helpdesk.gif" alt=""}
		</td>
		<td width="1%">
			<b>{t}Konto:{/t}</b>
		</td>
		<td width="98%">
			{if $mail_err}
			<b><span style="color: red;">{$mail_err}</span></b>
			{/if}
			<input style="width:99%;" type="text" name="account[account]" maxlength="30" {userpaneltip text="Wprowadź nazwę konta - część przed (do 30 znaków) @" trigger="account"} />
		</td>
	</tr>
	<tr class="light">
		<td width="1%">
			{img src="helpdesk.gif" alt=""}
		</td>
		<td width="1%">
			<b>{t}Hasło:{/t}</b>
		</td>
		<td width="98%">
			{if $pass_err}
			<b><span style="color: red;">{$pass_err}</span></b>
			{/if}
			<input style="width:99%;" type="password" name="account[password1]" maxlength="30" {userpaneltip text="Wprowadź hasło" trigger="account"} />
		</td>
	</tr>
	<tr class="light">
		<td width="1%">
			{img src="helpdesk.gif" alt=""}
		</td>
		<td width="1%">
			<b>{t}Hasło (2):{/t}</b><br>
		</td>
		<td width="98%">
			<input style="width:99%;" type="password" name="account[password2]" maxlength="30" {userpaneltip text="Wprowadź ponownie hasło (dla sprawdzenia)" trigger="account"} />
		</td>
	</tr>
	    <TR>
		<td width="1%">
		</td>
		<TD WIDTH="1%" NOWRAP>
		    <b>{t}Domena: @{/t}</b>
		</TD>
		<TD WIDTH="99%" NOWRAP>
		    <SELECT NAME="account[domain]" {tip text="Wybierz sobie domenkę"}>
			    {foreach from=$mail_allowed_domains_array item=queue}
			    <OPTION value="{$queue}"{if $queue.id == $default_queue} SELECTED{/if}>{$queue}</OPTION>
			    {/foreach}
		    </SELECT> 
    		</TD>
	    </TR>

	<tr class="light">
		<td width="100%" colspan="3" align="right">
			<a href="javascript:document.accounts.submit()" accesskey="S">{t}Submit{/t} {img src="save.gif" alt="Submit"}</a>
		</td>
	</tr>
</table>
{/box}
</form>
</td></tr></table>
{include file="footer.html"}
