From 8f7e81a8b31aa8d734d9fe014ecdb7d2a13301d2 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Tue, 3 Aug 2010 18:17:42 -0700 Subject: front page --- mod/home.php | 4 +-- mod/mail.php | 85 ----------------------------------------------------- mod/ping.php | 4 +-- mod/wall_upload.php | 3 +- 4 files changed, 6 insertions(+), 90 deletions(-) delete mode 100644 mod/mail.php (limited to 'mod') diff --git a/mod/home.php b/mod/home.php index 898313814..4905789db 100644 --- a/mod/home.php +++ b/mod/home.php @@ -16,8 +16,8 @@ function home_init(&$a) { if(! function_exists('home_content')) { function home_content(&$a) { - - $a->page['footer'] .= "
Powered by Mistpark
"; + $a->page['header'] .= ''; + $a->page['footer'] .= "
Powered by mistpark
"; $o .= '

Welcome' . ((x($a->config,'sitename')) ? " to {$a->config['sitename']}" : "" ) . '

'; $o .= login(($a->config['register_policy'] == REGISTER_CLOSED) ? 0 : 1); return $o; diff --git a/mod/mail.php b/mod/mail.php deleted file mode 100644 index 6bb040879..000000000 --- a/mod/mail.php +++ /dev/null @@ -1,85 +0,0 @@ -imageString(); $smallest = 0; - $r = q("INSERT INTO `photo` ( `uid`, `resource-id`, `created`, `edited`, `filename`, + $r = q("INSERT INTO `photo` ( `uid`, `resource-id`, `created`, `edited`, `filename`, `album`, `height`, `width`, `data`, `scale` ) VALUES ( %d, '%s', '%s', '%s', '%s', %d, %d, '%s', 0 )", intval($_SESSION['uid']), @@ -43,6 +43,7 @@ function wall_upload_post(&$a) { datetime_convert(), datetime_convert(), dbesc(basename($filename)), + dbesc( t('Wall Photos')), intval($height), intval($width), dbesc($str_image)); -- cgit v1.2.3