<?php
/**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2022, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
class ActivityPubConversion extends BaseModule
{
- public static function content(array $parameters = [])
+ protected function content(array $request = []): string
{
function visible_whitespace($s)
{
$tpl = Renderer::getMarkupTemplate('debug/activitypubconversion.tpl');
$o = Renderer::replaceMacros($tpl, [
- '$source' => ['source', DI::l10n()->t('Source activity'), $_REQUEST['source'] ?? '', ''],
- '$results' => $results
+ '$title' => DI::l10n()->t('ActivityPub Conversion'),
+ '$source' => ['source', DI::l10n()->t('Source activity'), $_REQUEST['source'] ?? '', ''],
+ '$results' => $results,
+ '$submit' => DI::l10n()->t('Submit'),
]);
return $o;