From b7908c027aa681a8be68cff3ef343a46b3ddf001 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 15 Aug 2016 17:40:42 +0200 Subject: [PATCH] Fix missing uses of TemplateGroup::getName() --- wcfsetup/install/files/acp/templates/styleAdd.tpl | 2 +- wcfsetup/install/files/acp/templates/templateDiff.tpl | 4 ++-- wcfsetup/install/lang/de.xml | 2 +- wcfsetup/install/lang/en.xml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/styleAdd.tpl b/wcfsetup/install/files/acp/templates/styleAdd.tpl index c3fa87b549..29320cd555 100644 --- a/wcfsetup/install/files/acp/templates/styleAdd.tpl +++ b/wcfsetup/install/files/acp/templates/styleAdd.tpl @@ -242,7 +242,7 @@ {if $errorField == 'templateGroupID'} diff --git a/wcfsetup/install/files/acp/templates/templateDiff.tpl b/wcfsetup/install/files/acp/templates/templateDiff.tpl index 5dccad5f3d..0ffb282552 100644 --- a/wcfsetup/install/files/acp/templates/templateDiff.tpl +++ b/wcfsetup/install/files/acp/templates/templateDiff.tpl @@ -58,7 +58,7 @@

- {if $parent->templateGroupID}{$templateGroupHierarchy[$parent->templateGroupID][group]->templateGroupName}{else}{lang}wcf.acp.template.group.default{/lang}{/if} + {if $parent->templateGroupID}{$templateGroupHierarchy[$parent->templateGroupID][group]->getName()}{else}{lang}wcf.acp.template.group.default{/lang}{/if}

{lang}wcf.acp.template.lastModificationTime{/lang}: {@$parent->lastModificationTime|time}

@@ -85,7 +85,7 @@

- {if $template->templateGroupID}{$templateGroupHierarchy[$template->templateGroupID][group]->templateGroupName}{else}{lang}wcf.acp.template.group.default{/lang}{/if} + {if $template->templateGroupID}{$templateGroupHierarchy[$template->templateGroupID][group]->getName()}{else}{lang}wcf.acp.template.group.default{/lang}{/if}

{lang}wcf.acp.template.lastModificationTime{/lang}: {@$template->lastModificationTime|time}

diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index 6b2616693c..8b838f3c6a 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -1639,7 +1639,7 @@ GmbH=Gesellschaft mit beschränkter Haftung]]> - {$templateGroup->templateGroupName} wirklich löschen?]]> + {$templateGroup->getName()} wirklich löschen?]]> diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 9b338f8148..dae613e0fc 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -1612,7 +1612,7 @@ GmbH=Gesellschaft mit beschränkter Haftung]]> - {$templateGroup->templateGroupName}?]]> + {$templateGroup->getName()}?]]> -- 2.20.1