Changeset 6733

Show
Ignore:
Timestamp:
10/06/08 16:12:34 (2 months ago)
Author:
shotamchay
Message:

config log topology (administration>log after ACL)

Location:
trunk/centreon/www
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/centreon/www/include/options/configurationChangelog/viewLogs.php

    r6731 r6733  
    110110                $objNameTab[0] = _("Please select an object name"); 
    111111                while ($res =& $DBRESULT->fetchRow()) { 
    112                         if ($res['object_id']) 
     112                        if ($res['object_id']) { 
     113                                $res['object_name'] = str_replace('#S#', "/", $res["object_name"]); 
     114                                $res['object_name'] = str_replace('#BS#', "\\", $res["object_name"]); 
    113115                                $objNameTab[$res['object_id']] = $res['object_name']." (id:".$res['object_id'].")"; 
     116                        } 
    114117                } 
    115118        } 
  • trunk/centreon/www/install/insertTopology.sql

    r6732 r6733  
    209209INSERT INTO `topology` (`topology_id`, `topology_name`, `topology_icone`, `topology_parent`, `topology_page`, `topology_order`, `topology_group`, `topology_url`, `topology_url_opt`, `topology_popup`, `topology_modules`, `topology_show`, `topology_style_class`, `topology_style_id`, `topology_OnClick`) VALUES(NULL, 'Snmp traps', './img/icones/16x16/funnel_new.gif', 607, 60705, 15, 33, './include/configuration/configGenerateTraps/generateTraps.php', NULL, '0', '0', '1', NULL, NULL, NULL); 
    210210INSERT INTO `topology` (`topology_id`, `topology_name`, `topology_icone`, `topology_parent`, `topology_page`, `topology_order`, `topology_group`, `topology_url`, `topology_url_opt`, `topology_popup`, `topology_modules`, `topology_show`, `topology_style_class`, `topology_style_id`, `topology_OnClick`) VALUES(NULL, 'Actions Access', './img/icones/16x16/wrench.gif', 502, 50204, 25, 1, './include/options/accessLists/actionsACL/actionsConfig.php', NULL, '0', '0', '1', NULL, NULL, NULL); 
    211 INSERT INTO `topology` (`topology_id`, `topology_name`, `topology_icone`, `topology_parent`, `topology_page`, `topology_order`, `topology_group`, `topology_url`, `topology_url_opt`, `topology_popup`, `topology_modules`, `topology_show`, `topology_style_class`, `topology_style_id`, `topology_OnClick`) VALUES(NULL, 'Logs', NULL, 5, 508, 25, 1, './include/options/configurationChangelog/viewLogs.php', NULL, '0', '0', '1', NULL, NULL, NULL); 
     211INSERT INTO `topology` (`topology_id`, `topology_name`, `topology_icone`, `topology_parent`, `topology_page`, `topology_order`, `topology_group`, `topology_url`, `topology_url_opt`, `topology_popup`, `topology_modules`, `topology_show`, `topology_style_class`, `topology_style_id`, `topology_OnClick`) VALUES(NULL, 'Logs', NULL, 5, 508, 11, 1, './include/options/configurationChangelog/viewLogs.php', NULL, '0', '0', '1', NULL, NULL, NULL); 
    212212INSERT INTO `topology` (`topology_id`, `topology_name`, `topology_icone`, `topology_parent`, `topology_page`, `topology_order`, `topology_group`, `topology_url`, `topology_url_opt`, `topology_popup`, `topology_modules`, `topology_show`, `topology_style_class`, `topology_style_id`, `topology_OnClick`) VALUES(NULL, 'Configuration', './img/icones/16x16/text_code.gif', 5, 50801, 10, 80, './include/options/configurationChangelog/viewLogs.php', NULL, '0', '0', '1', NULL, NULL, NULL); 
    213213 
  • trunk/centreon/www/install/sql/Update-CSTG-2.0_to_2.1.sql

    r6732 r6733  
    3535DELETE FROM `topology` WHERE topology_name='Logs' AND topology_page='508'; 
    3636DELETE FROM `topology` WHERE topology_name='Configuration' AND topology_page='50801'; 
    37 INSERT INTO `topology` (`topology_id`, `topology_name`, `topology_icone`, `topology_parent`, `topology_page`, `topology_order`, `topology_group`, `topology_url`, `topology_url_opt`, `topology_popup`, `topology_modules`, `topology_show`, `topology_style_class`, `topology_style_id`, `topology_OnClick`) VALUES(NULL, 'Logs', NULL, 5, 508, 25, 1, './include/options/configurationChangelog/viewLogs.php', NULL, '0', '0', '1', NULL, NULL, NULL); 
     37INSERT INTO `topology` (`topology_id`, `topology_name`, `topology_icone`, `topology_parent`, `topology_page`, `topology_order`, `topology_group`, `topology_url`, `topology_url_opt`, `topology_popup`, `topology_modules`, `topology_show`, `topology_style_class`, `topology_style_id`, `topology_OnClick`) VALUES(NULL, 'Logs', NULL, 5, 508, 11, 1, './include/options/configurationChangelog/viewLogs.php', NULL, '0', '0', '1', NULL, NULL, NULL); 
    3838INSERT INTO `topology` (`topology_id`, `topology_name`, `topology_icone`, `topology_parent`, `topology_page`, `topology_order`, `topology_group`, `topology_url`, `topology_url_opt`, `topology_popup`, `topology_modules`, `topology_show`, `topology_style_class`, `topology_style_id`, `topology_OnClick`) VALUES(NULL, 'Configuration', './img/icones/16x16/text_code.gif', 5, 50801, 10, 80, './include/options/configurationChangelog/viewLogs.php', NULL, '0', '0', '1', NULL, NULL, NULL);