2011-07-27 Tomas Palacios <tomas.palacios@artica.es>
* godmode/setup/news.php: fixed a bug regarding unability to add new objects to visual maps using the wizard. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4631 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
c87fc9a807
commit
d9f24ad608
|
@ -252,7 +252,7 @@ function visual_map_process_wizard_add ($id_agents, $image, $id_layout, $range,
|
|||
$pos_x = $pos_x + $range;
|
||||
}
|
||||
|
||||
$return = print_success_message (__('Agent successfully added to layout'), '', true);
|
||||
$return = ui_print_success_message (__('Agent successfully added to layout'), '', true);
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
@ -271,8 +271,8 @@ function visual_map_process_wizard_add ($id_agents, $image, $id_layout, $range,
|
|||
*/
|
||||
function visual_map_process_wizard_add_modules ($id_modules, $image, $id_layout, $range, $width = 0, $height = 0) {
|
||||
if (empty ($id_modules)) {
|
||||
$return = print_error_message (__('No modules selected'), '', true);
|
||||
return false;
|
||||
$return = ui_print_error_message (__('No modules selected'), '', true);
|
||||
return $return;
|
||||
}
|
||||
|
||||
$id_modules = (array) $id_modules;
|
||||
|
@ -305,7 +305,7 @@ function visual_map_process_wizard_add_modules ($id_modules, $image, $id_layout,
|
|||
$pos_x = $pos_x + $range;
|
||||
}
|
||||
|
||||
$return = print_success_message (__('Modules successfully added to layout'), '', true);
|
||||
$return = ui_print_success_message (__('Modules successfully added to layout'), '', true);
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue