1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 21:02:09 +02:00

adminLinks function cleanup

This commit is contained in:
Cameron
2013-02-26 18:57:33 -08:00
parent 710b21823a
commit 4941a1156d
11 changed files with 76 additions and 30 deletions

View File

@@ -24,11 +24,13 @@ class tabbed
function __construct()
{
$core = e107::getNav()->adminLinks('assoc');
$plugs = e107::getNav()->pluginLinks(E_16_PLUGMANAGER, "array");
// $core = e107::getNav()->adminLinks('assoc');
// $plugs = e107::getNav()->pluginLinks(E_16_PLUGMANAGER, "array");
$this->links = array_merge($core,$plugs);
$this->links = multiarray_sort($this->links,'title'); //XXX Move this function in e107_class?
// $this->links = array_merge($core,$plugs);
// $this->links = multiarray_sort($this->links,'title'); //XXX Move this function in e107_class?
$this->links = e107::getNav()->adminLinks();
$this->render();
}