2021-04-28 20:10:26 +02:00

73 lines
2.3 KiB
Smarty

{*
/*************************************
* SPDX-FileCopyrightText: 2009-2020 Vtenext S.r.l. <info@vtenext.com>
* SPDX-License-Identifier: AGPL-3.0-only
************************************/
*}
{* crmv@3082m crmv@57983 *}
<tr id="account_div_{$KEY}">
<td nowrap>
{* crmv@114260 *}
<a href="index.php?module=Messages&action=MessagesAjax&file=Settings/index&operation=EditAccount&id={$KEY}"><i class="vteicon md-link" title="{'LBL_EDIT'|getTranslatedString}">create</i></a>
<a href="index.php?module=Messages&action=MessagesAjax&file=Settings/index&operation=DeleteAccount&id={$KEY}"><i class="vteicon md-link" title="{'LBL_DELETE'|getTranslatedString}">delete</i></a>
<a href="index.php?module=Messages&action=MessagesAjax&file=Settings/index&operation=SyncAccount&id={$KEY}"><i class="vteicon md-link" title="{'LBL_FORCE_SYNC'|getTranslatedString}">autorenew</i></a> {* crmv@51684 *}
{* crmv@114260e *}
</td>
<td>
{foreach item=av from=$ACCOUNTS_AVAILABLE}
{if $ACCOUNT.account eq $av.account}
{assign var=label value=$av.label}
{/if}
{/foreach}
{$label}
</td>
<td>
{$ACCOUNT.username}
</td>
<td>
{$ACCOUNT.description}
</td>
<td>
{if $ACCOUNT.main eq 1}{'LBL_YES'|getTranslatedString}{else}{'LBL_NO'|getTranslatedString}{/if}
</td>
{* crmv@114260 *}
<td>
{if $ACCOUNT.smtp_account eq ''}Default{else}{$ACCOUNT.smtp_account}{/if}
</td>
{* crmv@114260e *}
</tr>
<tr id="server_div_{$KEY}" {if $ACCOUNT.account neq 'Custom'}style="display:none;"{/if}>
<td colspan="6">
<table class="vtetable vtetable-props" style="margin-bottom:0px;">
<tbody>
<tr>
<td class="cellLabel">{'LBL_OUTGOING_MAIL_SERVER'|getTranslatedString:'Settings'}</td>
<td class="cellText">{$ACCOUNT.server}</td>
</tr>
<tr>
<td class="cellLabel">{'LBL_OUTGOING_MAIL_PORT'|getTranslatedString:'Settings'}</td>
<td class="cellText">{$ACCOUNT.port}</td>
</tr>
<tr>
<td class="cellLabel">SSL/TLS</td>
<td class="cellText">
{if $ACCOUNT.ssl_tls eq ""}
{'LBL_NONE'|getTranslatedString}
{elseif $ACCOUNT.ssl_tls eq "ssl"}
SSL
{elseif $ACCOUNT.ssl_tls eq "tls"}
TLS
{/if}
</td>
</tr>
<tr>
<td class="cellLabel">{'LBL_DOMAIN'|getTranslatedString:'Settings'}</td>
<td class="cellText">{$ACCOUNT.domain}</td>
</tr>
</tbody>
</table>
</td>
</tr>