0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00
postfixadmin/model
Christian Boltz 37bba15625 Use list.tpl to display the alias list
list-virtual.php:
- use list.tpl for aliases
- move show_gen_status handling for aliases to AliasHandler

AliasHandler:
- initStruct():
  - add 'status' column (hidden by default)
  - hide 'created'
  - move 'active' after 'modified' to match old list-virtual.php layout
- initMsg: add list_header
- webformConfig(): if $CONF[show_status], set display_in_list for
  'status' column. Also set a (whitespace) label to make sure it's
  displayed
- db_read_from_db_postprocess(): if 'status' column is requested, call
  gen_show_status() for each row

list-virtual.tpl
- remove alias table header and create alias button (which should have
  been in list-virtual_alias.tpl)

list-virtual_alias.tpl:
- replace code to generate the alias table with {include 'list.tpl'}
  (and some variable assignments)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1777 a1433add-5e2c-0410-b055-b7f2511e0802
2015-04-06 22:09:18 +00:00
..
AdminHandler.php delete list-admin.php and its template, use list.php instead 2015-03-17 22:37:34 +00:00
AdminpasswordHandler.php *Handler: 2015-03-17 21:07:59 +00:00
AliasdomainHandler.php AliasdomainHandler: 2015-04-06 13:29:28 +00:00
AliasHandler.php Use list.tpl to display the alias list 2015-04-06 22:09:18 +00:00
CliDelete.php Cli*.php: 2014-11-01 18:05:39 +00:00
CliEdit.php Cli*.php: 2014-11-01 18:05:39 +00:00
CliHelp.php Cli*.php: 2014-11-01 18:05:39 +00:00
CliScheme.php Add CliScheme.php: 2014-11-01 18:08:11 +00:00
CliView.php Cli*.php: 2014-11-01 18:05:39 +00:00
Config.php Config.php: 2014-03-18 21:57:47 +00:00
DomainHandler.php add 'can_create' flag 2015-04-05 19:21:15 +00:00
FetchmailHandler.php Add FetchmailHandler.php 2015-04-04 13:58:42 +00:00
MailboxHandler.php PFAHandler: 2015-04-05 20:23:38 +00:00
PFAHandler.php list.tpl: 2015-04-06 21:58:58 +00:00
VacationHandler.php *Handler: 2015-03-17 21:07:59 +00:00