mirror of
https://github.com/friendica/friendica
synced 2025-04-27 19:50:12 +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 $version,
|
||||||
string $status,
|
string $status,
|
||||||
) {
|
) {
|
||||||
$this->id = $id;
|
$this->id = $id;
|
||||||
$this->name = $name;
|
$this->name = $name;
|
||||||
$this->description = $description;
|
$this->description = $description;
|
||||||
$this->author = $author;
|
$this->author = $author;
|
||||||
$this->maintainer = $maintainer;
|
$this->maintainer = $maintainer;
|
||||||
$this->version = $version;
|
$this->version = $version;
|
||||||
$this->status = $status;
|
$this->status = $status;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getId(): string
|
public function getId(): string
|
||||||
|
|
|
@ -96,28 +96,28 @@ class Details extends BaseAdmin
|
||||||
$t = Renderer::getMarkupTemplate('admin/addons/details.tpl');
|
$t = Renderer::getMarkupTemplate('admin/addons/details.tpl');
|
||||||
|
|
||||||
return Renderer::replaceMacros($t, [
|
return Renderer::replaceMacros($t, [
|
||||||
'$title' => DI::l10n()->t('Administration'),
|
'$title' => DI::l10n()->t('Administration'),
|
||||||
'$page' => DI::l10n()->t('Addons'),
|
'$page' => DI::l10n()->t('Addons'),
|
||||||
'$toggle' => DI::l10n()->t('Toggle'),
|
'$toggle' => DI::l10n()->t('Toggle'),
|
||||||
'$settings' => DI::l10n()->t('Settings'),
|
'$settings' => DI::l10n()->t('Settings'),
|
||||||
|
|
||||||
'$addon' => $addon,
|
'$addon' => $addon,
|
||||||
'$status' => $status,
|
'$status' => $status,
|
||||||
'$action' => $action,
|
'$action' => $action,
|
||||||
'$info' => [
|
'$info' => [
|
||||||
'name' => $addonInfo->getName(),
|
'name' => $addonInfo->getName(),
|
||||||
'version' => $addonInfo->getVersion(),
|
'version' => $addonInfo->getVersion(),
|
||||||
'description' => $addonInfo->getDescription(),
|
'description' => $addonInfo->getDescription(),
|
||||||
'author' => $addonInfo->getAuthor(),
|
'author' => $addonInfo->getAuthor(),
|
||||||
'maintainer' => $addonInfo->getMaintainer(),
|
'maintainer' => $addonInfo->getMaintainer(),
|
||||||
],
|
],
|
||||||
'$str_author' => DI::l10n()->t('Author: '),
|
'$str_author' => DI::l10n()->t('Author: '),
|
||||||
'$str_maintainer' => DI::l10n()->t('Maintainer: '),
|
'$str_maintainer' => DI::l10n()->t('Maintainer: '),
|
||||||
|
|
||||||
'$admin_form' => $admin_form,
|
'$admin_form' => $admin_form,
|
||||||
'$function' => 'addons',
|
'$function' => 'addons',
|
||||||
'$screenshot' => '',
|
'$screenshot' => '',
|
||||||
'$readme' => $readme,
|
'$readme' => $readme,
|
||||||
|
|
||||||
'$form_security_token' => self::getFormSecurityToken('admin_addons_details'),
|
'$form_security_token' => self::getFormSecurityToken('admin_addons_details'),
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue