mirror of
https://github.com/friendica/friendica
synced 2025-04-27 10:30:10 +00:00
Fix code style
This commit is contained in:
parent
105f848dd7
commit
a276337752
2 changed files with 18 additions and 18 deletions
|
@ -84,13 +84,13 @@ final class AddonInfo
|
|||
string $version,
|
||||
string $status,
|
||||
) {
|
||||
$this->id = $id;
|
||||
$this->name = $name;
|
||||
$this->id = $id;
|
||||
$this->name = $name;
|
||||
$this->description = $description;
|
||||
$this->author = $author;
|
||||
$this->maintainer = $maintainer;
|
||||
$this->version = $version;
|
||||
$this->status = $status;
|
||||
$this->author = $author;
|
||||
$this->maintainer = $maintainer;
|
||||
$this->version = $version;
|
||||
$this->status = $status;
|
||||
}
|
||||
|
||||
public function getId(): string
|
||||
|
|
|
@ -96,28 +96,28 @@ class Details extends BaseAdmin
|
|||
$t = Renderer::getMarkupTemplate('admin/addons/details.tpl');
|
||||
|
||||
return Renderer::replaceMacros($t, [
|
||||
'$title' => DI::l10n()->t('Administration'),
|
||||
'$page' => DI::l10n()->t('Addons'),
|
||||
'$toggle' => DI::l10n()->t('Toggle'),
|
||||
'$title' => DI::l10n()->t('Administration'),
|
||||
'$page' => DI::l10n()->t('Addons'),
|
||||
'$toggle' => DI::l10n()->t('Toggle'),
|
||||
'$settings' => DI::l10n()->t('Settings'),
|
||||
|
||||
'$addon' => $addon,
|
||||
'$addon' => $addon,
|
||||
'$status' => $status,
|
||||
'$action' => $action,
|
||||
'$info' => [
|
||||
'name' => $addonInfo->getName(),
|
||||
'version' => $addonInfo->getVersion(),
|
||||
'$info' => [
|
||||
'name' => $addonInfo->getName(),
|
||||
'version' => $addonInfo->getVersion(),
|
||||
'description' => $addonInfo->getDescription(),
|
||||
'author' => $addonInfo->getAuthor(),
|
||||
'maintainer' => $addonInfo->getMaintainer(),
|
||||
'author' => $addonInfo->getAuthor(),
|
||||
'maintainer' => $addonInfo->getMaintainer(),
|
||||
],
|
||||
'$str_author' => DI::l10n()->t('Author: '),
|
||||
'$str_author' => DI::l10n()->t('Author: '),
|
||||
'$str_maintainer' => DI::l10n()->t('Maintainer: '),
|
||||
|
||||
'$admin_form' => $admin_form,
|
||||
'$function' => 'addons',
|
||||
'$function' => 'addons',
|
||||
'$screenshot' => '',
|
||||
'$readme' => $readme,
|
||||
'$readme' => $readme,
|
||||
|
||||
'$form_security_token' => self::getFormSecurityToken('admin_addons_details'),
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue