2013-04-10 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/visual_console_builder.ajax.php: fixed the name of agent in a Console without metaconsole. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7955 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
1ca231ce11
commit
2bae3e75f7
|
@ -1,3 +1,8 @@
|
|||
2013-04-10 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/ajax/visual_console_builder.ajax.php: fixed the name of
|
||||
agent in a Console without metaconsole.
|
||||
|
||||
2013-04-10 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/styles/pandora.css
|
||||
|
|
|
@ -454,9 +454,15 @@ switch ($action) {
|
|||
}
|
||||
|
||||
|
||||
$elementFields['agent_name'] =
|
||||
io_safe_output(agents_get_name($elementFields['id_agent']))
|
||||
. " (" . io_safe_output($connection['server_name']) . ")";
|
||||
if (!empty($connection['server_name'])) {
|
||||
$elementFields['agent_name'] =
|
||||
io_safe_output(agents_get_name($elementFields['id_agent']))
|
||||
. " (" . io_safe_output($connection['server_name']) . ")";
|
||||
}
|
||||
else {
|
||||
$elementFields['agent_name'] =
|
||||
io_safe_output(agents_get_name($elementFields['id_agent']));
|
||||
}
|
||||
|
||||
//Make the html of select box of modules about id_agent.
|
||||
if ($elementFields['id_agent'] != 0) {
|
||||
|
|
Loading…
Reference in New Issue