-
-
- $t = file_get_contents( dirname(__file__). "/settings.tpl" );
- $o .= replace_macros($t, array(
- '$submit' => t('Generate new key'),
- '$baseurl' => $a->get_baseurl(),
+
+
+# $t = file_get_contents( dirname(__file__). "/settings.tpl" );
+ $t = Renderer::getMarkupTemplate("settings.tpl", "addon/widgets/");
+ $o .= Renderer::replaceMacros($t, [
+ '$submit' => DI::l10n()->t('Generate new key'),