]> git.mxchange.org Git - friendica.git/commitdiff
code cleanup for server release
authorMike Macgirvin <mike@macgirvin.com>
Sun, 15 Aug 2010 02:39:28 +0000 (19:39 -0700)
committerMike Macgirvin <mike@macgirvin.com>
Sun, 15 Aug 2010 02:39:28 +0000 (19:39 -0700)
boot.php
index.php
mod/home.php

index 31062d175fe8a686bd120bafa14a96a886fa7b9c..77eeb79abc7db952abd6b332f1c1a65d66580074 100644 (file)
--- a/boot.php
+++ b/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) {
 
index ba08a9103a364f12fb647717a5482905cd575105..96e8583d65e620ef807a77b6ea43007a0430dde1 100644 (file)
--- a/index.php
+++ b/index.php
@@ -80,7 +80,6 @@ if($a->module_loaded) {
                $a->page['content'] .= $func($a);
        }
 
-       footer($a);
 }
 
 // report anything important happening
index 4905789db37a69e559128ee13dae200e1b5e435f..d89b47bc20dc7eb9c7da68de61975fdae021d562 100644 (file)
@@ -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);