|
|
@ -304,11 +304,11 @@ |
|
|
|
|
|
|
|
|
|
|
|
function getInstaledModules() |
|
|
|
function getInstaledModules() |
|
|
|
{ |
|
|
|
{ |
|
|
|
global $AVE_DB, $AVE_Template, $AVE_Module; |
|
|
|
global $AVE_Template, $AVE_Module; |
|
|
|
|
|
|
|
|
|
|
|
$modules = $AVE_Module->_modules; |
|
|
|
$modules = $AVE_Module->_modules; |
|
|
|
|
|
|
|
|
|
|
|
$modules_instaled = array(); |
|
|
|
$modules_instaled = []; |
|
|
|
|
|
|
|
|
|
|
|
foreach ($modules AS $module) |
|
|
|
foreach ($modules AS $module) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -321,6 +321,8 @@ |
|
|
|
|
|
|
|
|
|
|
|
unset ($modules); |
|
|
|
unset ($modules); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$modules_instaled = msort($modules_instaled,'ModuleName'); |
|
|
|
|
|
|
|
|
|
|
|
$AVE_Template->assign('modules', $modules_instaled); |
|
|
|
$AVE_Template->assign('modules', $modules_instaled); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|