code cleanup for server release

This commit is contained in:
Mike Macgirvin 2010-08-14 19:39:28 -07:00
parent f44a499ca7
commit 2370a3f89b
3 changed files with 0 additions and 8 deletions

View File

@ -409,12 +409,6 @@ function remote_user() {
return false; 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')) { if(! function_exists('notice')) {
function notice($s) { function notice($s) {

View File

@ -80,7 +80,6 @@ if($a->module_loaded) {
$a->page['content'] .= $func($a); $a->page['content'] .= $func($a);
} }
footer($a);
} }
// report anything important happening // report anything important happening

View File

@ -16,7 +16,6 @@ function home_init(&$a) {
if(! function_exists('home_content')) { if(! function_exists('home_content')) {
function home_content(&$a) { 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>"; $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 .= '<h1>Welcome' . ((x($a->config,'sitename')) ? " to {$a->config['sitename']}" : "" ) . '</h1>';
$o .= login(($a->config['register_policy'] == REGISTER_CLOSED) ? 0 : 1); $o .= login(($a->config['register_policy'] == REGISTER_CLOSED) ? 0 : 1);