displaying the available quota on $new is harder than it looks...
edit.php: - call $handler->prefill for all prefill fields - refresh $form_fields after handling prefill fields model/PFAHandler.php: - add prefill() to handle prefill fields. If $this->_prefill_$field() exists, it will be called model/MailboxHandler.php: - init(): error out early if parent::init fails (no need to check the available quota if $this->id is invalid ;-) - move updating the allowed quota to updateMaxquota() - update the available quota based on the prefill domain. If no prefill domain is given, default to the first domain. - new method _prefill_domain() git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1426 a1433add-5e2c-0410-b055-b7f2511e0802pull/2/head
parent
fad18fc953
commit
5a8ee27af3
Loading…
Reference in New Issue