+ $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'),
+ '$settings' => DI::l10n()->t('Settings'),
+ '$baseurl' => DI::baseUrl()->get(true),
+
+ '$addon' => $addon,
+ '$status' => $status,
+ '$action' => $action,
+ '$info' => Addon::getInfo($addon),
+ '$str_author' => DI::l10n()->t('Author: '),
+ '$str_maintainer' => DI::l10n()->t('Maintainer: '),
+
+ '$admin_form' => $admin_form,
+ '$function' => 'addons',
+ '$screenshot' => '',
+ '$readme' => $readme,
+
+ '$form_security_token' => self::getFormSecurityToken('admin_addons_details'),
+ ]);