2009-11-21 Raul Mateos <raulofpandora@gmail.com>

* godmode/alerts/alert_list.php, operation/events/events.php,
	operation/snmpconsole/snmp_view.php: Use down icon instead wand icon, 
	due to wand is reserved for creation purposes.

	* godmode/agentes/module_manager_editor.php: Added header and down icon.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2122 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
raulmateos 2009-11-21 14:39:04 +00:00
parent 4cff6115e5
commit 037d2461ee
4 changed files with 9 additions and 7 deletions

View File

@ -227,9 +227,11 @@ default:
} }
} }
echo "<h2>".__('Agent configuration')." &raquo; ".__('Modules')."</h2>";
echo '<h3>'.__('Module assignment'); echo '<h3>'.__('Module assignment');
if (isset ($extra_title)) if (isset ($extra_title))
echo ' &raquo; '.$extra_title; echo ' - '.$extra_title;
echo '</h3>'; echo '</h3>';
echo '<h3 id="message" class="error invisible"></h3>'; echo '<h3 id="message" class="error invisible"></h3>';
@ -237,9 +239,9 @@ echo '<h3 id="message" class="error invisible"></h3>';
echo '<form method="post" id="module_form">'; echo '<form method="post" id="module_form">';
print_table ($table_simple); print_table ($table_simple);
echo '<a href="#" id="show_advanced" onclick="$(\'div#advanced\').show ();$(this).remove (); return false">'; echo '<b><a href="#" id="show_advanced" onclick="$(\'div#advanced\').show ();$(this).remove (); return false">';
echo __('Advanced options').' &raquo;'; echo __('Advanced options').'&nbsp;' .print_image ("images/down.png", true, array ("title" => __('Advanced options')));
echo '</a>'; echo '</a></b>';
echo '<div id="advanced" style="display: none">'; echo '<div id="advanced" style="display: none">';
print_table ($table_advanced); print_table ($table_advanced);

View File

@ -198,7 +198,7 @@ if ($id_agente) {
$agents = get_group_agents (array_keys ($groups), false, "none"); $agents = get_group_agents (array_keys ($groups), false, "none");
} }
echo '<a href="#" id="tgl_alert_control"><b>'.__('Alert control filter').'</b>&nbsp;'.print_image ("images/wand.png", true, array ("title" => __('Toggle filter(s)'))).'</a><br><br>'; echo '<a href="#" id="tgl_alert_control"><b>'.__('Alert control filter').'</b>&nbsp;'.print_image ("images/down.png", true, array ("title" => __('Toggle filter(s)'))).'</a><br><br>';
$templateName = get_parameter('template_name',''); $templateName = get_parameter('template_name','');
$moduleName = get_parameter('module_name',''); $moduleName = get_parameter('module_name','');

View File

@ -211,7 +211,7 @@ if ($config["pure"] == 1) {
echo "</h2>"; echo "</h2>";
//Link to toggle filter //Link to toggle filter
echo '<a href="#" id="tgl_event_control"><b>'.__('Event control filter').'</b>&nbsp;'.print_image ("images/wand.png", true, array ("title" => __('Toggle filter(s)'))).'</a>'; echo '<a href="#" id="tgl_event_control"><b>'.__('Event control filter').'</b>&nbsp;'.print_image ("images/down.png", true, array ("title" => __('Toggle filter(s)'))).'</a><br><br>';
//Start div //Start div
echo '<div id="event_control" style="display:none">'; echo '<div id="event_control" style="display:none">';

View File

@ -119,7 +119,7 @@ if (empty ($traps)) {
} }
// Toggle filters // Toggle filters
echo '<a href="#" onmousedown="toggleDiv(\'filters\');"><b>'.__('Toggle filter(s)').'</b>&nbsp;<img src="images/wand.png" /></a>'; echo '<a href="#" onmousedown="toggleDiv(\'filters\');"><b>'.__('Toggle filter(s)').'</b>&nbsp;<img src="images/down.png" /></a>';
echo '<form method="POST" action="index.php?sec=snmpconsole&sec2=operation/snmpconsole/snmp_view&refr='.$config["refr"].'&pure='.$config["pure"].'">'; echo '<form method="POST" action="index.php?sec=snmpconsole&sec2=operation/snmpconsole/snmp_view&refr='.$config["refr"].'&pure='.$config["pure"].'">';
$table->width = '90%'; $table->width = '90%';