From 6e758d00746db6500ccfc90c22012cff5467695a Mon Sep 17 00:00:00 2001 From: Adam Magness Date: Mon, 22 Jan 2018 14:17:36 -0500 Subject: [PATCH] More missed use a few more missed use statements for L10n --- include/text.php | 6 +++--- mod/home.php | 7 +++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/include/text.php b/include/text.php index 89e9e871d4..a366e78477 100644 --- a/include/text.php +++ b/include/text.php @@ -1069,9 +1069,9 @@ function search($s, $id = 'search-box', $url = 'search', $save = false, $aside = if (!$aside) { $values['$searchoption'] = [ - t("Full Text"), - t("Tags"), - t("Contacts")]; + L10n::t("Full Text"), + L10n::t("Tags"), + L10n::t("Contacts")]; if (Config::get('system','poco_local_search')) { $values['$searchoption'][] = L10n::t("Forums"); diff --git a/mod/home.php b/mod/home.php index dc571aaabd..b1d00b000f 100644 --- a/mod/home.php +++ b/mod/home.php @@ -1,8 +1,11 @@ '.((x($a->config,'sitename')) ? sprintf(t("Welcome to %s"), $a->config['sitename']) : "").''; + $defaultheader = '

'.((x($a->config,'sitename')) ? sprintf(L10n::t("Welcome to %s"), $a->config['sitename']) : "").'

'; $homefilepath = $a->basepath . "/home.html"; $cssfilepath = $a->basepath . "/home.css"; -- 2.39.5