0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00
postfixadmin/model
Christian Boltz 7ac37cfbff templates/editform.tpl:
- new file
- generic edit form template that uses $struct to render the form

templates/admin_edit-domain.tpl:
- deleted, obsoleted by editform.tpl

create-domain.php
- use new editform.tpl
- use $errormsg array instead of join't $errortext
- store/move errors related to a display_in_form field in $fielderror
  (they will be displayed next to the field)
- display remaining error messages (not related to a field) with 
  flash_error()
- use "value_$key" instead of "t$Key" as smarty variable name for field 
  values

model/DomainHandler.php
- store error messages in $this->errormsg[$field] (instead of $this->errormsg[])
- fix label for default_aliases

model/PFAHandler.php:
- store error messages in $this->errormsg[$field] (instead of $this->errormsg[])



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1252 a1433add-5e2c-0410-b055-b7f2511e0802
2011-10-30 20:27:08 +00:00
..
AliasHandler.php
Config.php make Config.php a php5 compatible object; remove strict standards warnings 2011-10-24 22:24:21 +00:00
DomainHandler.php templates/editform.tpl: 2011-10-30 20:27:08 +00:00
Lang.php Move the classes "Config" and "Lang" to scripts/common.php to model/ 2011-10-17 21:47:58 +00:00
MailboxHandler.php MailboxHandler.php: 2011-10-29 22:29:16 +00:00
PFAHandler.php templates/editform.tpl: 2011-10-30 20:27:08 +00:00
VacationHandler.php