forked from friendica/friendica-addons
Pages: Moved under Networks
This commit is contained in:
parent
619c758263
commit
60db7fb8d0
1 changed files with 7 additions and 2 deletions
|
@ -82,7 +82,12 @@ function pages_page_end($a,&$b) {
|
||||||
$contact["Name"]."</a></li>";
|
$contact["Name"]."</a></li>";
|
||||||
}
|
}
|
||||||
$pages .= "</ul></div></div>";
|
$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'];
|
$a->page['aside'] = $pages.$a->page['aside'];
|
||||||
}
|
}
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue