Disabled modules no longer appear in the search

This commit is contained in:
Daniel Maya 2017-04-25 15:41:01 +02:00
parent 4113369680
commit 29ac2191b7
1 changed files with 142 additions and 140 deletions

View File

@ -73,6 +73,7 @@ else {
'nombre', 'web_content_string'); 'nombre', 'web_content_string');
foreach ($modules as $module) { foreach ($modules as $module) {
if(!$module['disabled']){
$module["datos"] = $module["datos"] =
modules_get_last_value($module['id_agente_modulo']); modules_get_last_value($module['id_agente_modulo']);
$module["module_name"] = $module['nombre']; $module["module_name"] = $module['nombre'];
@ -222,6 +223,7 @@ else {
$timestampCell, $timestampCell,
$edit_module)); $edit_module));
} }
}
echo "<br />"; echo "<br />";
ui_pagination ($totalModules); ui_pagination ($totalModules);