Commit Graph

530 Commits

Author SHA1 Message Date
slerena 9a4725dd3e 2008-09-02 Sancho Lerena <slerena@gmail.com>
* functions.php: Added function to clean SQL string.

	* setup/news.php: Fixed problem adding new news.

	* setup/link.php: Added mysql recheck to input var.

	* login_page.php: Removed "Welcome", added a blank line before title.

	* logon_failed.php: Was rending bad in IE.

	* footer.php: Added Firefox button and tooltip about best view in Firefox.

	* header.php: Old rendering was crazy in IE. New code to set render exactly
	equal on IE and Firefox. PLEASE DO NOT USE TABULAR phpp functions here, this is 
	pure HTML formatting.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1069 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-02 16:08:11 +00:00
Esteban Sanchez c8dc6f66e2 2008-09-02 Esteban Sanchez <estebans@artica.es>
* extensions/update_manager/lib/*: Update Manager has its own license
        header which must be respected.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1068 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-02 12:25:02 +00:00
slerena 91d493a8a9 2008-09-02 Sancho Lerena <slerena@gmail.com>
*  extensions/update_manager*: Updated GPL header. Added 
        more text about Update Manager anonymous information gathering.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1067 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-02 11:55:54 +00:00
Esteban Sanchez 14304892ba 2008-09-02 Esteban Sanchez <estebans@artica.es>
* extensions/update_manager.php: Style correction. Removed force
        updating of the settings.

        * extensions/update_manager/load_updatemanager.php: Run the keygen if
        the user is not the free one.

        * extensions/update_manager/main.php: Show information message to free
        users.

        * extensions/update_manager/settings.php: Allow updating keygen and
        binary path settings.

        * extensions/update_manager/lib/*: Updated to latest version of Open
        Update Manager.

        * extensions/update_manager/sql/update_manager.sql: Set keygen path.

        * godmode/extensions.php: Bug solved that was avoiding to show defined
        extensions. Fixed ACL check.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1066 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-02 11:16:44 +00:00
Esteban Sanchez 14b7cd266a 2008-09-02 Esteban Sanchez <estebans@artica.es>
* reporting/fgraph.php: Rollback to r1049. It still needs some tests,
        will be readded in next Pandora major version.

        * reporting/pandora_graph.php, reporting/pearimage_graph.php: Deleted
        from repository.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1065 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-02 10:37:29 +00:00
Esteban Sanchez 3670d2d837 2008-09-01 Esteban Sanchez <estebans@artica.es>
* extensions/update_manager/load_updatemanager.php: Typo error fixed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1063 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 13:03:47 +00:00
Esteban Sanchez 0e8a649e7c 2008-09-01 Esteban Sanchez <estebans@artica.es>
* extensions/update_manager.php,
        extensions/update_manager/sql/update_manager.sql: Fixed update server 
        path typo error.

        * extensions/update_manager/load_updatemanager.php: Force values to be
        integer.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1062 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 13:00:14 +00:00
raulmateos 4e13e77fa4 2008-09-01 Raul Mateos <raulofpandora@gmail.com>
* operation/snmp/snmp_console/snmp_view.php: File, not updated in last commit,
	my SVN client doesn't work well.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1061 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 11:37:42 +00:00
raulmateos 79973156fb 2008-09-01 Raul Mateos <raulofpandora@gmail.com>
* operation/snmp/snmp_console/snmp_view.php: Added style to buttons.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1060 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 11:36:38 +00:00
Esteban Sanchez e38aa031ac 2008-09-01 Esteban Sanchez <estebans@artica.es>
* extensions/update_manager.php: Get user key with the function 
        instead of the unexistent keygen.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1059 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 10:47:51 +00:00
Esteban Sanchez a04c80edd0 2008-09-01 Esteban Sanchez <estebans@artica.es>
* extensions/update_manager/sql/update_manager.sql,
        extensions/update_manager.php: Updated server info to
        the final Update manager host.

        * extensions/update_manager/main.php: Added a information message
        about Update Manager extension.

        * update_manager/load_updatemanager.php: Get module count into user
        key.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1058 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 10:39:32 +00:00
raulmateos c97bc978fa 2008-09-01 Raul Mateos <raulofpandora@gmail.com>
* general/error_noconfig.php, error_perms: Updated pages title.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1057 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 09:43:32 +00:00
raulmateos a90f6aecdd 2008-09-01 Raul Mateos <raulofpandora@gmail.com>
* general/error_install.php: Forgot to submit the page.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1056 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 09:41:03 +00:00
raulmateos 64bb653da9 2008-09-01 Raul Mateos <raulofpandora@gmail.com>
* general/error_install.php: Updated page title.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1055 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 09:39:52 +00:00
slerena e78d2c2bbc 2008-09-01 Sancho Lerena <slerena@artica.es>
* pandora_logo.png: White background for IE6 users.

	* index.php: Updated version and develop bypass.

	* header.php, pandora.css: Better view in IE6.

	* estado_ultimopaquete.php: Fixes bad render for big numbers.

	* snmp_view.php: Fixes problems with IE6 render. Better view
	of custom OID (shortened and as tooltip).

	* stat_win.php: Fixed problem with slicer in IE6.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1053 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 08:51:04 +00:00
raulmateos 585bf4a0db 2008-09-01 Raul Mateos <raulofpandora@gmail.com>
* operation/snmp/smp_console/snmp_view.php: Show substring in custom value, when the mouse is over data, it shows all the custom value. Cosmetic change.
	* operation/events/events.php: Closed several html tags.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1052 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 08:16:39 +00:00
Esteban Sanchez 3c46a853aa 2008-09-01 Esteban Sanchez <estebans@artica.es>
* reporting/pandora_graph.php: Added to repository. New abstract class
	PandoraGraphAbstract to allow the change of the graphic engine easily.

	* reporting/fgraph.php: Rewritten to remove all the references to
	PEAR::Image and replaced by the new Pandora Graph abstract class.

	* reporting/pearimage_graph.php: Added to repository. Implements
	PandoraGraphAbstract class with the PEAR::Image functions.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1051 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 08:11:22 +00:00
jorgonzalez 5f58a412bd 2008-09-01 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: updated
        Spanish translation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1050 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 07:27:14 +00:00
slerena 4fa38d78e2 2008-09-01 Sancho lerena <slerena@artica.es>
* include/, fgraph.php: Moved licence of libraries to LGPL.

	* install.php: Added dependency check for several new includes
	from pear (xml_rpc and DB), also graphviz twopi binary and check
	in step1 for a writable config.php and ./include dir. Some other
	minor fixes (esthetic).

	* pandoradb.sql: Table tagent_data_image was still there. This
	comes with next version (I hope), not this one.

	* pandoradb_data.sql: db_scheme_build update and removed modules
	components without proper id_module.

	* networkmap.php: Another foreach() notice fixed.

	* upgrade.php: Moved to contrib branch in SVN.

	Old pandora SQL conversion files, deleted (was present in its branches).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1049 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 04:22:26 +00:00
guruevi 4bfb4c57e0 2008-08-28 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/events/events.php: Updated the queries and fixed some minor 
        bugs with the event selections. Style changes.

        * operation/agentes/networkmap.php: Style changes

        * pandora2ast: Removed hidden swapfile

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1048 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-29 16:05:08 +00:00
Esteban Sanchez 46ee66c2c3 2008-08-28 Esteban Sanchez <estebans@artica.es>
* extensions/update_manager.php: Added function to update Update
        Manager settings.

        * extensions/update_manager/load_updatemanager.php: Added user key
        generation function. Update manager free extension do not use a keygen
        binary file.

        * extensions/update_manager/main.php: Changes to key generation,
        because free extension do not use keygen.

        * extensions/update_manager/settings.php: Removed configuration of
        keygen and upgrading directory.

        * extensions/update_manager/lib/libupdate_manager.php,
        extensions/update_manager/lib/libupdate_manager_utils.php: Updated to
        latest version of Update Manager.

        * extensions/update_manager/lib/libupdate_manager_client.php: Removed
        debug flag and errors to be less intrusive for the user. Updated to
        latest version of Update Manager.

        * extensions/update_manager/sql/update_manager.sql: Changed default 
        settings.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1047 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-29 07:54:17 +00:00
guruevi 853aecefb9 2008-08-28 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/extensions/update_manager.php: Check for an empty
        variable so it doesn't give a warning

        * pandora_console/extensions/update_manager/lib/libupdate_manager_utils.php,
        libupdate_manager_client.php: Removed referenced variables from
        function calls so it doesn't give a warning that it is deprecated.

        * pandora_server/util/pandora2ast: Pandora to Asterisk script. Check README 
	for how to install it and use it


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1046 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-28 16:21:21 +00:00
Esteban Sanchez a90d0865b5 2008-08-28 Esteban Sanchez <estebans@artica.es>
* include/functions_visual_map.php: Fixed an error when there were no
        elements in the map that cause Javascript failure and nothing works.
        Thanks Jorge for the advice.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1043 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-28 08:41:51 +00:00
raulmateos da3575c986 2008-08-27 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/status_monitor.php: Moved legend.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1042 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-27 11:34:59 +00:00
raulmateos 1f5dd564d5 2008-08-27 Raul Mateos <raulofpandora@gmail.com>
* Forgot again the files for last commit!

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1041 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-27 11:17:35 +00:00
raulmateos 3f4b4776fe 2008-08-27 Raul Mateos <raulofpandora@gmail.com>
* godmode/menu.php, operation/menu.php: Updated to solve small ugly effects.
	* include/styles/op.css, god.css: Updated to solve small ugly effects. god.css needs to be changed to the new "version".

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1040 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-27 11:16:41 +00:00
raulmateos b9a9e47512 2008-08-27 Raul Mateos <raulofpandora@gmail.com>
* install.php: Forgot in the last commit.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1039 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-27 10:13:25 +00:00
raulmateos 5e05607914 2008-08-27 Raul Mateos <raulofpandora@gmail.com>
* install.php: Solved small typos in language. Style correction.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1038 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-27 10:02:59 +00:00
slerena 0e8c7d513c 2008-08-25 Sancho Lerena <slerena@gmail.com>
Missing files for update_manager client



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1035 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-25 17:54:30 +00:00
slerena 4b3f3fcbbe 2008-08-25 Sancho lerena <slerena@artica.es>
* extensions/update_manager: Added update manager client for
        PandoraFMS.

        * operation/reporting/custom_reporting.php: Moved PDF link.

        * operation/reporting/reporting_viewer_pdf.php: Moved to enterprise
        version.

        * godmode/agentes/agent_disk_conf_editor.php: Moved to enterprise
        version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1034 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-25 17:51:52 +00:00
guruevi 314782918a 2008-08-25 Evi Vanoost <vanooste@rcbi.rochester.edu>
* godmode/agentes/modificar_agente.php: Updated delete routine to 
        include a transaction. This way the database consistency is
        guaranteed in case a query causes a problem as follow up on Bugs 
        item #2073383. Also some style updates

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1033 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-25 15:47:03 +00:00
jorgonzalez cf2c624b1b 2008-08-25 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* include/languages/es.po: Updated Spanish translation.

        * include/languages/index.pot: Updated strings.

        * include/languages/es.mo: Updated Spanish translation.

        * godmode/reporting/graph_builder.php: Changed several hardcoded
          striings to make them translatable.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1032 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-25 13:18:29 +00:00
Esteban Sanchez 85f13f208c 2008-08-25 Esteban Sanchez <estebans@artica.es>
* images/help.png: Updated to a bigger image with more quality.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1031 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-25 09:01:05 +00:00
slerena 631f34eb33 2008-08-24 Sancho Lerena <slerena@gmail.com>
* include/functions_db.php: Fixed some warning messages
	due missing check before several foreachs.
	
	* index.php: Disabled development flag to detect config.

	* operation/agentes/networkmap.php: String too short for
	names, long IP address was being shortened.

	* operation/servers/view_server.php,
	operation/servers/view_server_detail.php
	godmode/servers/manage_recontask_form.php: Fixed some warnings
	and added proper message for empty screens.

	After this commit a beta1 package has been made.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1027 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-24 23:59:10 +00:00
slerena a1ccf34e56 2008-08-22 Sancho Lerena <slerena@gmail.com>
* Massive header update. We're now officially on Beta1.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1025 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-22 18:07:32 +00:00
slerena 404e43c9fc 2008-08-22 Sancho Lerena <slerena@gmail.com>
* pandoradb_data.sql: Removed data for locale, added for new 
	date string format.

	* include/functions_html.php: Deletion of table properties 
	after calling it makes a bad render on several pages that uses 
	some properties for other things (width).

	* include/functions_reporting.php: Added several checks to avoid
	notices.

	* include/config_process.php: Removed locale code. Added code for
	new datetime string format.

	* include/locale.class.php: Removed.

	* include/functions.php: pandora_help() was not returning correct output.
	Added format_datetime() function to render date / time strings in user
	defined format.

	* include/functions_db.php: Added check in get_monitors_down() to avoid
	notice in void foreach.

	* operation/incidents/incident_detail.php: Solved problem with attachments.

	* operation/users/user.php: Solved problem with old help_lang[] array.

	* operation/messages/message.php: Sime minor fixes and style improvements.

	* operation/servers/view_server.php: Remove description.

	* operation/servers/view_server_detail.php: Removed bad field retrieval 
	from database and added format_datetime().

	* reporting/fgraph.php: Fixed small problem in monitors_health_pipe().
	 (changed parameters).

	* general/footer.php: Updated use of new functions. 

	* general/header.php: Added blank spaces between icons and texts.

	* godmode/setup/setup.php: Management of new string format for datetime.

	* godmode/profiles/profile_list.php: Submit button now uses div instead 
	tables.

	* godmode/reporting/reporting_builder.php: Added check before foreach() to
	avoid notice warnings. Changed div for buttons.

	* godmode/reporting/map_builder.php: Fixed div for submit button.

	* godmode/servers/modificar_server.php: Fixed typo in SQL sentence. 
	Removed usage of not-used-now locale format functions. Alter legend to use
	a plain-formatted table to avoid background color in legend.

	* /en/help_date_format.php: Added help for date format string.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1023 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-22 14:28:00 +00:00
guruevi d3f93f9408 2008-08-22 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_html.php: Fixes the bug if the table is not unset by referencing & blanking out the object from within the function

        * godmode/servers/modificar_server.php: Removed the unset() since it isn't necessary anymore.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1022 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-22 12:53:20 +00:00
Esteban Sanchez 47e14f88b9 2008-08-21 Esteban Sanchez <estebans@artica.es>
* include/functions_html.php: Added an optional parameter to 
        print_input_text_extended() to allow password inputs. Replaced 
        print_input_password_extended() with print_input_password().

        * general/login_page.php: Replaced print_input_password_extended()
        with print_input_text_extended(). Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1021 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-21 21:57:11 +00:00
guruevi 3ac0eccf78 2008-08-21 Evi Vanoost <vanooste@rcbi.rochester.edu>
* index.php: Update HTML for unclosed tags and put everything in PHP
        Updated the HTTPS detection. Made sure the password doesn't get
        passed to other scripts (like 'evil' plugins)

        * include/functions_html.php: Added print_input_password_extended()

        * general/main_menu.php: Removed old code and header

        * general/login_page.php: Tried putting it in functions_html code but
        that didn't work (rowspan), so I just ended up with a smaller file and
        the input boxes getting printed

        * general/header.php: Updated to use functions_html

        * general/footer.php: Updated header and develop_bypass for the query
        counter

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1020 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-21 21:07:20 +00:00
slerena 5e653848b1 2008-08-21 Sancho Lerena <slerena@gmail.com>
* pandoradb*.sql: tplanned_downtime: Fixed a typo, changed timestamp 
	types, added executed field and removed id_agent_module.

	* manage_config.php:  (Problem copying keep_alive modules
	and alerts and solved bad message with no data supplied.

	* manage_config_remote.php: Solved BUG #2042788 Fixed, was missing 
	extension in filename check.

	* planned_downtime.php: Major rewrite. Now works with server model of
	planned downtimes based on select agents to disable in specific times.
	Using unixtime was a very nice idea, so the javascript controls are 
	fantastic to do this job!. Thanks Esteban and Evi!.

	* manage_recontask*: Some issues with styles, using new div for button.

	* modificar_server.php:  Some issues with styles, using new div for button

	* config.inc.php: By default, show errors, easy to debug first problems.

	* functions_db.php: Fixed problems detected in borrar_incidencia() function
	(this is delete_incident in spanish).

	* estado_agente.php: Added support to search by IP address in agent view.

	* networkmap.php: Regen on by default, Font label shortened.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1019 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-21 19:16:16 +00:00
guruevi ef16c37137 2008-08-20 Evi Vanoost <vanooste@rcbi.rochester.edu>
* godmode/profiles/profile_list.php: Update from yesterday. Fixes HTML generation.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1017 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-21 18:45:23 +00:00
guruevi 160c7ac3e3 2008-08-20 Evi Vanoost <vanooste@rcbi.rochester.edu>
* godmode/servers/modificar_server.php. 
        godmode/servers/manage_recontask_form.php, 
        godmode/servers/manage_recontask.php: HTML and SQL overhaul. Now uses 
        the new functions that are available in functions_html.php.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1016 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-21 16:57:37 +00:00
Esteban Sanchez 4c922ded73 2008-08-21 Esteban Sanchez <estebans@artica.es>
* general/pandora_help.php: Added a require of a functions file. Added
        missing HTML tags.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-21 14:13:58 +00:00
guruevi 54fcab7b74 2008-08-20 Evi Vanoost <vanooste@rcbi.rochester.edu
* godmode/profiles/profile_list.php: HTML overhaul (close tags, put
        brackets and quotes in the right places. Now uses new functions
        instead of the old ones

        * include/locale.class.php: Updated and added functions. See internals
        for updated functions. It now allows to put a translated array of
        languages, countries and currency instead of the built-in english one

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1014 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-20 18:25:08 +00:00
Esteban Sanchez 9651e272ca 2008-08-19 Esteban Sanchez <estebans@artica.es>
* include/locale.class.php: Fixes in Translate_Locale() to work
        properly. Tab style correction in all the file, use tabs instead of
        blankspaces.

        * godmode/setup/setup.php: Added locale configuration option.

        * pandoradb_data.sql: Added locale to tconfig.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1013 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-20 09:19:27 +00:00
Esteban Sanchez 620c16d59e 2008-08-19 Esteban Sanchez <estebans@artica.es>
* include/locale.class.php: Check $ENV["TMPDIR"] existance to avoid
        PHP errors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1012 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-20 08:17:52 +00:00
guruevi 20c7a00281 2008-08-19 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/locale.class.php: Locale class for number, time and money 
        formatting. Latest version, much corrections.

        * include/functions_db.php: HTML corrections (close tags)

        * include/config_process.php: Process $config['locale'] and init LOCALE 
        class. Still needs to be implemented in a "userspace" function 

        * general/footer.php: Updated footer to use locale class (not function) 
        to display the date and number. Just an example of the possibility


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1011 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-19 17:09:44 +00:00
Esteban Sanchez 5c730afad8 2008-08-18 Esteban Sanchez <estebans@artica.es>
* operation/menu.php: Fixes events submenu and link to CSV exporting.
        Style correction.

        * images/rss.png: Added to repository.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1010 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-18 15:12:20 +00:00
Esteban Sanchez 6d7ce4d60c 2008-08-12 Esteban Sanchez <estebans@artica.es>
* godmode/db/db_purge.php: Use print_help_tip() to show help tip.

        * godmode/profiles/profile_list.php: Use print_help_tip(). Removed
        deprecated $help_label.

        * godmode/users/configure_user.php: Better code to show user level
        radio buttons and help.

        * include/functions_db.php: Removed deprecated function
        load_lang_file().

        * operation/agentes/datos_agente.php, ajax.php,
        operation/reporting/reporting_viewer_pdf.php, reporting/stat_win.php,
        operation/agentes/exportdata.php: Removed inclusion of old
        language files.

        * include/languages/index.pot: Regenerated and added header.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1009 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-12 14:41:53 +00:00
guruevi 8ccc09bad8 2008-08-12 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/menu.php: Made short tag, normal tag

        * include/functions.php: Got rid of references to language files

        * godmode/servers/plugin.php: Made proper english

        * godmode/servers/manage_recontask.php: Made proper HTML

        * godmode/profiles/profile_list.php: Translation of help strings

        * godmode/agentes/manage_config_remote.php: Fixed typo that generated errors

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1008 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-12 14:15:42 +00:00