mirror of
https://github.com/e107inc/e107.git
synced 2025-08-22 14:13:03 +02:00
Better routing/URL assembling, inline documentation, large number of fixes, news area improvements - should work flowless with every URL configuration. Awaiting testing results for more stability fixes.
This commit is contained in:
@@ -89,11 +89,13 @@ class eurl_admin_ui extends e_admin_controller_ui
|
||||
{
|
||||
$labels = array();
|
||||
$obj = eDispatcher::getConfigObject($module, $location);
|
||||
if($obj)
|
||||
{
|
||||
$admin = $obj->admin();
|
||||
$labels = vartrue($admin['labels'], array());
|
||||
}
|
||||
if(!$obj) continue;
|
||||
$config = $obj->config();
|
||||
if(!$config || !vartrue($config['config']['allowMain'])) continue;
|
||||
$admin = $obj->admin();
|
||||
$labels = vartrue($admin['labels'], array());
|
||||
|
||||
|
||||
$this->prefs['url_main_module']['writeParms'][$module] = vartrue($section['name'], eHelper::labelize($module));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user