diff --git a/boot.php b/boot.php index 56d85f638..5efa9a24f 100644 --- a/boot.php +++ b/boot.php @@ -96,9 +96,14 @@ class App { $this->path = ltrim(trim($p),'/'); } + function get_path() { + return $this->path; + } + function set_pager_total($n) { $this->pager['total'] = intval($n); } + function set_pager_itemspage($n) { $this->pager['itemspage'] = intval($n); $this->pager['start'] = ($this->pager['page'] * $this->pager['itemspage']) - $this->pager['itemspage']; diff --git a/include/nav.php b/include/nav.php index a7a2cf3f8..b788ed48a 100644 --- a/include/nav.php +++ b/include/nav.php @@ -12,7 +12,8 @@ $a->page['nav'] .= "Notifications\r\n"; $a->page['nav'] .= "Messages\r\n"; - + + $a->page['nav'] .= "
\r\n"; $a->page['nav'] .= "Logout\r\n"; @@ -22,7 +23,7 @@ $a->page['nav'] .= "Contacts\r\n"; - $a->page['nav'] .= "Home\r\n"; + $a->page['nav'] .= "user['nickname']}\">Home\r\n"; $a->page['nav'] .= "Network\r\n"; diff --git a/mod/ping.php b/mod/ping.php new file mode 100644 index 000000000..bc160ade7 --- /dev/null +++ b/mod/ping.php @@ -0,0 +1,36 @@ +\r\n
-You may introduce yourself to this member if you have a valid DFRN profile.
+You may introduce yourself to this member if you have a valid profile locator
+on the Distributed Friends and Relations Network (DFRN).