code cleanup for server release
This commit is contained in:
parent
f44a499ca7
commit
2370a3f89b
6
boot.php
6
boot.php
|
@ -409,12 +409,6 @@ function remote_user() {
|
|||
return false;
|
||||
}}
|
||||
|
||||
function footer(&$a) {
|
||||
|
||||
$s = fetch_url("http://fortunemod.com/cookie.php?equal=1");
|
||||
$a->page['content'] .= "<div class=\"fortune\" >$s</div>";
|
||||
}
|
||||
|
||||
if(! function_exists('notice')) {
|
||||
function notice($s) {
|
||||
|
||||
|
|
|
@ -80,7 +80,6 @@ if($a->module_loaded) {
|
|||
$a->page['content'] .= $func($a);
|
||||
}
|
||||
|
||||
footer($a);
|
||||
}
|
||||
|
||||
// report anything important happening
|
||||
|
|
|
@ -16,7 +16,6 @@ function home_init(&$a) {
|
|||
|
||||
if(! function_exists('home_content')) {
|
||||
function home_content(&$a) {
|
||||
$a->page['header'] .= '<div id="logo">mistpark</div>';
|
||||
$a->page['footer'] .= "<div class=\"powered\" >Powered by <a href=\"http://mistpark.com\" name=\"mistpark\" >mistpark</a></div>";
|
||||
$o .= '<h1>Welcome' . ((x($a->config,'sitename')) ? " to {$a->config['sitename']}" : "" ) . '</h1>';
|
||||
$o .= login(($a->config['register_policy'] == REGISTER_CLOSED) ? 0 : 1);
|
||||
|
|
Loading…
Reference in New Issue
Block a user