0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00
postfixadmin/model
Christian Boltz 8c139c95d6 vacation:
restrict reply type to a list of options ($CONF[vacation_choice_of_reply]),
remove input field for custom interval


config.inc.php:
- change $CONF['vacation_choice_of_reply'] to [seconds] => [$PALANG label]
  (note: reply to every mail is commented by default because it can be
  annoying. Admins will have to explicitely add/enable it in their config.)
- remove $CONF[vacation_replytype_default]
- update comment about dovecot:* for $CONF[encrypt]

*.lang:
- add texts for reply types

VacationHandler.php:
- remove reply_type at various places
- set_away(): remove reply_type from list of function parameters

templates/vacation.tpl:
- update reply type dropdown for the changed $CONF['vacation_choice_of_reply']
- remove the input fields for custom reply delay

vacation.php:
- restrict reply type to a list of options ($CONF[vacation_choice_of_reply])
- if vacation is disabled, but old values are stored in the database,
  change the activeFrom and activeUntil date to today to avoid users
  have to scroll through the calendar a lot

xmlrpc.php:
- update set_away() call to match the removed parameter

upgrade.php:
- comment out upgrade_1345_mysql() which created the reply_type and 
  interval_time fields in the vacation table in mysql
- add upgrade_1610() to add the vacation.interval_time field


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1610 a1433add-5e2c-0410-b055-b7f2511e0802
2013-12-22 16:50:55 +00:00
..
AdminHandler.php AdminHandler: 2013-11-16 19:02:44 +00:00
AdminpasswordHandler.php AdminHandler.php, AdminpasswordHandler.php: 2013-11-10 22:00:16 +00:00
AliasdomainHandler.php AliasdomainHandler: 2013-11-16 20:02:14 +00:00
AliasHandler.php AliasHandler: 2013-11-16 20:20:50 +00:00
CliDelete.php CliDelete: 2013-11-12 21:19:54 +00:00
CliEdit.php CliEdit.php: 2013-10-06 22:35:02 +00:00
CliHelp.php Quite big CLI cleanup (and more) 2013-11-13 19:07:12 +00:00
CliView.php model/CliView.php: 2013-11-12 21:32:49 +00:00
Config.php model/Config: 2013-11-10 16:00:20 +00:00
DomainHandler.php DomainHandler: 2013-12-08 21:30:30 +00:00
MailboxHandler.php MailboxHandler: 2013-11-16 19:49:40 +00:00
PFAHandler.php edit.php: 2013-12-01 20:45:17 +00:00
VacationHandler.php vacation: 2013-12-22 16:50:55 +00:00