1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-31 18:11:56 +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

@@ -72,10 +72,10 @@ EOF;
}
$array_functions_assoc = e107::getNav()->adminLinks('assoc');
// $array_functions_assoc = e107::getNav()->adminLinks('assoc');
$this->iconlist = array_merge($array_functions_assoc, e107::getNav()->pluginLinks(E_16_PLUGMANAGER, "array"));
// $this->iconlist = array_merge($array_functions_assoc, e107::getNav()->pluginLinks(E_16_PLUGMANAGER, "array"));
$this->iconlist = e107::getNav()->adminLinks();
}
@@ -158,7 +158,7 @@ EOF;
}
// "<form method='post' action='".e_SELF."?".e_QUERY."'>";
@@ -184,6 +184,9 @@ EOF;
</span>';
*/
// print_a($user_pref['core-infopanel-mye107']);
$mainPanel .= "
@@ -597,6 +600,8 @@ EOF;
global $user_pref;
$text = "";
foreach ($this->iconlist as $key=>$icon)