Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

list-virtual.tpl 3.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {assign var="file" value=$smarty.config.url_list_virtual}
  2. <div id="overview">
  3. <form name="frmOverview" method="get" action="{$smarty.config.url_list_virtual}">
  4. {html_options name='domain' output=$domain_list values=$domain_list selected=$domain_selected onchange="this.form.submit();"}
  5. <input type="hidden" name="limit" value="0" />
  6. <noscript><input class="button" type="submit" name="go" value="{$PALANG.go}" /></noscript>
  7. </form>
  8. {if isset($search._)}
  9. <h4>{$PALANG.pSearch_welcome} {$search._}</h4>
  10. {else}
  11. <h4>{$PALANG.pOverview_welcome}{$fDomain}</h4>
  12. <p>{$PALANG.aliases}: {$limit.alias_count} / {$limit.aliases}</p>
  13. <p>{$PALANG.mailboxes}: {$limit.mailbox_count} / {$limit.mailboxes}</p>
  14. {/if}
  15. {#form_search#}
  16. </div>
  17. <div class='subnav'><p>{$PALANG.show}
  18. {if isset($search._)}
  19. {assign var="searchsuffix" value="&search[_]={$search._}"}
  20. {else}
  21. {assign var="searchsuffix" value=""}
  22. {/if}
  23. {if $tab=='all'}<span class='active'>{$PALANG.all}</span>
  24. {else}<a href="?domain={$smarty.get.domain}&amp;tab=all{$searchsuffix}">{$PALANG.all}</a>{/if}
  25. {if $tab=='mailbox'}<span class='active'>{$PALANG.pOverview_mailbox_title}</span>
  26. {else}<a href="?domain={$smarty.get.domain}&amp;tab=mailbox{$searchsuffix}">{$PALANG.pOverview_mailbox_title}</a>{/if}
  27. {if $tab=='alias'}<span class='active'>{$PALANG.pOverview_alias_title}</span>
  28. {else}<a href="?domain={$smarty.get.domain}&amp;tab=alias{$searchsuffix}">{$PALANG.pOverview_alias_title}</a>{/if}
  29. {if $boolconf_alias_domain}
  30. {if $tab=='alias_domain'}<span class='active'>{$PALANG.pOverview_alias_domain_title}</span>
  31. {else}<a href="?domain={$smarty.get.domain}&amp;tab=alias_domain{$searchsuffix}">{$PALANG.pOverview_alias_domain_title}</a>{/if}
  32. {/if}
  33. </p></div>
  34. <br clear="all"/><br/>
  35. {*** Domain Aliases ***}
  36. {if $boolconf_alias_domain}
  37. {if $tab=='alias_domain' || $tab=='all'}
  38. {include file="list-virtual_alias_domain.tpl"}
  39. {/if}
  40. {/if}
  41. {if $tab=='all'}<br />{/if}
  42. {*** Aliases ***}
  43. {if $tab=='alias' || $tab=='all'}
  44. {$nav_bar_alias.top}
  45. {include file="list-virtual_alias.tpl"}
  46. {$nav_bar_alias.bottom}
  47. {/if}
  48. {if $tab=='all'}<br />{/if}
  49. {if $tab=='mailbox' || $tab=='all'}
  50. {$nav_bar_mailbox.top}
  51. {assign var="colspan" value=9}
  52. {if $CONF.vacation_control_admin===YES}{assign var="colspan" value="`$colspan+1`"}{/if}
  53. {if $CONF.alias_control_admin===YES}{assign var="colspan" value="`$colspan+1`"}{/if}
  54. <table id="mailbox_table">
  55. <tr>
  56. <th colspan="{$colspan}">{$PALANG.pOverview_mailbox_title}</th>
  57. </tr>
  58. {if $tMailbox}
  59. {include file="list-virtual_mailbox.tpl"}
  60. {else}</table>
  61. {/if}
  62. {$nav_bar_mailbox.bottom}
  63. {if $tCanAddMailbox}
  64. <br /><a href="{#url_create_mailbox#}&amp;domain={$fDomain|escape:"url"}" class="button">{$PALANG.add_mailbox}</a><br />
  65. {/if}
  66. <br /><br /><a href="list.php?table=mailbox&amp;output=csv">{$PALANG.download_csv}</a>
  67. {/if}
  68. {if $CONF.show_status===YES && $CONF.show_status_key===YES}
  69. <br/><br/>
  70. {if $CONF.show_undeliverable===YES}
  71. &nbsp;<span style='background-color:{$CONF.show_undeliverable_color};'>{$CONF.show_status_text}</span>={$PALANG.pStatus_undeliverable}
  72. {/if}
  73. {if $CONF.show_popimap===YES}
  74. &nbsp;<span style='background-color:{$CONF.show_popimap_color};'>{$CONF.show_status_text}</span>={$PALANG.pStatus_popimap}
  75. {/if}
  76. {if $CONF.show_custom_domains|@count>0}
  77. {foreach from=$CONF.show_custom_domains item=item key=i}
  78. &nbsp;<span style='background-color:{$CONF.show_custom_colors[$i]};'>{$CONF.show_status_text}</span>={$PALANG.pStatus_custom}{$item}
  79. {/foreach}
  80. {/if}
  81. {/if}