fix not working multiple users for single mail account

replaced legacy-options and type attribute with the actual ones
This commit is contained in:
Ralf Becker 2021-11-27 11:21:54 +02:00
parent cbb72e06d9
commit d40a1d992a
2 changed files with 2 additions and 2 deletions

View File

@ -176,7 +176,7 @@ class admin_mail
* Step 1: IMAP account * Step 1: IMAP account
* *
* @param array $content * @param array $content
* @param type $msg * @param string $msg
*/ */
public function add(array $content=array(), $msg='', $msg_type='success') public function add(array $content=array(), $msg='', $msg_type='success')
{ {

View File

@ -338,7 +338,7 @@
<row class="emailadmin_no_user dialogHeader2"> <row class="emailadmin_no_user dialogHeader2">
<description for="account_id" value="Valid for"/> <description for="account_id" value="Valid for"/>
<hbox> <hbox>
<select type="select-account" id="account_id" onchange="app.admin.account_hide_not_applying" options="Everyone,both" multiple="dynamic"/> <select-account account_type="both" id="account_id" onchange="app.admin.account_hide_not_applying" empty_label="Everyone" multiple="dynamic"/>
<buttononly label="Select multiple" id="button[multiple]" onclick="app.admin.edit_multiple" options="users"/> <buttononly label="Select multiple" id="button[multiple]" onclick="app.admin.edit_multiple" options="users"/>
<checkbox label="account editable by user" id="acc_user_editable"/> <checkbox label="account editable by user" id="acc_user_editable"/>
</hbox> </hbox>