<?php echo htmlReady($user['fullname']); ?> </span> <a class="remove_adressee"><?php echo Icon::create('trash', 'clickable')->asImg(['class' => "text-bottom"]); ?> </a> </li> <? endforeach ?> </ul> <?php echo QuickSearch::get("user_id", new StandardSearch("user_id"))->fireJSFunctionOnSelect("STUDIP.Messages.add_adressee")->withButton()->render(); $search_obj = new SQLSearch("SELECT auth_user_md5.user_id, {$GLOBALS['_fullname_sql']['full_rev']} as fullname, username, perms " . "FROM auth_user_md5 " . "LEFT JOIN user_info ON (auth_user_md5.user_id = user_info.user_id) " . "WHERE " . "username LIKE :input OR Vorname LIKE :input " . "OR CONCAT(Vorname,' ',Nachname) LIKE :input " . "OR CONCAT(Nachname,' ',Vorname) LIKE :input " . "OR CONCAT(Nachname,', ',Vorname) LIKE :input " . "OR Nachname LIKE :input OR " . "OR Vorname LIKE :input" . " ORDER BY fullname ASC", _("Nutzer suchen"), "user_id"); $mps = MultiPersonSearch::get("add_adressees")->setLinkText(_('Mehrere Adressaten hinzufügen'))->setTitle(_('Mehrere Adressaten hinzufügen'))->setExecuteURL(URLHelper::getURL("dispatch.php/messages/write"))->setJSFunctionOnSubmit("STUDIP.Messages.add_adressees")->setSearchObject($search_obj); foreach (Statusgruppen::findContactGroups() as $group) { $mps->addQuickfilter($group['name'], $group->members->pluck('user_id')); } echo $mps->render(); ?> <script> STUDIP.MultiPersonSearch.init(); </script> </div> <div> <label> <h4><?php echo _("Betreff"); ?> </h4> <input type="text" name="message_subject" style="width: 100%" required value="<?php