0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00
postfixadmin/templates/viewlog.tpl
Christian Boltz 08c9b4e49f *.lang:
- renamed some $PALANG texts:
  - pOverview_button => go
  - pOverview_mailbox_name => name
  - pSendmail_admin => from
  - pAdminEdit_admin_username => admin
  - pEdit_alias_goto => to 
- deleted obsolete or duplicate $PALANG texts:
  - pOverview_alias_goto
  - pCreate_alias_goto
  - pEdit_alias_button
  - pEdit_mailbox_name
  - pEdit_mailbox_button
  - pViewlog_username
  - pViewlog_button
  - pAdminList_admin_username
  - pAdminList_virtual_button
  - pAdminList_virtual_alias_address
  - pAdminList_virtual_alias_goto
  - pAdminList_virtual_mailbox_name
  - pAdminEdit_domain_button
  - pAdminEdit_admin_button
  - pBroadcast_from
  - pBroadcast_send

model/*, setup.php, templates/*, users/edit-alias.php:
- update to use the renamed $PALANG texts


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1513 a1433add-5e2c-0410-b055-b7f2511e0802
2013-07-29 22:08:07 +00:00

34 lines
1.1 KiB
Smarty

<div id="overview">
<form name="frmOverview" method="post" action="">
<select name="fDomain" onchange="this.form.submit();">{$select_options}</select>
<input class="button" type="submit" name="go" value="{$PALANG.go}" />
</form>
</div>
{if $tLog}
<table id="log_table">
<tr>
<th colspan="5">{$PALANG.pViewlog_welcome} {$fDomain}</th>
</tr>
{#tr_header#}
<td>{$PALANG.pViewlog_timestamp}</td>
<td>{$PALANG.admin}</td>
<td>{$PALANG.domain}</td>
<td>{$PALANG.pViewlog_action}</td>
<td>{$PALANG.pViewlog_data}</td>
</tr>
{assign var="PALANG_pViewlog_data" value=$PALANG.pViewlog_data}
{foreach from=$tLog item=item}
{assign var=log_data value=$item.data|truncate:35:"...":true}
{assign var=item_data value=$item.data}
{$smarty.config.tr_hilightoff|replace:'>':" style=\"cursor:pointer;\" onclick=\"alert('$PALANG_pViewlog_data = $item_data')\">"}
<td nowrap="nowrap">{$item.timestamp}</td>
<td nowrap="nowrap">{$item.username}</td>
<td nowrap="nowrap">{$item.domain}</td>
<td nowrap="nowrap">{$item.action}</td>
<td nowrap="nowrap">{$log_data}</td>
</tr>
{/foreach}
</table>
{/if}