Pages: Moved under Networks

This commit is contained in:
Michael Vogel 2012-03-17 13:44:13 +01:00
parent 619c758263
commit 60db7fb8d0

View File

@ -82,7 +82,12 @@ function pages_page_end($a,&$b) {
$contact["Name"]."</a></li>";
}
$pages .= "</ul></div></div>";
if (sizeof($contacts) > 0)
if (sizeof($contacts) > 0) {
$pos = strpos($a->page['aside'], '<div id="saved-search-list"');
if ($pos > 0) {
$a->page['aside'] = substr($a->page['aside'], 0, $pos).$pages.substr($a->page['aside'], $pos);
} else
$a->page['aside'] = $pages.$a->page['aside'];
}
}
?>