You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2025-08-06 06:42:37 +03:00
MailboxHandler, AliasHandler:
- initStruct: set "display in list" to 1 to allow searching for domain with list.php (nevertheless, the domain won't be displayed because it doesn't have a column label set) git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1735 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
@@ -30,7 +30,7 @@ class AliasHandler extends PFAHandler {
|
|||||||
'localpart' => pacol( $this->new, 0, 0, 'text', 'alias' , 'pCreate_alias_catchall_text' , '',
|
'localpart' => pacol( $this->new, 0, 0, 'text', 'alias' , 'pCreate_alias_catchall_text' , '',
|
||||||
/*options*/ '',
|
/*options*/ '',
|
||||||
/*not_in_db*/ 1 ),
|
/*not_in_db*/ 1 ),
|
||||||
'domain' => pacol( $this->new, 0, 0, 'enum', '' , '' , '',
|
'domain' => pacol( $this->new, 0, 1, 'enum', '' , '' , '',
|
||||||
/*options*/ $this->allowed_domains ),
|
/*options*/ $this->allowed_domains ),
|
||||||
'goto' => pacol( 1, 1, 1, 'txtl', 'to' , 'pEdit_alias_help' , array() ),
|
'goto' => pacol( 1, 1, 1, 'txtl', 'to' , 'pEdit_alias_help' , array() ),
|
||||||
'is_mailbox' => pacol( 0, 0, 1, 'int', '' , '' , 0 ,
|
'is_mailbox' => pacol( 0, 0, 1, 'int', '' , '' , 0 ,
|
||||||
|
@@ -17,7 +17,7 @@ class MailboxHandler extends PFAHandler {
|
|||||||
# editing? form list
|
# editing? form list
|
||||||
'username' => pacol( $this->new, 1, 1, 'mail', 'pEdit_mailbox_username' , '' , '' ),
|
'username' => pacol( $this->new, 1, 1, 'mail', 'pEdit_mailbox_username' , '' , '' ),
|
||||||
'local_part' => pacol( $this->new, 0, 0, 'text', 'pEdit_mailbox_username' , '' , '' ),
|
'local_part' => pacol( $this->new, 0, 0, 'text', 'pEdit_mailbox_username' , '' , '' ),
|
||||||
'domain' => pacol( $this->new, 0, 0, 'enum', '' , '' , '',
|
'domain' => pacol( $this->new, 0, 1, 'enum', '' , '' , '',
|
||||||
/*options*/ $this->allowed_domains ),
|
/*options*/ $this->allowed_domains ),
|
||||||
# TODO: maildir: display in list is needed to include maildir in SQL result (for post_edit hook)
|
# TODO: maildir: display in list is needed to include maildir in SQL result (for post_edit hook)
|
||||||
# TODO: (not a perfect solution, but works for now - maybe we need a separate "include in SELECT query" field?)
|
# TODO: (not a perfect solution, but works for now - maybe we need a separate "include in SELECT query" field?)
|
||||||
|
Reference in New Issue
Block a user