From: Michael Vogel Date: Sat, 17 Mar 2012 12:44:13 +0000 (+0100) Subject: Pages: Moved under Networks X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=60db7fb8d0aa54a9d33411f5c0180b9f1481f0c5;p=friendica-addons.git Pages: Moved under Networks --- diff --git a/pages/pages.php b/pages/pages.php index bc56d2e4..d0cdc589 100755 --- a/pages/pages.php +++ b/pages/pages.php @@ -82,7 +82,12 @@ function pages_page_end($a,&$b) { $contact["Name"].""; } $pages .= ""; - if (sizeof($contacts) > 0) - $a->page['aside'] = $pages.$a->page['aside']; + if (sizeof($contacts) > 0) { + $pos = strpos($a->page['aside'], '
0) { + $a->page['aside'] = substr($a->page['aside'], 0, $pos).$pages.substr($a->page['aside'], $pos); + } else + $a->page['aside'] = $pages.$a->page['aside']; + } } ?>