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";