+ $collapse = [
+ 'collapsing' => true,
+ 'label' => DI::l10n()->t('Collapse %s', $item['author-name']),
+ 'author_id' => $item['author-id'],
+ ];
+ $report = [
+ 'label' => DI::l10n()->t('Report post'),
+ 'href' => 'moderation/report/create?' . http_build_query(['cid' => $item['author-id'], 'uri-ids' => [$item['uri-id']]]),
+ ];