2012-06-07 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.wizard.php, godmode/reporting/visual_console_builder.php: fixed the modules name with white spaces...again in Pandora console.. MERGED FROM 4.0.2 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6449 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
023a834036
commit
26aa9f5400
|
@ -1,3 +1,12 @@
|
|||
2012-06-07 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* godmode/reporting/visual_console_builder.wizard.php,
|
||||
godmode/reporting/visual_console_builder.php: fixed the modules
|
||||
name with white spaces...again in Pandora console..
|
||||
|
||||
|
||||
MERGED FROM 4.0.2
|
||||
|
||||
2012-06-07 Dario Rodriguez <dario.rodriguez@artica.es>
|
||||
|
||||
* include/functions_modules.php,
|
||||
|
|
|
@ -49,7 +49,7 @@ switch ($activeTab) {
|
|||
$visualConsoleName = get_parameter('name');
|
||||
|
||||
$values = array('name' => $visualConsoleName, 'id_group' => $idGroup, 'background' => $background);
|
||||
|
||||
|
||||
// If the background is changed the size is reseted
|
||||
$visualConsole = db_get_row_filter('tlayout', array('id' => $idVisualConsole));
|
||||
$background_now = $visualConsole['background'];
|
||||
|
@ -80,7 +80,7 @@ switch ($activeTab) {
|
|||
$idVisualConsole = db_process_sql_insert('tlayout', $values);
|
||||
else
|
||||
$idVisualConsole = false;
|
||||
|
||||
|
||||
if ($idVisualConsole !== false) {
|
||||
db_pandora_audit( "Visual console builder", "Create visual console #$idVisualConsole");
|
||||
$action = 'edit';
|
||||
|
@ -208,11 +208,13 @@ switch ($activeTab) {
|
|||
}
|
||||
else {
|
||||
$id_modules = array();
|
||||
|
||||
foreach ($name_modules as $mod) {
|
||||
foreach ($id_agents as $ag) {
|
||||
$id_module = agents_get_modules($ag,
|
||||
array('id_agente_modulo'),
|
||||
array('nombre' => $mod));
|
||||
array('nombre' => io_safe_input($mod)));
|
||||
|
||||
if (empty($id_module))
|
||||
continue;
|
||||
else {
|
||||
|
|
|
@ -217,6 +217,7 @@ function check_fields() {
|
|||
|
||||
function hidden_rows() {
|
||||
$("tr", "#wizard_table").hide(); //Hide all in the form table
|
||||
|
||||
//Show the id ".*-all_.*"
|
||||
$("tr", "#wizard_table").filter(function () {return /^wizard_table\-all.*/.test(this.id); }).show();
|
||||
|
||||
|
|
Loading…
Reference in New Issue