list.tpl:

- improve headline:
  - in search mode, display the search term instead of the last selected
    domain (which isn't useful at all when displaying search results)
  - display number of aliases and mailboxes only in domain mode (they
    are useless/wrong in search mode)



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1779 a1433add-5e2c-0410-b055-b7f2511e0802
pull/2/head
Christian Boltz 10 years ago
parent d2a80adedc
commit 993c0ec2b6

@ -7,9 +7,13 @@
<input type="hidden" name="limit" value="0" />
<input class="button" type="submit" name="go" value="{$PALANG.go}" />
</form>
<h4>{$PALANG.pOverview_welcome}{$fDomain}</h4>
<p>{$PALANG.aliases}: {$limit.alias_count} / {$limit.aliases}</p>
<p>{$PALANG.mailboxes}: {$limit.mailbox_count} / {$limit.mailboxes}</p>
{if isset($search._)}
<h4>{$PALANG.pSearch_welcome} {$search._}</h4>
{else}
<h4>{$PALANG.pOverview_welcome}{$fDomain}</h4>
<p>{$PALANG.aliases}: {$limit.alias_count} / {$limit.aliases}</p>
<p>{$PALANG.mailboxes}: {$limit.mailbox_count} / {$limit.mailboxes}</p>
{/if}
{#form_search#}
</div>
<div class='subnav'><p>{$PALANG.show}

Loading…
Cancel
Save