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/templates
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
13 years ago
..
admin_edit-admin.tpl Merge admin_edit-admin.tpl and admin_create-admin.tpl 14 years ago
adminlistadmin.tpl adminlistadmin.tpl, adminlistdomain.tpl: 14 years ago
adminlistdomain.tpl edit-domain.php: 13 years ago
broadcast-message.tpl sendmail.php, broadcast-message.php: 14 years ago
create-alias-domain.tpl variables.inc.php, 14 years ago
edit-alias.tpl Merge edit-alias.tpl and create-alias.tpl 14 years ago
edit-mailbox.tpl Merge edit-mailbox.tpl and edit-mailbox.tpl: 14 years ago
editform.tpl templates/editform.tpl: 13 years ago
fetchmail.tpl fetchmail.tpl: 14 years ago
flash_error.tpl use isset to check existance of a variable 13 years ago
footer.tpl fix undefined var check before login - sessid is not set etc 13 years ago
header.php - accidentially deleted header.php. Needed for setup 15 years ago
header.tpl config.inc.php: 14 years ago
index.tpl Replaced motd*.txt with $CONF[motd_*] options 14 years ago
list-virtual.tpl list-virtual.tpl: 14 years ago
list-virtual_alias.tpl list-virtual_alias.tpl: fix editing of aliases with $CONF[special_alias_control] == NO 14 years ago
list-virtual_alias_domain.tpl list-virtual.tpl: 14 years ago
list-virtual_mailbox.tpl vacation.php: 13 years ago
login.tpl Merge template for admin login and user login 14 years ago
main.tpl - fix templates to honour $CONF['sendmail'] and $CONF['fetchmail'] settings 15 years ago
menu.tpl Replaced motd*.txt with $CONF[motd_*] options 14 years ago
message.tpl message.tpl: 14 years ago
overview-get.tpl overview-get.tpl, viewlog.tpl: 14 years ago
password.tpl password.tpl: 14 years ago
sendmail.tpl sendmail.php, broadcast-message.php: 14 years ago
users_edit-alias.tpl users_edit-alias.tpl, users_password.tpl, users_vacation.tpl: 14 years ago
users_main.tpl users_main.tpl: 14 years ago
users_menu.tpl Replaced motd*.txt with $CONF[motd_*] options 14 years ago
vacation.tpl Merge users/vacation.php and edit-vacation.php into vacation.php 13 years ago
viewlog.tpl overview-get.tpl, viewlog.tpl: 14 years ago