</dd>
</dl>
+ {if $__wcf->session->getPermission('admin.user.canEditMailAddress')}
+ <dl class="col-xs-12 col-md-4">
+ <dt></dt>
+ <dd>
+ <input
+ class="long"
+ name="filter[email]"
+ placeholder="{lang}wcf.user.email{/lang}"
+ type="email"
+ value="{$filter[email]}"
+ >
+ </dd>
+ </dl>
+ {/if}
+
<dl class="col-xs-12 col-md-4">
<dt></dt>
<dd>
public $filter = [
'username' => null,
'status' => null,
+ 'email' => null,
];
/**
if (!empty($this->filter['status'])) {
$this->objectList->getConditionBuilder()->add('status = ?', [$this->filter['status']]);
}
+ if (WCF::getSession()->getPermission('admin.user.canEditMailAddress')) {
+ if (!empty($this->filter['email'])) {
+ $this->objectList->getConditionBuilder()->add('recipient = ?', [$this->filter['email']]);
+ }
+ }
}
/**