aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/home.php4
-rw-r--r--mod/mail.php85
-rw-r--r--mod/ping.php4
-rw-r--r--mod/wall_upload.php3
-rw-r--r--view/style.css16
5 files changed, 21 insertions, 91 deletions
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'] .= "<div class=\"powered\" >Powered by <a href=\"http://mistpark.com\" name=\"Mistpark\" >Mistpark</a></div>";
+ $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);
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 @@
-<?php
-
-
-function mail_post(&$a) {
-
- // handles mail created by me, or mail posted to my profile page.
- // If remote we must have a DFRN-url.
-
- if((x($_POST,'dfrn_url')) && (strlen($_POST['dfrn_url']))) {
- // get post params
- $remote = true;
-
- // check blacklist
-
-
- // scrape url
-
-
-
- // sanitise
-
- // store
-
-
- // notify
-
-
- }
-
- if(local_user()) {
-
-
- // get data
-
-
- // sanitise
-
-
- // store
-
-
- // notify
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
-}
-
-
-function mail_content(&$a) {
-
- // remot mail
-
-
- // list mail
-
-
-
-
-
- // read message
-
-
-
-
- // reply
-
-
-
-
- // new mail
-
-
-
-} \ No newline at end of file
diff --git a/mod/ping.php b/mod/ping.php
index ea5c308a3..7e96b7121 100644
--- a/mod/ping.php
+++ b/mod/ping.php
@@ -8,13 +8,13 @@ function ping_init(&$a) {
xml_status(0);
$r = q("SELECT COUNT(*) AS `total` FROM `item`
- WHERE `unseen` = 1 AND `uid` = %d",
+ WHERE `unseen` = 1 AND `visible` = 1 AND `deleted` = 0 AND `uid` = %d",
intval($_SESSION['uid'])
);
$network = $r[0]['total'];
$r = q("SELECT COUNT(*) AS `total` FROM `item`
- WHERE `unseen` = 1 AND `uid` = %d AND `type` != 'remote' ",
+ WHERE `unseen` = 1 AND `visible` = 1 AND `deleted` = 0 AND `uid` = %d AND `type` != 'remote' ",
intval($_SESSION['uid'])
);
$home = $r[0]['total'];
diff --git a/mod/wall_upload.php b/mod/wall_upload.php
index c585fc30b..34c541677 100644
--- a/mod/wall_upload.php
+++ b/mod/wall_upload.php
@@ -35,7 +35,7 @@ function wall_upload_post(&$a) {
$str_image = $ph->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 c7b46a830..5c5a58cd5 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;