* include/javascript/jquery.pandora.controls.js: Changed agent and
module selector to allow any kind of object instead of only an id.
Tiny changes to allow multiple elements in a page.
* include/functions_html.php: Added a separator for duplicated select
elements (it's useful sometimes to get this number with javascript and
using a separator helps)
* godmode/agentes/manage_delete.php,
godmode/agentes/manage_config.php: Fixed agent and group selector to
fits changes in pandora.controls.js.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1475 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/alert_manager.php: Removed from repository. Agent
alerts manager is now done in alerts/alert_list.php
* godmode/agentes/manage_config.php, godmode/alerts/configure_alert,
godmode/agentes/configurar_agente.php: Use alerts/alert_list.php
instead of deleted agentes/alert_manager.php.
* godmode/alerts/alert_list.php: It can handle now a list of agents or
be included by configurar_agente. Now it's a single page to manage all
the alerts defined in agents.
* godmode/reporting/map_builder.php: Javascript style correction.
* include/javascript/jquery.pandora.controls.js: Added
pandoraSelectAgent which allows the loading of a module list from an
agent list.
* include/styles/pandora.css: Styles for alert_list.
* include/functions_agents.php: Added options to
get_agent_alerts_compound() and get_agent_alerts_simple() to add extra
user filtering.
* pandoradb.sql, pandoradb_migrate_20_to_21.sql,
include/functions_alerts.php: Actions in an alert module has now id or
they cannot be removed.
* include/functions_db.php: format_array_to_where_clause_sql() can now
get limit and offset values.
* include/functions_html.php: Removed select- prefix to print_select
elements because it was breaking javascript code. Needs more works on
that.
* operation/agentes/estado_agente.php: Added
get_agent_module_last_value AJAX operation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1466 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/jquery.pandora.controls.js: Added to repository.
New file to hold all common jQuery Pandora operations. Currently it
holds a generic process to loads a list of agents from a group
dropdown menu.
* godmode/agentes/manage_config.php: Loading spinners moved next to
the label because it was causing some ugly flickers due to 100%
width elements. Use code from jquery.pandora.controls.js.
* godmode/alerts/alert_compounds.php: Rewritten to be more user
friendly. Filtering is now possible. New operations like
enable/disable or delete are now available.
* include/styles/pandora.css: Added style for alert_compounds.php.
* include/functions.php: Make offset parameter optional in
pagination(). Style correction.
* include/functions_alerts.php: Added delete_alert_compound().
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1460 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f