From 8f7e81a8b31aa8d734d9fe014ecdb7d2a13301d2 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Tue, 3 Aug 2010 18:17:42 -0700 Subject: [PATCH] front page --- mod/home.php | 4 +-- mod/mail.php | 85 --------------------------------------------- mod/ping.php | 4 +-- mod/wall_upload.php | 3 +- view/style.css | 16 ++++++++- 5 files changed, 21 insertions(+), 91 deletions(-) delete mode 100644 mod/mail.php diff --git a/mod/home.php b/mod/home.php index 8983138..4905789 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 6bb0408..0000000 --- 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)); diff --git a/view/style.css b/view/style.css index c7b46a8..5c5a58c 100644 --- a/view/style.css +++ b/view/style.css @@ -1,6 +1,6 @@ a, a:visited { - color: #4444FF; + color: #8888FF; text-decoration: none; } @@ -28,6 +28,13 @@ img.photo { background: #FFFFFF; } +#logo { + font-size: 300%; + color: #A8A8A8; + font-weight: bold; + margin-left: 280px; +} + aside { position: absolute; left: 0px; @@ -81,6 +88,13 @@ footer { border: 1px solid #FF8888; background-color: #FFEEEE; padding: 10px; + -moz-box-shadow: 5px 5px 5px #888888; + -webkit-box-shadow: 5px 5px 5px #888888; + box-shadow: 5px 5px 5px #888888; + -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=5, Direction=135, Color='#888888')"; + filter: progid:DXImageTransform.Microsoft.Shadow(Strength=5, Direction=135, Color='#888888'); + + } .nav-link { float: right;