<!--
Copyright by Thomas Bley 2002-2003
thomas.bley@simple-groupware.de

http://www.simple-groupware.de
-->
<html>
<head>
	<title>Webmail by Thomas Bley - Simple Groupware Solutions - more.groupware</title>
    <meta http-equiv="content-type" content="text/html; charset={$charset}">
	<link rel="SHORTCUT ICON" href="{$imgpathmaster}/favicon.ico">
	<link rel="icon" href="{$imgpathmaster}/favicon.ico" type="image/ico">
<!--    <link rel="stylesheet" type="text/css" href="http://localhost:81/mgw-11-02-03/mgw/modules/general/templates/default/css/Morelogs_Silver.css" />-->

<style type="text/css">
{literal}
<!--
body {scrollbar-face-color: #E4E4E4; scrollbar-shadow-color: #000000;scrollbar-highlight-color: #FFFFFF; scrollbar-3dlight-color: #999999;scrollbar-darkshadow-color: #999999; scrollbar-track-color: #F3F3F3;scrollbar-arrow-color: #000000;
  BORDER-LEFT:#434343 1px solid;
}
td {  font-family: Arial, Helvetica,sans-serif; font-size: 10pt; font-variant: normal; text-transform: none; color: #000000}
a:hover {  color: #CC0000; text-decoration: underline}
.lines
{color:#ffffff;
background:#ffffff;}

.lines2
{color:#ffffff;
background:#838899;}
-->

{/literal}
</style>

<script>
{literal}
function return_height() {
  Browser = navigator.appName;
  if (navigator.appName.substring(0,9) == "Microsoft") Browser = 'MSIE';
  if (Browser != 'MSIE') {
      return (innerHeight-4);
    } else {
      return (document.body.clientHeight-2);
      }
}
{/literal}
</script>

</head>
<body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" link="#1F4687" vlink="#1F4687" alink="#1F4687" bgcolor="#F3F3F3">

<center>

<table border="0" cellpadding="0" cellspacing="0" height="100%" width="98%"><tr><td>
<script>
document.write('<img src="templates/default/media/spacer.gif" width="1" height="'+return_height()+'">');
</script>
</td><td valign="top">

<img src="templates/default/media/spacer.gif" alt="" width="1" height="7" border="0"><br>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#D1D1D1"><td>
&nbsp;<font color="#4E4E4E"><b> {$hashmap.webmail2_settings_list_of_accounts}</b></font>
</td></tr></table>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr valign="top">
    <td class="contentback" height="200" align="left" valign="top">

	<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
		<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="10"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="10" HEIGHT="10" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="tab">&nbsp;</TD>
		</TR>
		<TR><TD CLASS="lines2" HEIGHT="1" WIDTH="1" COLSPAN="2"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>						
		<TR ALIGN="left">
			<TD colspan="2" align="center" CLASS="formhead">
           {if $disable_create_accounts neq "yes"}
             <a href="settings.php?action=newaccount&type=imap&{$SESSION}">{$hashmap.webmail2_settings_new_account} (Imap-Only)</a>
             - <a href="settings.php?action=newaccount&{$SESSION}">{$hashmap.webmail2_settings_new_account} (Fetch from Imap or Pop3)</a>
            <br><br>
            
            {if $showpwd eq "yes"}
			<a href='settings.php?showpwd=&action=listaccounts&{$SESSION}'>{$hashmap.webmail2_settings_pwdshow_no}</a>
			{else}
            <a href='settings.php?showpwd=yes&action=listaccounts&{$SESSION}'>{$hashmap.webmail2_settings_pwdshow}</a>
			{/if}
            {/if}

            </TD>
		</TR>
		{section name=mailbox loop=$wm2_mailboxname}
		{if $wm2_mailboxname[mailbox] != ""}

		<TR><TD CLASS="lines2" HEIGHT="1" WIDTH="1" COLSPAN="2"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
        {if ($wm2_my_username[mailbox] neq $oldmailbox) and $oldmailbox neq ""}
        <tr><td>&nbsp;</td></tr>
		<TR><TD CLASS="lines2" HEIGHT="1" WIDTH="1" COLSPAN="2"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
        {/if}
		<TR>
			<TD CLASS="formhead" HEIGHT="1" WIDTH="50%">
				<IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="50%" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0">
			</TD>
			<TD CLASS="formhead" HEIGHT="1" WIDTH="50%">
				<IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="50%" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0">
			</TD>
		</TR><TR>
			<TD CLASS="formhead" align="center" colspan="2">
			
				<table width="100%" border="0" cellpadding="0" cellspacing="0">
					<tr>
						<td align="center" width="33%">
            {if $wm2_usermaychange[mailbox] eq "checked"}
                <a href="settings.php?action=editaccount&account={$wm2_nums[mailbox]}&{$SESSION}">{$hashmap.webmail2_settings_edit}</a>&nbsp;&nbsp;&nbsp;
            {/if}
						</td>
						<td align="center" width="33%">
						{if $wm2_enable_smtp[mailbox] eq $hashmap.settings_activated_yes && $wm2_mailboxname[mailbox] neq "default"}

							{if $wm2_default_account eq $wm2_nums[mailbox]}[{$hashmap.default_account}]{else}<a href="settings.php?action=make_default&account={$wm2_nums[mailbox]}&{$SESSION}">{$hashmap.make_default_account}</a>{/if}
	
						{/if}
						</td>
						<td align="center" width="33%">
            {if ($wm2_mailboxname[mailbox] neq "default") and ($wm2_usermaychange[mailbox] eq "checked")}
            <a href="settings.php?action=deleteaccount&account={$wm2_nums[mailbox]}&{$SESSION}" onclick="return confirm('{$hashmap.webmail2_settings_delete_confirm}')">{$hashmap.webmail2_settings_delete}</a>&nbsp;&nbsp;&nbsp;
            {/if}
						</td>
					</tr>
				</table><br>
            </TD>
		</TR><TR>
			<TD CLASS="formhead">&nbsp; &nbsp; &nbsp; {$hashmap.webmail2_settings_account_name}&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:normal"><b>{$wm2_my_username[mailbox]} {$wm2_mailboxname[mailbox]}</b>&nbsp;&nbsp;</TD>
		</TR><TR>
			<TD CLASS="formhead">&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:bold">&nbsp;&nbsp;</TD>

        {if $wm2_usermaychange2[mailbox] neq ""}
		</TR><TR>
			<TD CLASS="formhead">&nbsp; &nbsp; &nbsp; {$hashmap.webmail2_settings_user_can_edit2}&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:bold">{$wm2_usermaychange2[mailbox]}&nbsp;&nbsp;</TD>
        {/if}
		</TR><TR>
			<TD CLASS="formhead">&nbsp; &nbsp; &nbsp; {$hashmap.webmail2_settings_activated}&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:bold">{$wm2_activated[mailbox]}&nbsp;&nbsp;</TD>
		</TR><TR>
			<TD CLASS="formhead">&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:bold">&nbsp;&nbsp;</TD>
		</TR><TR>
			<TD CLASS="formhead">&nbsp; &nbsp; &nbsp; {$hashmap.webmail2_settings_mailserver_type}&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:normal">{$wm2_servertype[mailbox]}&nbsp;&nbsp;</TD>
		</TR><TR>
			<TD CLASS="formhead">&nbsp; &nbsp; &nbsp; {$hashmap.webmail2_settings_mailserver}&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:normal">{$wm2_pophost[mailbox]}&nbsp;&nbsp;</TD>
		{if $wm2_enable_ssl[mailbox] eq $hashmap.settings_activated_yes && $php_version >= 430}
		</TR><TR>
			<TD CLASS="formhead">&nbsp; &nbsp; &nbsp; {$hashmap.webmail2_settings_enable_ssl}&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:normal">{$wm2_enable_ssl[mailbox]}&nbsp;&nbsp;</TD>
        {/if}
		</TR><TR>
			<TD CLASS="formhead">&nbsp; &nbsp; &nbsp; {$hashmap.webmail2_settings_username}&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:normal">{$wm2_username[mailbox]}&nbsp;&nbsp;</TD>
			{if ($showpwd eq "yes") and ($wm2_usermaychange[mailbox] eq "checked")}
		</TR><TR>
			<TD CLASS="formhead">&nbsp; &nbsp; &nbsp; {$hashmap.webmail2_settings_password}&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:normal">{$wm2_password[mailbox]}</TD>
			{/if}

        {if $wm2_servertype[mailbox] eq "Imap only"}
		</TR><TR>
			<TD CLASS="formhead">&nbsp; &nbsp; &nbsp; {$hashmap.webmail2_settings_imap_list_all}&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:normal">{$wm2_imap_list_all[mailbox]}</TD>
		</TR><TR>
			<TD CLASS="formhead">&nbsp; &nbsp; &nbsp; {$hashmap.webmail2_settings_imap_show_numbers}&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:normal">{$wm2_imap_list_all[mailbox]}</TD>
		{/if}

        {if $wm2_servertype[mailbox] neq "Imap only"}
		</TR><TR>
			<TD CLASS="formhead">&nbsp; &nbsp; &nbsp; {$hashmap.webmail2_settings_leave_messages_on_server2}&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:normal">{$wm2_leavemessages[mailbox]}</TD>
		{/if}
		{if $wm2_enable_smtp[mailbox] eq $hashmap.settings_activated_yes}
		</TR><TR>
			<TD CLASS="formhead">&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:bold">&nbsp;&nbsp;</TD>
		</TR><TR>
			<TD CLASS="formhead">&nbsp; &nbsp; &nbsp; {$hashmap.webmail2_settings_from_name}&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:normal">{$wm2_fullname[mailbox]}&nbsp;&nbsp;</TD>
		</TR><TR>
			<TD CLASS="formhead">&nbsp; &nbsp; &nbsp; {$hashmap.webmail2_settings_replyto}&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:normal">{$wm2_replyto[mailbox]}&nbsp;&nbsp;</TD>
		</TR><TR>
		{if $wm2_signature[mailbox] neq ""}
			<TD CLASS="formhead">&nbsp; &nbsp; &nbsp; {$hashmap.webmail2_settings_signature}&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:normal">{$wm2_signature[mailbox]|smarty:nodefaults}&nbsp;&nbsp;</TD>
		</TR><TR>
		{/if}
		{if $wm2_signature_html[mailbox] neq ""}
			<TD CLASS="formhead">&nbsp; &nbsp; &nbsp; {$hashmap.webmail2_settings_signature_html}&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:normal">{$wm2_signature_html[mailbox]|smarty:nodefaults}&nbsp;&nbsp;</TD>
		{/if}
		</TR><TR>
			<TD CLASS="formhead">&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:bold">&nbsp;&nbsp;</TD>
<!--
		</TR><TR>
			<TD CLASS="formhead">&nbsp; &nbsp; &nbsp; {$hashmap.webmail2_settings_use_mail_function}&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:normal">{$wm2_usemailfunction[mailbox]}</TD>-->
		</TR><TR>
			<TD CLASS="formhead">&nbsp; &nbsp; &nbsp; {$hashmap.webmail2_settings_smtp_host}&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:normal">{$wm2_smtphost[mailbox]}</TD>
		{if $wm2_enable_ssl_smtp[mailbox] eq $hashmap.settings_activated_yes && $php_version >= 430}
		</TR><TR>
			<TD CLASS="formhead">&nbsp; &nbsp; &nbsp; {$hashmap.webmail2_settings_enable_ssl_smtp}&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:normal">{$wm2_enable_ssl_smtp[mailbox]}&nbsp;&nbsp;</TD>
		{/if}
		</TR><TR>
			<TD CLASS="formhead">&nbsp; &nbsp; &nbsp; {$hashmap.webmail2_settings_popbeforesmtp2}&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:normal">{$wm2_popbeforesmtp[mailbox]}</TD>
		</TR><TR>
			<TD CLASS="formhead">&nbsp; &nbsp; &nbsp; {$hashmap.webmail2_settings_smtp_auth_2}&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:normal">{$wm2_smtpauth[mailbox]}</TD>
		{if $wm2_smtpauth[mailbox] eq $hashmap.settings_activated_yes}
		</TR><TR>
			<TD CLASS="formhead">&nbsp; &nbsp; &nbsp; {$hashmap.webmail2_settings_smtp_username}&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:normal">{$wm2_smtpusername[mailbox]}</TD>
			{if ($showpwd eq "yes") and ($wm2_usermaychange[mailbox] eq "checked")}
			</TR><TR>
			<TD CLASS="formhead">&nbsp; &nbsp; &nbsp; {$hashmap.webmail2_settings_smtp_password}&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:normal">{$wm2_smtppassword[mailbox]}</TD>
			{/if}
		</TR><TR>
			<TD CLASS="formhead">&nbsp; &nbsp; &nbsp; {$hashmap.webmail2_settings_smtp_auth_use_pop3_2}&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:normal">{$wm2_smtpusepopuser[mailbox]}</TD>
		{/if}
		</TR><TR>
			<TD CLASS="formhead">&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:bold">&nbsp;&nbsp;</TD>
		</TR><TR>
			<TD CLASS="formhead">&nbsp; &nbsp; &nbsp; {$hashmap.webmail2_settings_perform_test}&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:normal"><a href="smtp_trace.php?account={$wm2_nums[mailbox]}&{$SESSION}">{$hashmap.webmail2_settings_smtp_test}</a></TD>
		{/if}
		</TR><TR>
			<TD CLASS="formhead">&nbsp;&nbsp;</TD>
			<TD CLASS="formhead" style="font-weight:bold">&nbsp;&nbsp;</TD>
                </TR>
        {assign var="oldmailbox" value=$wm2_my_username[mailbox]}
		{/if}
		{/section}
		
	</TABLE>
</td></tr></table>

</body>
</html>
	
