2009-11-22 Raul Mateos <raulofpandora@gmail.com>
* images/spinner.png, images/background-li.png: New images converted from gif. * *.php: Changed several files from spinner.gif to spinner.png. * extensions/update_manager/settings.php: Changed header. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2124 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
75d4a6eea9
commit
cb8aaf2fe5
|
@ -1,3 +1,12 @@
|
||||||
|
2009-11-22 Raul Mateos <raulofpandora@gmail.com>
|
||||||
|
|
||||||
|
* images/spinner.png, images/background-li.png: New images converted
|
||||||
|
from gif.
|
||||||
|
|
||||||
|
* *.php: Changed several files from spinner.gif to spinner.png.
|
||||||
|
|
||||||
|
* extensions/update_manager/settings.php: Changed header.
|
||||||
|
|
||||||
2009-11-21 Raul Mateos <raulofpandora@gmail.com>
|
2009-11-21 Raul Mateos <raulofpandora@gmail.com>
|
||||||
|
|
||||||
* godmode/alerts/alert_list.php, operation/events/events.php,
|
* godmode/alerts/alert_list.php, operation/events/events.php,
|
||||||
|
|
|
@ -36,7 +36,7 @@ if ($update_settings) {
|
||||||
|
|
||||||
$settings = um_db_load_settings ();
|
$settings = um_db_load_settings ();
|
||||||
|
|
||||||
echo '<h2>'.__('Update manager')." » ". __('Settings').'</h2>';
|
echo '<h2>'.__('Extensions'). " » ". __('Update manager').' - '. __('Settings').'</h2>';
|
||||||
echo '<form method="post">';
|
echo '<form method="post">';
|
||||||
|
|
||||||
$table->width = '95%';
|
$table->width = '95%';
|
||||||
|
|
|
@ -116,7 +116,7 @@ unset ($filter['offset']);
|
||||||
|
|
||||||
if (! is_ajax ()) {
|
if (! is_ajax ()) {
|
||||||
echo '<div id="agents_loading" class="loading invisible">';
|
echo '<div id="agents_loading" class="loading invisible">';
|
||||||
echo '<img src="images/spinner.gif" />';
|
echo '<img src="images/spinner.png" />';
|
||||||
echo __('Loading').'…';
|
echo __('Loading').'…';
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
}
|
}
|
||||||
|
|
|
@ -62,7 +62,7 @@ $table->data[0][1] = print_select ($groups, 'source_id_group', $source_id_group,
|
||||||
false, '', '', true);
|
false, '', '', true);
|
||||||
$table->data[0][2] = __('Agent');
|
$table->data[0][2] = __('Agent');
|
||||||
$table->data[0][2] .= ' <span id="source_agent_loading" class="invisible">';
|
$table->data[0][2] .= ' <span id="source_agent_loading" class="invisible">';
|
||||||
$table->data[0][2] .= print_image ("images/spinner.gif", true);
|
$table->data[0][2] .= print_image ("images/spinner.png", true);
|
||||||
$table->data[0][2] .= '</span>';
|
$table->data[0][2] .= '</span>';
|
||||||
$table->data[0][3] = print_select (get_group_agents ($source_id_group, false, "none"),
|
$table->data[0][3] = print_select (get_group_agents ($source_id_group, false, "none"),
|
||||||
'source_id_agent', $source_id_agent, false, __('Select'), 0, true);
|
'source_id_agent', $source_id_agent, false, __('Select'), 0, true);
|
||||||
|
@ -128,7 +128,7 @@ $table->data[2][1] .= '<em>'.__('No alerts for this agent').'</em>';
|
||||||
$table->data[2][1] .= '</span>';
|
$table->data[2][1] .= '</span>';
|
||||||
|
|
||||||
echo '<div id="modules_loading" class="loading invisible">';
|
echo '<div id="modules_loading" class="loading invisible">';
|
||||||
print_image ("images/spinner.gif");
|
print_image ("images/spinner.png");
|
||||||
echo __('Loading').'…';
|
echo __('Loading').'…';
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
||||||
|
@ -146,7 +146,7 @@ $table->data[0][1] = print_select ($groups, 'destiny_id_group', $destiny_id_grou
|
||||||
|
|
||||||
$table->data[1][0] = __('Agent');
|
$table->data[1][0] = __('Agent');
|
||||||
$table->data[1][0] .= '<span id="destiny_agent_loading" class="invisible">';
|
$table->data[1][0] .= '<span id="destiny_agent_loading" class="invisible">';
|
||||||
$table->data[1][0] .= print_image ("images/spinner.gif", true);
|
$table->data[1][0] .= print_image ("images/spinner.png", true);
|
||||||
$table->data[1][0] .= '</span>';
|
$table->data[1][0] .= '</span>';
|
||||||
$table->data[1][1] = print_select (get_group_agents ($destiny_id_group, false, "none"),
|
$table->data[1][1] = print_select (get_group_agents ($destiny_id_group, false, "none"),
|
||||||
'destiny_id_agent[]', 0, false, '', '', true, true);
|
'destiny_id_agent[]', 0, false, '', '', true, true);
|
||||||
|
|
|
@ -87,7 +87,7 @@ $table->data[0][1] = print_select ($groups, 'id_group', $id_group,
|
||||||
|
|
||||||
$table->data[1][0] = __('Agents');
|
$table->data[1][0] = __('Agents');
|
||||||
$table->data[1][0] .= '<span id="agent_loading" class="invisible">';
|
$table->data[1][0] .= '<span id="agent_loading" class="invisible">';
|
||||||
$table->data[1][0] .= '<img src="images/spinner.gif" />';
|
$table->data[1][0] .= '<img src="images/spinner.png" />';
|
||||||
$table->data[1][0] .= '</span>';
|
$table->data[1][0] .= '</span>';
|
||||||
$table->data[1][1] = print_select (get_group_agents ($id_group, false, "none"),
|
$table->data[1][1] = print_select (get_group_agents ($id_group, false, "none"),
|
||||||
'id_agents[]', 0, false, '', '', true, true);
|
'id_agents[]', 0, false, '', '', true, true);
|
||||||
|
|
|
@ -105,7 +105,7 @@ $table->data[1][1] = print_select ($groups, 'id_group', $id_group,
|
||||||
|
|
||||||
$table->data[2][0] = __('Agent');
|
$table->data[2][0] = __('Agent');
|
||||||
$table->data[2][0] .= '<span id="agent_loading" class="invisible">';
|
$table->data[2][0] .= '<span id="agent_loading" class="invisible">';
|
||||||
$table->data[2][0] .= '<img src="images/spinner.gif" />';
|
$table->data[2][0] .= '<img src="images/spinner.png" />';
|
||||||
$table->data[2][0] .= '</span>';
|
$table->data[2][0] .= '</span>';
|
||||||
$agents_alerts = get_agents_with_alert_template ($id_alert_template, $id_group,
|
$agents_alerts = get_agents_with_alert_template ($id_alert_template, $id_group,
|
||||||
false, array ('tagente.nombre', 'tagente.id_agente'));
|
false, array ('tagente.nombre', 'tagente.id_agente'));
|
||||||
|
|
|
@ -108,7 +108,7 @@ $table->data[1][1] = print_select ($groups, 'id_group', $id_group,
|
||||||
|
|
||||||
$table->data[2][0] = __('Agent');
|
$table->data[2][0] = __('Agent');
|
||||||
$table->data[2][0] .= '<span id="agent_loading" class="invisible">';
|
$table->data[2][0] .= '<span id="agent_loading" class="invisible">';
|
||||||
$table->data[2][0] .= '<img src="images/spinner.gif" />';
|
$table->data[2][0] .= '<img src="images/spinner.png" />';
|
||||||
$table->data[2][0] .= '</span>';
|
$table->data[2][0] .= '</span>';
|
||||||
$agents = get_agents_with_module_name ($module_name, $id_group,
|
$agents = get_agents_with_module_name ($module_name, $id_group,
|
||||||
array ('delete_pending' => 0,
|
array ('delete_pending' => 0,
|
||||||
|
|
|
@ -142,7 +142,7 @@ foreach ($module_types as $type) {
|
||||||
$table->data = array ();
|
$table->data = array ();
|
||||||
$table->data[0][0] = __('Module type');
|
$table->data[0][0] = __('Module type');
|
||||||
$table->data[0][0] .= '<span id="module_loading" class="invisible">';
|
$table->data[0][0] .= '<span id="module_loading" class="invisible">';
|
||||||
$table->data[0][0] .= '<img src="images/spinner.gif" />';
|
$table->data[0][0] .= '<img src="images/spinner.png" />';
|
||||||
$table->data[0][0] .= '</span>';
|
$table->data[0][0] .= '</span>';
|
||||||
$table->data[0][1] = print_select ($types,
|
$table->data[0][1] = print_select ($types,
|
||||||
'module_type', $module_type, false, __('Select'), 0, true, false, false);
|
'module_type', $module_type, false, __('Select'), 0, true, false, false);
|
||||||
|
|
|
@ -80,7 +80,7 @@ function add_component_selection ($id_network_component_type) {
|
||||||
'---'.__('Manual setup').'---', 0, true);
|
'---'.__('Manual setup').'---', 0, true);
|
||||||
$data[1] .= '</span>';
|
$data[1] .= '</span>';
|
||||||
$data[1] .= ' <span id="component_loading" class="invisible">';
|
$data[1] .= ' <span id="component_loading" class="invisible">';
|
||||||
$data[1] .= '<img src="images/spinner.gif" />';
|
$data[1] .= '<img src="images/spinner.png" />';
|
||||||
$data[1] .= '</span>';
|
$data[1] .= '</span>';
|
||||||
|
|
||||||
$table_simple->colspan['module_component'][1] = 3;
|
$table_simple->colspan['module_component'][1] = 3;
|
||||||
|
|
|
@ -61,7 +61,7 @@ $data[1] .= '<img src="images/edit.png" class="invisible clickable" id="edit_oid
|
||||||
$data[1] .= '</span>';
|
$data[1] .= '</span>';
|
||||||
$data[1] .= '<span id="no_snmp" class="error invisible">'.__('Unable to do SNMP walk').'</span>';
|
$data[1] .= '<span id="no_snmp" class="error invisible">'.__('Unable to do SNMP walk').'</span>';
|
||||||
$data[1] .= '</span> <span class="right" style="width: 50%; text-align: right"><span id="oid_loading" class="invisible">';
|
$data[1] .= '</span> <span class="right" style="width: 50%; text-align: right"><span id="oid_loading" class="invisible">';
|
||||||
$data[1] .= '<img src="images/spinner.gif" />';
|
$data[1] .= '<img src="images/spinner.png" />';
|
||||||
$data[1] .= '</span>';
|
$data[1] .= '</span>';
|
||||||
$data[1] .= print_button (__('SNMP walk'), 'snmp_walk', $ip_target == '', '',
|
$data[1] .= print_button (__('SNMP walk'), 'snmp_walk', $ip_target == '', '',
|
||||||
'class="sub next"', true);
|
'class="sub next"', true);
|
||||||
|
|
|
@ -34,13 +34,13 @@ $data[1] = '<label for="prediction_id_group">'.__('Group').'</label>';
|
||||||
$data[1] .= print_select ($groups, 'prediction_id_group', $prediction_id_group, '',
|
$data[1] .= print_select ($groups, 'prediction_id_group', $prediction_id_group, '',
|
||||||
'', '', true);
|
'', '', true);
|
||||||
$data[1] .= ' <span id="agent_loading" class="invisible">';
|
$data[1] .= ' <span id="agent_loading" class="invisible">';
|
||||||
$data[1] .= '<img src="images/spinner.gif" />';
|
$data[1] .= '<img src="images/spinner.png" />';
|
||||||
$data[1] .= '</span>';
|
$data[1] .= '</span>';
|
||||||
$data[1] .= '<label for="prediction_id_agent">'.__('Agent').'</label>';
|
$data[1] .= '<label for="prediction_id_agent">'.__('Agent').'</label>';
|
||||||
$data[1] .= print_select ($agents, 'prediction_id_agent', $prediction_id_agent, '',
|
$data[1] .= print_select ($agents, 'prediction_id_agent', $prediction_id_agent, '',
|
||||||
'', '', true);
|
'', '', true);
|
||||||
$data[1] .= ' <span id="module_loading" class="invisible">';
|
$data[1] .= ' <span id="module_loading" class="invisible">';
|
||||||
$data[1] .= '<img src="images/spinner.gif" />';
|
$data[1] .= '<img src="images/spinner.png" />';
|
||||||
$data[1] .= '</span>';
|
$data[1] .= '</span>';
|
||||||
$data[1] .= '<label for="prediction_module">'.__('Module').'</label>';
|
$data[1] .= '<label for="prediction_module">'.__('Module').'</label>';
|
||||||
$data[1] .= print_select ($modules, 'prediction_module', $prediction_module, '',
|
$data[1] .= print_select ($modules, 'prediction_module', $prediction_module, '',
|
||||||
|
|
|
@ -97,7 +97,7 @@ $table->data[0][1] = print_select ($groups, 'id_group', $id_group, false, '',
|
||||||
'', true);
|
'', true);
|
||||||
$table->data[0][2] = __('Agent');
|
$table->data[0][2] = __('Agent');
|
||||||
$table->data[0][2] .= ' <span id="agent_loading" class="invisible">';
|
$table->data[0][2] .= ' <span id="agent_loading" class="invisible">';
|
||||||
$table->data[0][2] .= '<img src="images/spinner.gif" />';
|
$table->data[0][2] .= '<img src="images/spinner.png" />';
|
||||||
$table->data[0][2] .= '</span>';
|
$table->data[0][2] .= '</span>';
|
||||||
$table->data[0][3] = print_select ($agents, 'id_agent', $id_agent, false,
|
$table->data[0][3] = print_select ($agents, 'id_agent', $id_agent, false,
|
||||||
__('All'), 0, true);
|
__('All'), 0, true);
|
||||||
|
|
|
@ -501,7 +501,7 @@ $table->data[0][1] = print_select ($modules, 'id_agent_module', 0, true,
|
||||||
$table->data[0][1] .= ' <span id="latest_value" class="invisible">'.__('Latest value').': ';
|
$table->data[0][1] .= ' <span id="latest_value" class="invisible">'.__('Latest value').': ';
|
||||||
$table->data[0][1] .= '<span id="value"> </span></span>';
|
$table->data[0][1] .= '<span id="value"> </span></span>';
|
||||||
$table->data[0][1] .= ' <span id="module_loading" class="invisible">';
|
$table->data[0][1] .= ' <span id="module_loading" class="invisible">';
|
||||||
$table->data[0][1] .= '<img src="images/spinner.gif" /></span>';
|
$table->data[0][1] .= '<img src="images/spinner.png" /></span>';
|
||||||
|
|
||||||
$table->data[1][0] = __('Template');
|
$table->data[1][0] = __('Template');
|
||||||
$templates = get_alert_templates (false, array ('id', 'name'));
|
$templates = get_alert_templates (false, array ('id', 'name'));
|
||||||
|
@ -517,7 +517,7 @@ $actions = array ('0' => __('None'));
|
||||||
$table->data[2][1] = '<div class="actions_container">';
|
$table->data[2][1] = '<div class="actions_container">';
|
||||||
$table->data[2][1] = print_select($actions,'action_select','','','','',true);
|
$table->data[2][1] = print_select($actions,'action_select','','','','',true);
|
||||||
$table->data[2][1] .= ' <span id="action_loading" class="invisible">';
|
$table->data[2][1] .= ' <span id="action_loading" class="invisible">';
|
||||||
$table->data[2][1] .= '<img src="images/spinner.gif" /></span>';
|
$table->data[2][1] .= '<img src="images/spinner.png" /></span>';
|
||||||
$table->data[2][1] .= ' <span id="advanced_action" class="advanced_actions invisible">';
|
$table->data[2][1] .= ' <span id="advanced_action" class="advanced_actions invisible">';
|
||||||
$table->data[2][1] .= __('From').' ';
|
$table->data[2][1] .= __('From').' ';
|
||||||
$table->data[2][1] .= print_input_text ('fires_min', '', '', 4, 10, true);
|
$table->data[2][1] .= print_input_text ('fires_min', '', '', 4, 10, true);
|
||||||
|
|
|
@ -540,12 +540,12 @@ if ($step == 1) {
|
||||||
$table->data[0][3] = print_select (get_group_agents ($id_group, false, "none"),
|
$table->data[0][3] = print_select (get_group_agents ($id_group, false, "none"),
|
||||||
'search_id_agent', $id_agent, false, __('Select'), 0, true);
|
'search_id_agent', $id_agent, false, __('Select'), 0, true);
|
||||||
$table->data[0][3] .= '<span id="agent_loading" class="invisible">';
|
$table->data[0][3] .= '<span id="agent_loading" class="invisible">';
|
||||||
$table->data[0][3] .= '<img src="images/spinner.gif" />';
|
$table->data[0][3] .= '<img src="images/spinner.png" />';
|
||||||
$table->data[0][3] .= '</span>';
|
$table->data[0][3] .= '</span>';
|
||||||
|
|
||||||
print_table ($table);
|
print_table ($table);
|
||||||
echo '<div id="alerts_loading" class="loading invisible">';
|
echo '<div id="alerts_loading" class="loading invisible">';
|
||||||
echo '<img src="images/spinner.gif" />';
|
echo '<img src="images/spinner.png" />';
|
||||||
echo __('Loading').'…';
|
echo __('Loading').'…';
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 38 B |
Binary file not shown.
After Width: | Height: | Size: 112 B |
Binary file not shown.
Before Width: | Height: | Size: 673 B |
Binary file not shown.
After Width: | Height: | Size: 266 B |
Loading…
Reference in New Issue