2013-08-07 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/modificar_agente.php, godmode/agentes/module_manager_editor.php: changed the code to avoid to call enterprise functions. Fixes: #2367 *include/functions_agents.php: fixed source code style.. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8640 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
93589e7fd4
commit
a3dad1b227
|
@ -1,3 +1,13 @@
|
||||||
|
2013-08-07 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* godmode/agentes/modificar_agente.php,
|
||||||
|
godmode/agentes/module_manager_editor.php: changed the code to
|
||||||
|
avoid to call enterprise functions.
|
||||||
|
|
||||||
|
Fixes: #2367
|
||||||
|
|
||||||
|
*include/functions_agents.php: fixed source code style..
|
||||||
|
|
||||||
2013-08-07 Miguel de Dios <miguel.dedios@artica.es>
|
2013-08-07 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* operation/agentes/estado_agente.php: fixed the call to
|
* operation/agentes/estado_agente.php: fixed the call to
|
||||||
|
|
|
@ -477,11 +477,13 @@ if ($agents !== false) {
|
||||||
|
|
||||||
echo "<td align='center' class='$tdcolor'>";
|
echo "<td align='center' class='$tdcolor'>";
|
||||||
// Has remote configuration ?
|
// Has remote configuration ?
|
||||||
|
if (enterprise_installed()) {
|
||||||
if (config_agents_has_remote_configuration($agent["id_agente"])) {
|
if (config_agents_has_remote_configuration($agent["id_agente"])) {
|
||||||
echo "<a href='index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&tab=main&id_agente=".$agent["id_agente"]."&disk_conf=1'>";
|
echo "<a href='index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&tab=main&id_agente=".$agent["id_agente"]."&disk_conf=1'>";
|
||||||
echo html_print_image("images/application_edit.png", true, array("align" => 'middle', "title" => __('Edit remote config')));
|
echo html_print_image("images/application_edit.png", true, array("align" => 'middle', "title" => __('Edit remote config')));
|
||||||
echo "</a>";
|
echo "</a>";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
echo "</td>";
|
echo "</td>";
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -335,7 +335,10 @@ switch ($moduletype) {
|
||||||
case MODULE_DATA:
|
case MODULE_DATA:
|
||||||
$moduletype = MODULE_DATA;
|
$moduletype = MODULE_DATA;
|
||||||
// Has remote configuration ?
|
// Has remote configuration ?
|
||||||
|
$remote_conf = false;
|
||||||
|
if (enterprise_installed()) {
|
||||||
$remote_conf = config_agents_has_remote_configuration($id_agente);
|
$remote_conf = config_agents_has_remote_configuration($id_agente);
|
||||||
|
}
|
||||||
|
|
||||||
/* Categories is an array containing the allowed module types
|
/* Categories is an array containing the allowed module types
|
||||||
(generic_data, generic_string, etc) from ttipo_modulo (field categoria) */
|
(generic_data, generic_string, etc) from ttipo_modulo (field categoria) */
|
||||||
|
|
Loading…
Reference in New Issue