X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fhome.php;h=d45b13ed5fb4e21ca02bd8d7296bbabb0a879741;hb=d72f248b3c0279cf8b8b525012fbf1572815e99e;hp=2d646f8dd8a4b09553a9fc365fff80f6e7b301aa;hpb=11a44a107da2951e469976508ae57748fe7dee70;p=friendica.git diff --git a/mod/home.php b/mod/home.php index 2d646f8dd8..d45b13ed5f 100644 --- a/mod/home.php +++ b/mod/home.php @@ -14,11 +14,10 @@ if(! function_exists('home_content')) { function home_content(&$a) { $o = ''; -/* - * if(! (x($a->page,'footer'))) - * $a->page['footer'] = ''; - * $a->page['footer'] .= "
Powered by friendika
"; - */ + + if(x($_SESSION,'theme')) + unset($_SESSION['theme']); + $o .= '

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

'; if(file_exists('home.html')) $o .= file_get_contents('home.html');