<?php
if(! function_exists('home_init')) {
-function home_init(App &$a) {
+function home_init(App $a) {
$ret = array();
call_hooks('home_init',$ret);
}}
-
if(! function_exists('home_content')) {
-function home_content(App &$a) {
+function home_content(App $a) {
$o = '';
$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>';
}
return $o;
-
}}