diff --git a/include/class.page.php b/include/class.page.php index c296e9feef025ddc7860c5fb6771d2397f8cdee4..3ea5ca0f98839dc5fcdc4638c5de515b492bc245 100644 --- a/include/class.page.php +++ b/include/class.page.php @@ -57,7 +57,7 @@ class Page extends VerySimpleModel { return $this->name; } function getLocalName($lang=false) { - return $this->getLocal('name', $lang); + return $this->_getLocal('name', $lang); } function getNameAsSlug() { return urlencode(Format::slugify($this->name)); diff --git a/include/client/login.inc.php b/include/client/login.inc.php index d368f5d237d7931d54bdf77f2a93c2697b78854c..77d9b4148aae5cfde70b757d0f2d63a94c2e88e9 100644 --- a/include/client/login.inc.php +++ b/include/client/login.inc.php @@ -8,7 +8,7 @@ $content = Page::lookupByType('banner-client'); if ($content) { list($title, $body) = $ost->replaceTemplateVariables( - array($content->getName(), $content->getBody())); + array($content->getLocalName(), $content->getLocalBody())); } else { $title = __('Sign In'); $body = __('To better serve you, we encourage our clients to register for an account and verify the email address we have on record.');