2013-10-17 Miguel de Dios <miguel.dedios@artica.es>

* godmode/agentes/configurar_agente.php: fixed the string of
	duplicate module.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8933 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2013-10-18 10:37:35 +00:00
parent 62e4e18b5b
commit 42bcaa8d47
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2013-10-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/configurar_agente.php: fixed the string of
duplicate module.
2013-10-17 Miguel de Dios <miguel.dedios@artica.es> 2013-10-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/gis_step_2.php: fixed typo bug. * godmode/setup/gis_step_2.php: fixed typo bug.

View File

@ -1257,7 +1257,7 @@ if (!empty($duplicate_module)) { // DUPLICATE agent module !
$id_duplicate_module = $duplicate_module; $id_duplicate_module = $duplicate_module;
$original_name = modules_get_agentmodule_name($id_duplicate_module); $original_name = modules_get_agentmodule_name($id_duplicate_module);
$copy_name = io_safe_input(sprintf(__('copy of %s'), $original_name)); $copy_name = io_safe_input(sprintf(__('copy of %s'), io_safe_output($original_name)));
$cont = 0; $cont = 0;
$exists = true; $exists = true;
@ -1267,7 +1267,7 @@ if (!empty($duplicate_module)) { // DUPLICATE agent module !
if ($exists) { if ($exists) {
$cont++; $cont++;
$copy_name = io_safe_input( $copy_name = io_safe_input(
sprintf(__('copy of %s (%d)'), $original_name, $cont)); sprintf(__('copy of %s (%d)'), io_safe_output($original_name), $cont));
} }
} }