mirror of
https://github.com/friendica/friendica
synced 2025-04-26 08:30:10 +00:00
added curly braces/spaces + replace spaces with tabs to fix code indending (or so?)
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
e6a4a736fc
commit
d3e666f71a
7 changed files with 88 additions and 91 deletions
|
@ -16,7 +16,6 @@ function home_init(App &$a) {
|
|||
|
||||
}}
|
||||
|
||||
|
||||
if(! function_exists('home_content')) {
|
||||
function home_content(App &$a) {
|
||||
|
||||
|
@ -35,9 +34,8 @@ function home_content(App &$a) {
|
|||
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="'.App::get_baseurl().'/home.css'.'" media="all" />';
|
||||
}
|
||||
|
||||
$o .= file_get_contents('home.html');}
|
||||
|
||||
else {
|
||||
$o .= file_get_contents('home.html');
|
||||
} else {
|
||||
$o .= '<h1>'.((x($a->config,'sitename')) ? sprintf(t("Welcome to %s"), $a->config['sitename']) : "").'</h1>';
|
||||
}
|
||||
|
||||
|
@ -48,5 +46,4 @@ function home_content(App &$a) {
|
|||
|
||||
return $o;
|
||||
|
||||
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue