Commit Graph

1336 Commits

Author SHA1 Message Date
mdtrooper 7944a69e3e 2010-04-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: added parameter $where for SQL in function
	"get_agent_alerts_compound".

	* operation/agentes/alerts_status.php: use the new free search for filter
	the rows of alerts.

	* operation/agentes/alerts_status.functions.php: added parameter in the
	function "printFormFilterAlert", the parameter $free_search and add
	input text control for free search.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2543 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-06 15:08:08 +00:00
mdtrooper 7dc7c09635 2010-04-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php: changed some parts of source code in the
	functions "format_alert_row" for show column modules in general view. In the
	function "pagination" added the parameter $offset_name with default value
	'offset' for to use several paginations in one page.

	* include/functions_agents.php: added the parameters $limit, $idGroup,
	$count in the function "get_agent_alerts_simple", and now you can limit the
	rows, search by id group and return the count of rows (without limit). And
	in the function "get_agent_alerts_compound" added the same parameters to
	another function $idGroup, $limit, $count for similar uses.

	* operation/agentes/alerts_status.php: cleaned more parts of source code,
	fixed the mad array_merge of alerts, fixed SQL with the searchs IN
	(large large list ids), fixed the pagination before loop all rows, now
	only loop the block page rows.

	* operation/agentes/alerts_status.functions.php: new file with the functions
	"forceExecution", "validateAlert", and "printFormFilterAlert".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2542 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-06 12:46:34 +00:00
mdtrooper 3cbec8d108 2010-03-31 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/alerts_status.php, operation/agentes/estado_agente.php,
	godmode/reporting/visual_console_builder.editor.php: cleaned source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2539 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-05 15:54:17 +00:00
raulmateos 6e6cbdc42c 2010-04-03 Raul Mateos <raulofpandora@gmail.com>
* operation/events/event_statistics.php: Updated year and headers. There
	is a black space after the headers that should be avoided. Same to the
	events.php file.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2533 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-02 22:19:12 +00:00
mdtrooper 99fa6ee1bf 2010-03-31 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: in function "printItemInVisualConsole"
	changed the text align of elements label to center.
	
	* operation/visual_console/render_view.php: changed the title to Pandora's
	header.
	
	* godmode/reporting/visual_console_builder.php: fixed the id of visual
	console in the update wizard action.
	
	* godmode/reporting/visual_console_builder.editor.php: small changes in the
	style. Set the width and height for module graph.
	
	* godmode/reporting/visual_console_builder.editor.js: set the default value
	for width and height for module graph in the function "cleanFields". And in
	the function "createItem" deleted br tag the simple value.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2532 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-31 14:23:16 +00:00
mdtrooper e8452584d2 2010-03-31 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: added new parameter for function
	"print_select" for style. In the function "print_input_hidden" added the
	parameter $class for set the class of input.
	
	* godmode/reporting/map_builder.php: delete old code, now it have only
	source code of paint list of visual consoles.
	
	* godmode/reporting/visual_console_builder.data.php: cleaned style the of
	form.
	
	* godmode/reporting/visual_console_builder.elements.php: cleaned the rows of
	table, delete label color field and change the text type for a icon.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2531 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-31 11:44:03 +00:00
mdtrooper c3e8829b33 2010-03-30 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/visual_console_builder.ajax.php: some cleaned the source
	code...need more.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2529 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-30 17:52:52 +00:00
mdtrooper 61c68e4840 2010-03-29 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.php,
	godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.elements.php: worked about the new
	visual console builder editor, now it is finished but I will clean and
	comment the source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2528 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-30 17:39:32 +00:00
mdtrooper 6b758bc76c 2010-03-24 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/visual_console_builder.ajax.php,
	godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/visual_console_builder.constans.php,
	godmode/reporting/visual_console_builder.editor.js: worked about the new
	visual console builder editor, now it is developing, don't afray.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2527 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-29 18:31:22 +00:00
mdtrooper 3c146799dd 2010-03-24 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/visual_console_builder.ajax.php,
	godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/map_builder.php,
	godmode/reporting/visual_console_builder.editor.js: worked about the new
	visual console builder editor, now it is developing, don't afray.
	
	* godmode/reporting/visual_console_builder.constans.php: added the file that
	it has the constans. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2526 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-29 13:58:08 +00:00
mdtrooper 3c2bfc8e5b 2010-03-24 Miguel de Dios <miguel.dedios@artica.es>
* include/config_process.php,
	godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/visual_console_builder.editor.js: worked about the new
	visual console builder editor, now it is developing, don't afray.
	
	* include/javascript/jquery.colorpicker.js: we used the old versión, and
	patch with self code for z-index to upper position. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2525 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-26 11:22:16 +00:00
mdtrooper 138c4ff3a1 2010-03-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php,
	godmode/reporting/visual_console_builder.preview.php,
	godmode/reporting/visual_console_builder.php,
	godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/visual_console_builder.editor.js: worked about the new
	visual console builder editor, now it is developing, don't afray.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2524 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-25 16:18:05 +00:00
jsatoh 43a1556623 2010-03-24 Junichi Satoh <junichi@rworks.jp>
* operation/snmpconsole/snmp_view.php: To follow timestamp setting,
	changed the function to use, from human_time_comparation() to
	print_timestamp(). 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2522 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-24 01:18:40 +00:00
mdtrooper 2a6b2c553e 2010-03-23 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/jquery.ui.resizable.js: add library of jQuery.ui for
	resizable elements.
	
	* include/functions_visual_map.php
	
	*include/ajax, include/ajax/visual_console_builder.ajax.php: add the
	file for ajax request from visual console builder editor.
	
	* include/config_process.php: change $build_version.
	
	* include/functions.php: in function "safe_url_extraclean" fix to pages
	with '.' character.
	
	* godmode/reporting/visual_console_builder.php,
	godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/visual_console_builder.data.php,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.elements.php: worked about the
	new visual console builder editor, now it is developing, don't afray.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2521 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-23 17:46:08 +00:00
slerena 7932ff9239 2010-03-21 Sancho Lerena <slerena@gmail.com>
* include/help/en/check_other_languages.sh: Moved from include/help 
        and rewritten to be more usable. This is a script to check if there
        are missing help files for each language (taken as parameter).

        * operation/agentes/datos_agente.php: Cannot detete data from here.
        Removed old support for individual data delete due the new table 
        schema.

        * extras/check_other_languages.sh: Moved from include/help

        * godmode/agentes/modificar_agente.php: Admin can see everything
        even if agent has a invalid group (group which not exist). This
        was important because agents with invalid group was "Invisible"
        until now.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2519 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-22 15:32:16 +00:00
eric_ross_c d71282f836 * operation/agentes/estado_ultimopaquete.php: Fixing color to show WARN messages in orange
* operation/agentes/stat_win.php: Now when showing a log4x chart, we don't show the max/min/avg information



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2517 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-19 14:06:49 +00:00
eric_ross_c 455a548876 * include/config_process.php: Fixing warning when no timezone is defined for the user
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2516 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-19 14:04:56 +00:00
eric_ross_c 594018f2d9 Adding support to show and purge data from the log4x table
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2515 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-19 14:03:40 +00:00
eric_ross_c 4a0121ed6b 2010-03-18 Eric Ross <eric.ross.c@gmail.com>
* operation/agentes/estado_monitores.php: Now the monitors list display the last data
                in a proper way (TRACE, DEBUG, ....)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2514 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-18 20:52:56 +00:00
eric_ross_c c77ee83654 * godmode/setup/setup.php: Expanded time zone text box to 25 chars
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2513 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-18 20:16:06 +00:00
mdtrooper 4aff5411df 2010-03-17 Miguel de Dios <miguel.dedios@artica.es>
* include/config_process.php, install.php: change version number.
	* include/functions_ui.php: add in the function "print_page_header" a
	read boolean item "active" in array $buttons for paint disabled.
	* include/functions.php: add function "get_parameterBetweenListValues" this
	function get a parameter for a GET or POST but between a values.
	* godmode/reporting/visual_console_builder.php: added new editors for visual
	console, now it is developing, don't afray.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2511 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-17 19:07:49 +00:00
jsatoh 501eaf8667 2010-03-17 Junichi Satoh <junichi@rworks.jp>
* operation/messages/message.php : Changed strings.
	"From" to "Message from", "To" to "Message to"

	* godmode/reporting/reporting_builder.php : Changed strings.
	"Down" to "Move down", "Up" to "Move up"

	* godmode/alerts/alert_list.php: Changed sentence with some strings.
	"From XX to YY matches of the alert" to "Number of alerts match	
	from XX to YY"



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2510 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-17 06:36:16 +00:00
jsatoh 1fa6979c50 2010-03-15 Junichi Satoh <junichi@rworks.jp>
* godmode/alerts/alert_list.php : Added help link, "alert-matches".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2509 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-15 04:26:40 +00:00
slerena 62eb83f898 2010-03-12 Sancho Lerena <slerena@artica.es>
* include/help/es/: Added some missing help files in spanish,
        translated by Julia. Thanks Julia!




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2508 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-12 16:27:52 +00:00
slerena 470eaf0df7 2010-03-12 Sancho Lerena <slerena@artica.es>
* godmode/groups/modu_group_list.php, 
        godmode/groups/configure_modu_group.php: New module group 
        editor/manager. Contributed by Antonio Dos Santos, thanks Antonio!

        * godmode/menu.php: Added modulegroup to menu.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2507 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-12 16:00:49 +00:00
jsatoh 6c2f9fe3f9 2010-03-12 Junichi Satoh <junichi@rworks.jp>
* godmode/alerts/configure_alert_compound.php : Changed not to use
	variable "alert" on java script. IE8 can't handle it as a variable.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2506 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-12 07:45:47 +00:00
slerena 608291f137 2010-03-11 Snacho Lerena <slerena@artica.es>
* include/help/en/check_other_languages.sh: Small script to show 
        help files not translated.

        * include/functions_ui.php: Fixed call to undefined variable.

        * godmode/setup/setup.php: Small box for textarea.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2505 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-11 18:52:42 +00:00
slerena 5cb962cb74 2010-03-10 Sancho Lerena <slerena@artica.es>
* pandoradb_data.sql: Added new default values for purge event,
        string data, audit data, gis data, and snmp trap data.

        * include/functions_config.php: Support for new gis_purge config
        token.

        * godmode/setup/performance.php: Added gis_purge to setup.

        * godmode/users/user_list.php: Fixed bug which doesn't allow to
        delete users.

        * godmode/users/configure_user.php: Fixed bug with profile assigment
        (Mixed the current user and selected user).

	* Install.php: Show default user/password after install. Build update.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2501 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-10 17:58:29 +00:00
jsatoh e9b54a766a 2010-03-10 Junichi Satoh <junichi@rworks.jp>
* general/license/pandora_info_ja.html : Added the GPL in Japanese.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2497 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-10 01:30:09 +00:00
mdtrooper 60fd02fefc 2010-03-09 Miguel de Dios <miguel.dedios@artica.es>
* index.php: changed the deprecated var $REMOTE_ADDR for standar
	$_SERVER['REMOTE_ADDR']. I forget in the last commit.

	* operation/gis_maps/render_view.php, operation/gis_maps/index.php,
	operation/menu.php, godmode/gis_maps/configure_gis_map.php: fix the ACL
	and add in other sites of source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2496 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-09 16:59:23 +00:00
mdtrooper 4515df471f sancho.lerena@artica.es>
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2495 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-09 12:34:09 +00:00
mdtrooper cfaa1c0bbb 2010-03-09 Miguel de Dios <miguel.dedios@artica.es>
* operation/search_results.php: fixed the result when call a function db
	with new method.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2494 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-09 10:19:27 +00:00
mdtrooper 3899b10249 2010-03-09 Miguel de Dios <miguel.dedios@artica.es>
* godmode/gis_maps/configure_gis_map.php: fix the request var when it is
	activate magic quotes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2493 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-09 09:57:31 +00:00
jsatoh bb03ba512a 2010-03-09 Junichi Satoh <junichi@rworks.jp>
* include/help/ja : Imported Japanese help files.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2492 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-09 05:18:44 +00:00
Pablo de la Concepción Sanz 7ec2a4a864 2010-03-08 Pablo de la Concepción <pablo.concepcion@artica.es>
* godmode/agentes/agent_conf_gis.php: Changed some english phrases to make
     it more clear.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2490 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-08 19:21:28 +00:00
Pablo de la Concepción Sanz 330384749c 2010-03-08 Pablo de la Concepción <pablo.concepcion@artica.es>
* godmode/agentes/agent_manager.php: Changed some english phrases to make 
     it more clear.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2488 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-08 18:58:59 +00:00
Pablo de la Concepción Sanz 193c9d7cac 2010-03-08 Pablo de la Concepción <pablo.concepcion@artica.es>
* include/functions_gis.php, operation/gis_maps/render_view.php : Changed 
     some english phrases to make it more clear.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2487 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-08 18:42:15 +00:00
mdtrooper e9a565252c 2010-03-08 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/openlayers.pandora.js: deleted the console log debug
	print.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2486 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-08 17:49:34 +00:00
mdtrooper 49dc0b3768 2010-03-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: cleaned source code of "printMap", now it is
	more clean the code because it call the js_printMap only and it haven't the
	num zoom levels.
	
	* include/javascript/openlayers.pandora.js: cleaned source code of
	"js_printMap", now it is more clean the code and it haven't the num zoom
	levels.

	* operation/gis_maps/render_view.php, godmode/setup/gis_step_2.php,
	godmode/gis_maps/configure_gis_map.php: use new form of "printMap" and
	"js_printMap".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2485 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-08 17:40:23 +00:00
Pablo de la Concepción Sanz 713bb6b2bf 2010-03-08 Pablo de la Concepción <pablo.concepcion@artica.es>
New theme for the maps: New images and background color for the Openlayers
    controls.

    * include/javascript/OpenLayers/OpenLayers.js: Channged background color
    on some components to fit the new theme.

    * include/javascript/OpenLayers/img/south-mini.png, 
    include/javascript/OpenLayers/img/zoom-plus-mini.png, 
    include/javascript/OpenLayers/img/zoom-world-mini.png, 
    include/javascript/OpenLayers/img/zoom-minus-mini.png, 
    include/javascript/OpenLayers/img/zoombar.png, 
    include/javascript/OpenLayers/img/west-mini.png, 
    include/javascript/OpenLayers/img/slider.png, 
    include/javascript/OpenLayers/img/layer-switcher-maximize.png, 
    include/javascript/OpenLayers/img/north-mini.png, 
    include/javascript/OpenLayers/img/east-mini.png: New images for the new
    theme of the Openlayers controls.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2484 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-08 17:30:29 +00:00
mdtrooper 6b38ca71f7 2010-03-08 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js: change the code into function
	"html_entity_decode" for fix the decode in IE6 and rename the function to
	"js_html_entity_decode" for clean source code.
	
	* include/javascript/jquery.pandora.controls.js,
	include/javascript/pandora_modules.js, godmode/alerts/alert_list.php,
	godmode/alerts/configure_alert_action.php,
	godmode/reporting/reporting_builder.php, godmode/reporting/map_builder.php,
	godmode/reporting/graph_builder.php: use the rewrite new function javascript
	js_html_entity_decode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2483 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-08 12:49:49 +00:00
slerena c577bf6020 2010-03-06 SAncho Lerena <slerena@artica.es>
* install.php: Fixed width of textarea, too small.

        * extensions/dbmanager.php,
        extensions/plugin_registration.php
        extensions/pandora_logs.php: Added missing ACL checks.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2481 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-06 13:45:48 +00:00
mdtrooper 7e3e9d4584 2010-03-05 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb_data.sql: changed some the descriptions text of table
	type modules. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2479 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-05 11:56:00 +00:00
mdtrooper 82f36884fb 2010-03-05 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_common.php: fix the type for when
	ajax load by form editor in modules policies.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2477 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-05 11:32:17 +00:00
mdtrooper 16b5a1277f 2010-03-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: clean source code delete obsolete unused
	function "get_agent_last_coords". Fixed the function "get_agent_icon_map"
	now show default icon for agent without modules.
	
	* operation/gis_maps/ajax.php: improve the style of bubble info agent and
	fixed the position for agent without data GIS.
	
	* operation/agentes/gis_view.php: clean the style delete the header. Change
	the text of refresh button. Show the last coords for the agent.
	
	* images/gis_map/icons/cross.pink.png, images/gis_map/icons/circle.pink.png:
	add this image icons for to use in the preview map of config connection map.
	
	* godmode/agentes/agent_conf_gis.php: clean the style delete the header.

	* godmode/setup/gis_step_2.php: use the pink icons for the center and
	default position in the preview map.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2476 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-05 11:16:20 +00:00
slerena db044fda1c 2010-03-04 Sancho Lerena <slerena@artica.es>
* install.php: Fixed a bad render in IE.

        * operation/agentes/estado_agente.php: Fixed general view of agents.
        When show agents without modules, never display it's date because was
        taking from the most recept module, instead of data from agent itself.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2475 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 20:02:29 +00:00
Pablo de la Concepción Sanz 3770fd48a7 2010-03-04 Pablo de la Concepción <pablo.concepcion@artica.es>
* godmode/gis_maps/configure_gis_map.php: Change help link.

    * godmode/gis_maps/index.php: Added help link.

    * include/help/en/help_gis_map_builder.php,
      include/help/en/help_configure_gis_map.php: first version of the help
    pages.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2473 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 17:58:59 +00:00
mdtrooper ba344c2a39 2010-03-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: in function "printMap2" disable by default
	to add the control "layerSwitcher".

	* operation/gis_maps/render_view.php: add the "layerSwitcher" to controls to
	show.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2472 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 17:43:36 +00:00
mdtrooper 112e452fd3 2010-03-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: in function "getAgentMap" change the controls
	delete overview and change PanZoom for PanZoomBar because the overview
	fail with google map, and PanZoomBar now the map view is more tall.
	
	* operation/gis_maps/render_view.php: delete overview because the overview
	fail with google.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2471 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 17:29:52 +00:00
mdtrooper c83b34089b 2010-03-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: in function "get_user_groups" add third
	parameter $returnAllGroup by true for default. Fix in the function
	"get_group_agents" now if pass the id_group as 0 or 1 (all group) search
	for all groups.
	
	* godmode/agentes/agent_manager.php: use the new parameter for function
	"get_user_groups" for don't show the all group.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2470 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 16:50:48 +00:00
slerena f43a9becea 2010-03-04 Sancho Lerena <slerena@gmail.com>
* pandoradb_data.sql: Added news, default timezone and other 
        minor changes. GIS is disabled by default now.

        * include/config_process.php: Force a timezone if not defined.

        * operation/gis_maps/index.php,
        operation/agentes/gis_view.php: Config.php and header stuff 

        * operation/servers/view_server_detail.php
        operation/menu.php: Recon operation detail is now shown in the left
        menu.

        * admin_access_logs.php,
        db/db_audit.php
        db/db_info.php
        db/db_event.php
        agentes/configurar_agente.php
        gis_maps/configure_gis_map.php
        gis_maps/index.php: More headers and config.php include stuff.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2469 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 16:22:25 +00:00
raulmateos eef4fd550c 2010-03-04 Raul Mateos <raulofpandora@gmail.com>
* (lot of files): Updated year and headers.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2467 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 16:08:09 +00:00
mdtrooper e5c0b773ea 2010-03-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/gis_maps/configure_gis_map.php: clean the form, now don't show
	the box of preview map.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2466 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 11:58:41 +00:00
mdtrooper 3b1187b942 2010-03-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: add comment include for javascript include
	for more to easy change version openlayers for test.
	
	* include/javascript/OpenLayers/OpenLayers.js: warning the source code is
	compress. In the method "drawFeature" for the class "Renderer" backport some
	part of code for to extend the style attributes (labelYOffset in this case).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2465 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 10:35:50 +00:00
Pablo de la Concepción Sanz 966960d157 2010-03-04 Pablo de la Concepción <pablo.concepcion@artica.es>
* images/gis_map/icons/circle.bad.png ,
    images/gis_map/icons/circle.default.png ,
    images/gis_map/icons/circle.ok.png ,
    images/gis_map/icons/circle.warning.png ,
    images/gis_map/icons/cross.bad.png ,
    images/gis_map/icons/cross.default.png ,
    images/gis_map/icons/cross.ok.png ,
    images/gis_map/icons/cross.warning.png ,
    images/gis_map/icons/marker.bad.png ,
    images/gis_map/icons/marker.default.png ,
    images/gis_map/icons/marker.ok.png ,
    images/gis_map/icons/marker.warning.png ,
    images/gis_map/icons/square_marker.bad.png ,
    images/gis_map/icons/square_marker.default.png ,
    images/gis_map/icons/square_marker.ok.png ,
    images/gis_map/icons/square_marker.warning.png ,
    images/gis_map/icons/star.bad.png ,
    images/gis_map/icons/star.default.png ,
    images/gis_map/icons/star.ok.png ,
    images/gis_map/icons/star.warning.png ,
    images/gis_map/icons/triangle.bad.png ,
    images/gis_map/icons/triangle.default.png ,
    images/gis_map/icons/triangle.ok.png ,
    images/gis_map/icons/triangle.warning.png: New icons for the agents



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2462 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 06:59:36 +00:00
Pablo de la Concepción Sanz d492c1b157 2010-03-04 Pablo de la Concepción <pablo.concepcion@artica.es>
*  include/functions_gis.php: added missing num_zoom_levels value to 
	the baselayers hash when printing the Agent Map



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2461 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 06:01:13 +00:00
raulmateos e45ee78ae5 2010-03-03 Raul Mateos <raulofpandora@gmail.com>
* operation/incidents/*.php: Updated year and headers.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2460 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-03 22:19:22 +00:00
slerena ab2dd5a5be 2010-03-03 Sancho Lerena <slerena@artica.es>
* (A lot of files): Updated include("config.php") and replaced
        by global $config.

        * functions_db.php, functions_html.php: Fixed way to get data
        from the hash instead from the array.  




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2459 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-03 17:10:37 +00:00
mdtrooper 8f3d8f9185 2010-03-03 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: add in the last time a function "printMap2"
	that it is a clean function. Change the function "printMap" to call
	"printMap2".
	
	* include/javascript/openlayers.pandora.js: in function "js_printMap" set
	the spherical Mercator for google maps. 
	
	* operation/gis_maps/render_view.php: add to list of $baselayers the name
	of baselayer. Change order of div for map because now the script don't
	call when document ready. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2458 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-03 16:25:39 +00:00
Ramon Novoa 8fc2d2a09f 2010-03-03 Ramon Novoa <rnovoa@artica.es>
* include/functions_db.php: Use mysql_fetch_assoc instead of
          mysql_fetch_array to avoid duplicate results (hash and array).

        * godmode/alerts/configure_alert_template.php: Added 'matches_value'
          support to 'onchange' alerts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2457 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-03 13:13:11 +00:00
mdtrooper 63ca79bf0a 2010-03-03 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: add new parameter to function "addPath" the
	$lastPosition for paint the line to last position that this position is not
	in the table tgis_data_history. In function "getAgentMap" use the new
	parameter in the function "addPath".
	 
	* operation/gis_maps/render_view.php: tiny fix in the include javascript
	of google. And few stetic changes in the top menu. And add the new parameter
	to "addPath".


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2455 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-03 10:34:35 +00:00
mdtrooper 0c7b3d1648 2010-03-03 Miguel de Dios <miguel.dedios@artica.es>
* operation/gis_maps/render_view.php: close in the end a unclose php tag.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2454 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-03 09:25:10 +00:00
mdtrooper 8d72e7dab9 2010-03-03 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/gis_view.php: fix "Call-time pass-by-reference" for
	function "print_table".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2453 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-03 09:22:44 +00:00
slerena 6022740c10 2010-03-02 Sancho Leren <slerena@artica.es>
* include/functions_ui.php: Fixes default icon for operation
	mode in the title.

	* operation/incidents/incident.php
	operation/incidents/incident_detail.php
	operation/incidents/incident_statistics.php
	operation/snmpconsole/snmp_view.php
	operation/users/user.php
	operation/users/user_edit.php
	operation/users/user_statistics.php
	operation/events/event_statistics.php
	operation/events/export_csv.php
	operation/events/events_marquee.php
	operation/events/events.php
	operation/agentes/export_csv.php
	operation/agentes/datos_agente.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/estado_generalagente.php
	operation/agentes/estado_agente.php
	operation/agentes/sla_view.php
	operation/agentes/gis_view.php
	operation/agentes/ver_agente.php
	operation/agentes/tactical.php
	operation/agentes/group_view.php
	operation/agentes/networkmap.php
	operation/messages/message.php
	operation/reporting/reporting_viewer.php
	operation/servers/view_server.php
	operation/servers/view_server_detail.php
	operation/search_results.php
	godmode/groups/configure_group.php
	godmode/groups/group_list.php
	godmode/agentes/agent_manager.php
	godmode/alerts/alert_list.php: Fixes with include(Config.php) in
	enterprise mode.:

	* general/header.php: Detection of Metaconsole to show less options.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2452 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 19:25:51 +00:00
raulmateos 6e0eea2b2c 2010-03-02 Raul Mateos <raulofpandora@gmail.com>
* godmode/agentes/*.php, godmode/group/*.php, godmode/modules/*.php:
	Updated year and headers in several files. Little by little I'll change
	the rest...

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2450 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 16:41:27 +00:00
mdtrooper 1dcec08556 2010-03-02 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/OpenLayers/lib/*, 
	include/javascript/OpenLayers/news.txt, 
	include/javascript/OpenLayers/readme.txt,
	include/javascript/OpenLayers/repository-license.txt,
	include/javascript/OpenLayers/release-license.txt: delete unused files of
	OpenLayers lib.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2449 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 15:51:33 +00:00
mdtrooper f869f56312 2010-03-02 Miguel de Dios <miguel.dedios@artica.es>
* operation/gis_maps/render_view.php: clean source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2448 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 15:39:50 +00:00
Pablo de la Concepción Sanz 57df567e55 2010-03-02 Pablo de la Concepción <pablo.concepcion@artica.es>
* include/functions_gis.php: Added a missing break and remove debugging 
	code.

	* operation/gis_maps/render_view.php: Added code to render Gmap type of 
	maps.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2446 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 15:24:49 +00:00
mdtrooper ee02b6fcd7 2010-03-02 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: disabled the use of night version of
	Openlayers. Change the "refreshMapView" javascript to load the library of
	google maps with the api, and add function "refreshMapViewSecondStep"
	for asincrone call in "refreshMapView" when load map google.
	
	* include/javascript/openlayers.pandora.js: clean source code of
	"js_refreshParentLines" and add the test if the parent agent is in the
	map.
	
	* godmode/setup/gis_step_2.php: disabled the use of night version of
	Openlayers in function "printMap" and change the text of hierachy layer for
	better english text.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2445 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 15:13:04 +00:00
slerena d7274f2288 2010-03-02 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php: Solved issue with several undefined
	vars.

	* include/functions_servers.php: Solved issue with several undefined
	vars. 

	* include/functions_config.php: Added metaconsola witch to readconfig.

	* include/config_process.php: Update build.. is YYMMDD !

	* include/functions_ui.php: Removed deprecated call to split and replaced
	by preg_split.

	* index.php: Activated developer mode.

	* operation/agentes/estado_monitores.php: Solved small problem with modules
	without history, filling missing column in table. Added headers

	* godmode/alerts/configure_alert_compound.php,
	operation/agentes/status_monitor.php
	godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_templates.php,
	godmode/alerts/configure_alert_action.php,
	godmode/alerts/configure_alert_command.php,
	godmode/alerts/alert_actions.php,
	godmode/alerts/alert_commands.php,
	godmode/modules/manage_network_templates.php,
	godmode/modules/module_list.php,
	godmode/modules/manage_network_components.php,
	godmode/modules/manage_nc_groups.php: Removed deprecated call to include
	config.php and in some cases, added new header style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2444 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 14:13:00 +00:00
mdtrooper bd708443ab 2010-03-02 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/gis_step_2.php: fix a mechanographic mistake.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2443 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 12:10:15 +00:00
mdtrooper ee6e942096 2010-03-02 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: add function "addParentLines", in ths function
	make a hierachy layer and call "js_refreshParentLines" for paint hierachy
	lines. In function "activateAjaxRefresh" use the function
	"js_refreshParentLines" for repaint the lines.
	
	*include/javascript/openlayers.pandora.js: add the global var
	"storeLayerNameHierachy" for save the text localiced name of Hierachy lines
	layer. Add the function "js_refreshParentLines" for paint the lines from
	parent to sons. In function "changeShowStatus" add the
	"js_refreshParentLines"

	* operation/gis_maps/render_view.php: use the function "addParentLines" for
	start the parent lines.

	* operation/agentes/gis_view.php: clean sourcecode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2442 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 12:00:57 +00:00
mdtrooper 4c577a9cb0 2010-03-01 Miguel de Dios <miguel.dedios@artica.es>
* operation/gis_maps/ajax.php: fix the query to extract the GIS data for
	agent, in any moment in the past I dirty the query, but now it's clean, and
	now run fine the agent movement.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2441 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 10:19:09 +00:00
Pablo de la Concepción Sanz 44746d514c 2010-03-01 Pablo de la Concepción <pablo.concepcion@artica.es>
* include/javascript/openlayers.pandora.js: Modified js_printMap to support
	Gmap type of maps.

	* include/functions_gis.php: Modified printMap to support Gmap type of maps

	* godmode/setup/gis_step_2.php: Modified to load on demand the Gmaps api
	TODO: Use the key from the gmap_key input box.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2440 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-01 20:42:49 +00:00
slerena d5a369870d 2010-03-01 Sancho Lerena <slerena@artica.es>
* include/styles/menu.css,
        include/functions_db.php,
        operation/menu.php: New code for give support for Metaconsole. Added nocache
        settings in some SQL main functions to avoid globally usage of SQL cache.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2439 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-01 18:46:19 +00:00
mdtrooper b8f31434cb 2010-03-01 Miguel de Dios <miguel.dedios@artica.es>
* godmode/gis_maps/configure_gis_map.php: fix in javascript function
	"setFieldsFormLayer" set the checkbox.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2438 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-01 12:15:15 +00:00
mdtrooper 8ae77f92d1 2010-03-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: in fuction "getAgentsLayer" fix when none data
	for agents in this layer.
	
	* operation/gis_maps/render_view.php: fix link to edit map and fix the text
	of header.
	
	operation/gis_maps/index.php: use function "print_page_header".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2437 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-01 11:40:07 +00:00
mdtrooper f1b67fc083 2010-03-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: now function "getAgentMap" return true or false
	if there is default map or not.

	* operation/agentes/gis_view.php, godmode/agentes/agent_conf_gis.php: show
	message of error when there isn't a default map



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2436 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-01 11:17:27 +00:00
mdtrooper e2d9a80a8a 2010-03-01 Miguel de Dios <miguel.dedios@artica.es>
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: update with the new data in
	the sql data file of pandora.
	
	include/config_process.php: update the version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2435 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-01 11:02:23 +00:00
mdtrooper ed57488d98 2010-03-01 Miguel de Dios <miguel.dedios@artica.es>
* godmode/gis_maps/configure_gis_map.php: erase console log in some parts
	in javascript, and fix the fill a hidden input with the levels of zoom in
	a connection.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2434 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-01 10:48:38 +00:00
mdtrooper 246a33ba02 2010-03-01 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb_data.sql: add the default map from Open street map, and set
	active by default the GIS.
	
	* godmode/setup/gis_step_2.php: fix tiny bugs in the form that the default
	values for zooms were exchangeds.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2433 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-01 10:24:19 +00:00
mdtrooper 1e62c60690 2010-02-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: use zoom level.
	
	* godmode/gis_maps/configure_gis_map.php: include the things about
	default zoom level in function "validateMapData", "getMapData" and add
	the function "getNumZoomLevelsOfConnectionDefault".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2430 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-26 11:20:15 +00:00
slerena 8a94e178d1 2010-02-25 Sancho Lerena <slerena@artica.es>
* godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_templates.php,
	godmode/alerts/configure_alert_action.php,
	godmode/alerts/alert_actions.php: Show/Edit group for templates and actions.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2429 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-25 19:17:59 +00:00
slerena 9c8b33b3d9 2010-02-25 Sancho Lerena <slerena@artica.es>
* include/functions_ui.php: Alert information now show the default
	actions properly,and the action conditions (max/min).

	* include/functions_alerts.php: Added support on get_alert_templates_types
	for new alert type "onchange".

	* pandoradb.sql,
	extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added new support for alert
	type "onchange".

	* godmode/alerts/alert_list.php: Alert information now shows the default
	action (if exist) and have a link to edit the template directly from here.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2425 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-25 18:48:36 +00:00
mdtrooper 6c62d8f94f 2010-02-25 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/agent_manager.php: fix dinamic show icon when change
	the select and show other icon the icon with "without status".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2424 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-25 18:18:30 +00:00
mdtrooper 3b6892c709 2010-02-25 Miguel de Dios <miguel.dedios@artica.es>
* ChangeLog: I did'nt upload in previous commit the changelog.

	* include/functions_gis.php: refactor the name of function "addPoint"
	to "addAgentPoint". In function "get_agent_icon_map" add new parameter
	$status for pass the status.
	
	* include/javascript/openlayers.pandora.js: add function "js_addAgentPoint"
	is same more or less "js_addPoint" and too for "js_addAgentPointExtent" and
	"js_addPointExtent".

	* operation/gis_maps/render_view.php: add the id_parent in the call of
	"addAgentPoint".
	
	* operation/gis_maps/ajax.php: clean source code and add the id_parent to
	return json for each agent.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2423 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-25 17:27:55 +00:00
mdtrooper c58e3c3a5d 2010-02-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: in function "addPath" add the parameter
	$history_time for to set limit in seconds to past where to start path.
	Use new parameter in function "getAgentMap".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2420 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-25 15:51:37 +00:00
mdtrooper 45539d31f2 2010-02-25 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/gis_view.php: change the empty message to standar.
	
	* godmode/menu.php: change the text of visual console builder and GIS map
	builder, and move to down the Conection GIS editor.
	
	* godmode/gis_maps/configure_gis_map.php: change some text.
	
	* godmode/gis_maps/index.php: use new header.
	
	* godmode/reporting/map_builder.php: change some text.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2419 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-25 13:30:42 +00:00
mdtrooper 4ac27420e1 2010-02-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: change the setup params "maxExtent",
	"maxResolution", "numZoomLevels" from map to baselayer. Add new function
	"getAgentsLayer" to get agent info of agents in layer, but only agents not
	in group in layer. 
	
	* operation/gis_maps/render_view.php: use new function "getAgentsLayer".

	* operation/gis_maps/ajax.php: fix the extract agent gis info, and clean
	source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2418 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-25 12:46:47 +00:00
Pablo de la Concepción Sanz e6d38f325c 2010-02-25 Pablo de la Concepción <pablo.concepcion@artica.es>
* godmode/setup/gis_step_2.php: Modified to get the KEY to load the Google
    Maps Javascript for the used domain. Now it stores the key, but still it
    doesn't load dinamicaly the javascript to show the preview.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2417 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-25 11:30:56 +00:00
mdtrooper 311f31d5dd 2010-02-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: fix map to show correct position the agent
	icons in the function "printMap".
	
	* include/javascript/openlayers.pandora.js: fix map to show correct position
	the agent icons in the function "js_printMap".

	* godmode/gis_maps/configure_gis_map.php: fix a mechanographic mistake in a
	text.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2415 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-24 15:19:16 +00:00
mdtrooper 1a95c79454 2010-02-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: in function "printMap" add the posibility to
	show the Static_Image base layer (WIP because it'snt show the icons), in
	function "getAgentMap" pass the status in the feature.
	
	* include/javascript/openlayers.pandora.js: in the function "js_printMap"
	add the posibility to show the Static_Image base layer (WIP).
	
	* operation/gis_maps/render_view.php: clean source code for the part of
	baselayers and add the code for Static Image baselayer.
	
	* godmode/setup/gis_step_2.php: clean source code uninitialize vars, add
	the preview static image var (WIP because it'snt show the icons).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2414 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-24 13:42:01 +00:00
Pablo de la Concepción Sanz bc1d03f1e7 2010-02-24 Pablo de la Concepción <pablo.concepcion@artica.es>
* godmode/setup/gis_step_2.php: Modified to be able to manage also
    Goolge Maps (TODO:preview and KEY management) and Static Images (TODO:
    preview).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2413 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-24 12:01:23 +00:00
mdtrooper 7db3cb7f1c 2010-02-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: fix the refresh time in function
	"activateAjaxRefresh", in functions "activateAjaxRefresh" and "addPoint"
	 add status agent.
	 
	* include/javascript/openlayers.pandora.js: add function "changeShowStatus"
	for change show icons by status, in function "changeRefreshTime" add reset
	timer, in function "js_addPoint" and "js_addPointExtent" add the state and
	hide if it's necesary.
	
	* operation/gis_maps/render_view.php: change the style of page, and add
	controls for hide agent icons by state.

	* operation/gis_maps/ajax.php: add the option "get_map_connection_data" in
	switch for get map connection data.

	* godmode/gis_maps/configure_gis_map.php: start to develop the preview map
	in editor.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2412 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-24 11:49:03 +00:00
Pablo de la Concepción Sanz f5fcd58481 2010-02-24 Pablo de la Concepción <pablo.concepcion@artica.es>
* pandora_console/operation/gis_maps/render_view.php: Changed PanZoom
    to PanZoomBar in the map.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2411 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-24 10:58:07 +00:00
mdtrooper 132ab90b41 2010-02-23 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: in function "activateAjaxRefresh" add the
	posibility to change refresh time in execution time.
	
	* include/functions_ui.php: add in the "print_page_header" the feature to
	pass a array of buttons/items.

	* include/javascript/openlayers.pandora.js: add the function
	"changeRefreshTime" for change the refresh time.

	* operation/gis_maps/render_view.php: change the top of page for to
	adapt the new header, and add refresh control.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2408 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-23 16:36:24 +00:00
Pablo de la Concepción Sanz 6448be331c 2010-02-23 Pablo de la Concepción <pablo.concepcion@artica.es>
* godmode/setup/gis_step_2.php, godmode/gis_maps/configure_gis_map.php: 
    Usability improvements, change some texts, added some contextual tips.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2407 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-23 14:47:41 +00:00
mdtrooper 279067add1 Fix changelog copy & paste error.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2406 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-23 13:18:47 +00:00
mdtrooper 78a81f5234 2010-02-22 Sancho Lerena <slerena@artica.es>
* include/functions_gis.php: change the function "activateAjaxRefresh" for
	refresh also the agent maps, and in the function "getAgentMap" show icon
	with status the agent maps.
	* operation/gis_maps/ajax.php: in the switch option "get_new_positions"
	return GIS data for agent maps, in the "point_agent_info" and
	"point_path_info" option change for new tables.
	* operation/agentes/gis_view.php: add the ajax moving agent and click
	bubble info.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2405 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-23 12:12:41 +00:00
slerena 1cb2846036 2010-02-22 Sancho Lerena <slerena@artica.es>
* include/functions_menu.php: Add calls for new enterprise ACL system.

	* include/config_process.php
	include/functions_config.php: Added new setup token for ACL enterprise.

	* index.php: Implemented new Enterprise ACL on page load.

	* extras/pandora_diag.php: Added new header style.

	* general/noaccess.php: Ending <div> was breaking layout. Fixed.

	* godmode/db/db_main.php: Added new header style.

	* godmode/menu.php: Added new Setup option for Enterprise ACL system.

	* godmode/snmpconsole/snmp_alert.php,
	godmode/setup/news.php
	godmode/users/configure_user.php
	godmode/reporting/map_builder.php: Added new header style.

	* godmode/setup/setup.php: Added new Setup option for Enterprise ACL system.

	* godmode/setup/setup_visuals.php: Added new header style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2400 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-22 19:03:55 +00:00