hasPermission(UserPermissions::CREATE_OWN_POST) ?? false; $canDelete = ($GLOBALS["currentUser"]?->id === $topicAuthor->id && $topicAuthor->hasPermission(UserPermissions::DELETE_OWN_TOPIC)) || ($GLOBALS["currentUser"]?->hasPermission(UserPermissions::DELETE_OTHER_TOPIC)); ?>

Started by displayName) ?> (deleted) on creationDate->format("c")) ?>