code cleanup for server release

2022.09-rc
Mike Macgirvin 2010-08-14 19:39:28 -07:00
rodzic f44a499ca7
commit 2370a3f89b
3 zmienionych plików z 0 dodań i 8 usunięć

Wyświetl plik

@ -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) {

Wyświetl plik

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

Wyświetl plik

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