From 0dac6e9d347027063d809870f416c4938454b616 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 17 Dec 2020 22:52:30 -0500 Subject: [PATCH] Add general information header translation to admin site template --- src/Module/Admin/Site.php | 1 + view/templates/admin/site.tpl | 1 + view/theme/frio/templates/admin/site.tpl | 7 ++----- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/Module/Admin/Site.php b/src/Module/Admin/Site.php index a5ca19621..7eaf39dea 100644 --- a/src/Module/Admin/Site.php +++ b/src/Module/Admin/Site.php @@ -594,6 +594,7 @@ class Site extends BaseAdmin return Renderer::replaceMacros($t, [ '$title' => DI::l10n()->t('Administration'), '$page' => DI::l10n()->t('Site'), + '$general_info' => DI::l10n()->t('General Information'), '$submit' => DI::l10n()->t('Save Settings'), '$republish' => DI::l10n()->t('Republish users to directory'), '$registration' => DI::l10n()->t('Registration'), diff --git a/view/templates/admin/site.tpl b/view/templates/admin/site.tpl index 7f72b4386..2d820b9be 100644 --- a/view/templates/admin/site.tpl +++ b/view/templates/admin/site.tpl @@ -12,6 +12,7 @@
+

{{$general_info}}

{{include file="field_input.tpl" field=$sitename}} {{include file="field_input.tpl" field=$sender_email}} {{include file="field_input.tpl" field=$system_actor_name}} diff --git a/view/theme/frio/templates/admin/site.tpl b/view/theme/frio/templates/admin/site.tpl index 2a0cb3f48..289988dd0 100644 --- a/view/theme/frio/templates/admin/site.tpl +++ b/view/theme/frio/templates/admin/site.tpl @@ -25,15 +25,12 @@ - + {{* General Information *}}