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:
Roland Haeder 2016-12-21 23:04:09 +01:00
parent e6a4a736fc
commit d3e666f71a
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78
7 changed files with 88 additions and 91 deletions

View file

@ -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;
}}