aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-20 05:21:19 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-20 05:21:19 -0700
commit466267fbb5b5cc466196e40b6a8fe96f25c57e2f (patch)
tree8fc00033648bd7716fdeac8eaddca054b2fbf1be /include
parentba8da761e669b22e16e1075e0e1e79d8b458af3e (diff)
downloadvolse-hubzilla-466267fbb5b5cc466196e40b6a8fe96f25c57e2f.tar.gz
volse-hubzilla-466267fbb5b5cc466196e40b6a8fe96f25c57e2f.tar.bz2
volse-hubzilla-466267fbb5b5cc466196e40b6a8fe96f25c57e2f.zip
lotsoflittlestuff
Diffstat (limited to 'include')
-rw-r--r--include/items.php2
-rw-r--r--include/nav.php19
2 files changed, 13 insertions, 8 deletions
diff --git a/include/items.php b/include/items.php
index 937fc39fd..bcfa70763 100644
--- a/include/items.php
+++ b/include/items.php
@@ -207,7 +207,7 @@ function post_remote($a,$arr) {
$parent_id = 0;
dbesc_array($arr);
-dbg(3);
+//dbg(3);
$r = q("INSERT INTO `item` (`"
. implode("`, `", array_keys($arr))
. "`) VALUES ('"
diff --git a/include/nav.php b/include/nav.php
index b788ed48a..0dc0f6029 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -1,21 +1,28 @@
<?php
+
+if(x($_SESSION['uid'])) {
+ $a->page['nav'] .= "<a id=\"nav-logout-link\" class=\"nav-link\" href=\"logout\">Logout</a>\r\n";
+}
+
$a->page['nav'] .= "<span id=\"nav-link-wrapper\" >\r\n";
if(($a->module != 'home') && (! (x($_SESSION['uid']))))
$a->page['nav'] .= "<a id=\"nav-home-link\" class=\"nav-commlink\" href=\"\">Home</a>\r\n";
- $a->page['nav'] .= "<a id=\"nav-directory-link\" class=\"nav-commlink\" href=\"directory\">Site Directory</a>\r\n";
+ $a->page['nav'] .= "<a id=\"nav-directory-link\" class=\"nav-link\" href=\"directory\">Site Directory</a>\r\n";
if(x($_SESSION,'uid')) {
- $a->page['nav'] .= "<a id=\"nav-notify-link\" class=\"nav-commlink\" href=\"notifications\">Notifications</a>\r\n";
+ $a->page['nav'] .= "<a id=\"nav-network-link\" class=\"nav-commlink\" href=\"network\">Network</a><span id=\"net-update\" class=\"nav-ajax-left\"></span>\r\n";
- $a->page['nav'] .= "<a id=\"nav-messages-link\" class=\"nav-commlink\" href=\"Messages\">Messages</a>\r\n";
+ $a->page['nav'] .= "<a id=\"nav-home-link\" class=\"nav-commlink\" href=\"profile/{$a->user['nickname']}\">Home</a><span id=\"home-update\" class=\"nav-ajax-left\"></span>\r\n";
+
+ $a->page['nav'] .= "<a id=\"nav-notify-link\" class=\"nav-commlink\" href=\"notifications\">Notifications</a><span id=\"notify-update\" class=\"nav-ajax-left\"></span>\r\n";
+
+ $a->page['nav'] .= "<a id=\"nav-messages-link\" class=\"nav-commlink\" href=\"Messages\">Messages</a><span id=\"mail-update\" class=\"nav-ajax-left\"></span>\r\n";
- $a->page['nav'] .= "<div id=\"nav-notify\" class=\"nav-notify\"></div>\r\n";
- $a->page['nav'] .= "<a id=\"nav-logout-link\" class=\"nav-link\" href=\"logout\">Logout</a>\r\n";
$a->page['nav'] .= "<a id=\"nav-settings-link\" class=\"nav-link\" href=\"settings\">Settings</a>\r\n";
@@ -23,9 +30,7 @@
$a->page['nav'] .= "<a id=\"nav-contacts-link\" class=\"nav-link\" href=\"contacts\">Contacts</a>\r\n";
- $a->page['nav'] .= "<a id=\"nav-home-link\" class=\"nav-link\" href=\"profile/{$a->user['nickname']}\">Home</a>\r\n";
- $a->page['nav'] .= "<a id=\"nav-network-link\" class=\"nav-link\" href=\"network\">Network</a>\r\n";
}