From 60db7fb8d0aa54a9d33411f5c0180b9f1481f0c5 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sat, 17 Mar 2012 13:44:13 +0100 Subject: [PATCH] Pages: Moved under Networks --- pages/pages.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pages/pages.php b/pages/pages.php index bc56d2e4e..d0cdc589c 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']; + } } ?>