".$lang_label["agent_conf"]." > ".$lang_label["assigned_modules"]." ".$lang_label["help"].""; if ($row=mysql_num_rows($result)){ echo ''; echo ''; echo ""; echo ""; echo ""; echo "
".$lang_label["module_name"]; echo "".$lang_label["type"]; echo "".$lang_label["interval"]; echo "".$lang_label["description"]; echo "".$lang_label["module_group"]; echo "".$lang_label["max_min"]; echo "".$lang_label["action"]; $color=1; while ($row=mysql_fetch_array($result)){ if ($color == 1){ $tdcolor="datos"; $color =0; } else { $tdcolor="datos2"; $color =1; } $id_tipo = $row["id_tipo_modulo"]; $nombre_modulo =$row["nombre"]; $descripcion = $row["descripcion"]; $module_max = $row["max"]; $module_min = $row["min"]; $module_interval2 = $row["module_interval"]; $module_group2 = $row["id_module_group"]; echo "
".$nombre_modulo; echo ""; if ($id_tipo > 0) { echo ""; } if ($module_interval2!=0){ echo "".$module_interval2; } else { echo " N/A"; } echo "".substr($descripcion,0,30)."". substr(dame_nombre_grupomodulo($module_group2),0,15).""; if ($module_max == $module_min) { $module_max = "N/A"; $module_min = "N/A"; } echo $module_max." / ".$module_min; echo ""; if ($id_tipo != -1) echo " ".$lang_label["delete"]."   "; echo " ".$lang_label["update"].""; } echo "
"; } else echo "
No modules
"; } // ==================================================================================== // Module Creation / Update form // ==================================================================================== else { echo '
'; if ($update_module == "1"){ echo ''; echo ''; } else { // Create echo ''; // Default values for new modules if ($ip_target == ""){ $ip_target = $direccion_agente; $snmp_community = "public"; $module_interval = $intervalo; } } } echo "

".$lang_label["agent_conf"]." > ".$lang_label["module_asociation_form"]."  ".$lang_label["help"]."

"; echo ' '; echo ''; echo ""; if ($update_module == "1"){ echo ''; } else { echo ''; } echo ""; ?>
"; //-- Module type combobox echo "".$lang_label["module_type"]; echo ""; if ($update_module == "1") { echo ""; echo "".$lang_label["no_change_field"].""; } else { echo '"; } ?> '; if ($update_module == "1"){ echo "