You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
postfixadmin/model
Christian Boltz 95bf0161c6 Make create-domain.php even shorter (109 -> 89 lines) ;-)
create-domain.php
- replace old $form_fields with $handler->getStruct()
- rewrite handling POST data to make it easier to understand
  - move reading POST input to the section handling POST
  - remove condition on POST (we are in the POST block now)
  - check if editing of a field is allowed (use default value if not)
- move validation of 'enum' fields to PFAHandler
- allow changing the "active" state (instead of hardcoding it)

model/PFAHandler.php:
- add check for 'enum' fields

model/DomainHandler.php:
- change default for "active" and "default_aliases" to 1

templates/admin_edit-domain.tpl:
- don't hide the "Active" checkbox on new


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1220 a1433add-5e2c-0410-b055-b7f2511e0802
14 years ago
..
AliasHandler.php PFAHandler, AliasHandler: 14 years ago
Config.php Move the classes "Config" and "Lang" to scripts/common.php to model/ 14 years ago
DomainHandler.php Make create-domain.php even shorter (109 -> 89 lines) ;-) 14 years ago
Lang.php Move the classes "Config" and "Lang" to scripts/common.php to model/ 14 years ago
MailboxHandler.php MailboxHandler: 14 years ago
PFAHandler.php Make create-domain.php even shorter (109 -> 89 lines) ;-) 14 years ago
VacationHandler.php VacationHandler: 15 years ago