From: Tim Düsterhus Date: Mon, 15 Aug 2016 15:40:42 +0000 (+0200) Subject: Fix missing uses of TemplateGroup::getName() X-Git-Tag: 3.0.0_Beta_1~742 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b7908c027aa681a8be68cff3ef343a46b3ddf001;p=GitHub%2FWoltLab%2FWCF.git Fix missing uses of TemplateGroup::getName() --- 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()}?]]>