- $t = get_markup_template("settings.tpl", "addon/widgets/");
- $o .= replace_macros($t, [
- '$submit' => L10n::t('Generate new key'),
- '$baseurl' => $a->getBaseURL(),
+ $t = Renderer::getMarkupTemplate("settings.tpl", "addon/widgets/");
+ $o .= Renderer::replaceMacros($t, [
+ '$submit' => DI::l10n()->t('Generate new key'),