X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fhome.php;h=206a1827ea1d67eb4a0a575b2c39f2cdebdc8cea;hb=62a61a95d3e1357a64b157136490c82aa4495d3e;hp=614fd0e3e8eed8451ad4c16b323df6ac91d3f9b9;hpb=000e6457b4c460aa5a1850b812dc5e622a237685;p=friendica.git
diff --git a/mod/home.php b/mod/home.php
index 614fd0e3e8..206a1827ea 100644
--- a/mod/home.php
+++ b/mod/home.php
@@ -1,7 +1,11 @@
user['nickname'])) {
goaway(System::baseUrl()."/network");
@@ -32,7 +36,7 @@ function home_content(App $a) {
}
$customhome = false;
- $defaultheader = '
'.((x($a->config,'sitename')) ? sprintf(t("Welcome to %s"), $a->config['sitename']) : "").'
';
+ $defaultheader = ''.((x($a->config,'sitename')) ? L10n::t("Welcome to %s", $a->config['sitename']) : "").'
';
$homefilepath = $a->basepath . "/home.html";
$cssfilepath = $a->basepath . "/home.css";
@@ -46,7 +50,7 @@ function home_content(App $a) {
$login = Login::form($a->query_string, $a->config['register_policy'] == REGISTER_CLOSED ? 0 : 1);
$content = '';
- call_hooks("home_content",$content);
+ Addon::callHooks("home_content",$content);
$tpl = get_markup_template('home.tpl');