mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-20 03:36:20 +02:00
2991a1334f
- change <h3> to <th> - style "new fetchmail entry" link as button - changes compared to Dale's patch: - do not change colspan +2 to +4 in <th> - use colspan=2 instead of 4 in empty cell of <th> (both changes were wrong and don't match the table body) 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@1111 a1433add-5e2c-0410-b055-b7f2511e0802
44 lines
1.6 KiB
Smarty
44 lines
1.6 KiB
Smarty
{if $edit || $new}
|
|
<div id="edit_form">
|
|
<form name="fetchmail" method="post" action="">
|
|
{$fetchmail_edit_row}
|
|
{else}
|
|
{assign var="colspan" value=$headers|@count}
|
|
<div id="overview">
|
|
<form name="frmOverview" method="post" action="">
|
|
<table id="log_table" border="0">
|
|
<tr>
|
|
<th colspan="{$colspan+2}">{$PALANG.pFetchmail_welcome}{$user_domains}</th>
|
|
</tr>
|
|
{#tr_header#}
|
|
{foreach from=$headers item=header}
|
|
<td>{$header}</td>
|
|
{/foreach}
|
|
<td colspan="2"> </td>
|
|
</tr>
|
|
{if $tFmail}
|
|
{foreach from=$tFmail item=row}
|
|
{#tr_hilightoff#}
|
|
<td nowrap="nowrap">{$row.mailbox} </td>
|
|
<td nowrap="nowrap">{$row.src_server} </td>
|
|
<td nowrap="nowrap">{$row.src_auth} </td>
|
|
<td nowrap="nowrap">{$row.src_user} </td>
|
|
<td nowrap="nowrap">{$row.src_folder} </td>
|
|
<td nowrap="nowrap">{$row.poll_time} </td>
|
|
<td nowrap="nowrap">{$row.fetchall} </td>
|
|
<td nowrap="nowrap">{$row.keep} </td>
|
|
<td nowrap="nowrap">{$row.protocol} </td>
|
|
<td nowrap="nowrap">{$row.usessl} </td>
|
|
<td nowrap="nowrap">{$row.date} </td>
|
|
<td nowrap="nowrap">{$row.returned_text}--x-- </td> <!-- Inhalt mit if auswerten! -->
|
|
<td><a href="fetchmail.php?edit={$row.id|escape:"url"}">{$PALANG.edit}</a></td>
|
|
<td><a href="fetchmail.php?delete={$row.id|escape:"url"}" onclick="return confirm('{$PALANG.confirm}{$PALANG.pMenu_fetchmail}:{$row.src_user}@{$row.src_server}')">{$PALANG.del}</a></td>
|
|
</tr>
|
|
{/foreach}
|
|
{/if}
|
|
</table>
|
|
</form>
|
|
</div>
|
|
<br /><a href='?new=1' class="button">{$PALANG.pFetchmail_new_entry}</a><br />
|
|
{/if}
|