Change label to filter by text and add toltip help. Tiquet: #2589

This commit is contained in:
m-lopez-f 2015-08-18 16:55:59 +02:00
parent 27e5bfc43d
commit 4e090e20a6
5 changed files with 8 additions and 6 deletions

View File

@ -488,7 +488,8 @@ foreach ($component_groups as $component_group_key => $component_group_val) {
$table->data[0][1] = html_print_select ($component_groups,
'search_id_group', $search_id_group, '', __('All'), 0, true, false, false);
$table->data[0][2] = __('Search');
$table->data[0][2] = __('Free Search') . ui_print_help_tip(
__('Search by name, description, tcp send or tcp rcv, list matches.'),true);
$table->data[0][3] = html_print_input_text ('search_string', $search_string, '', 25,
255, true);
if(defined("METACONSOLE"))

View File

@ -380,7 +380,8 @@ switch ($action) {
$table_aux->data[0][1] = html_print_select_groups(false, "AR", true, 'id_group', $id_group, '', '', '', true, false, true, '', false, 'width:150px', false, false, 'id_grupo', $strict_user). '<br>';
$table_aux->data[0][2] = "<b>". __("Free text for search: ") . "</b>";
$table_aux->data[0][2] = "<b>". __("Free text for search: ") . ui_print_help_tip(
__('Search by report name or description, list matches.'),true) . "</b>";
$table_aux->data[0][3] = html_print_input_text ("search", $search, '', 30, '', true);
$table_aux->data[0][6] = html_print_submit_button(__('Search'), 'search_submit', false, 'class="sub upd"', true);

View File

@ -525,8 +525,6 @@ foreach ($agents as $agent) {
$data[0] .= '</span>';
$data[0] .= '<div class="agentleft_' . $agent["id_agente"] . '" style="visibility: hidden; clear: left;">';
$data[0] .= '<a href="index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente='.$agent["id_agente"].'">'.__('View').'</a>';
$data[0] .= ' | ';
$data[0] .= '<a href="index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente='.$agent["id_agente"].'&tab=data">'.__('Data').'</a>';
if (check_acl ($config['id_user'], $agent["id_grupo"], "AW")) {
$data[0] .= ' | ';
$data[0] .= '<a href="index.php?sec=gagente&amp;sec2=godmode/agentes/configurar_agente&amp;id_agente='.$agent["id_agente"].'">'.__('Edit').'</a>';

View File

@ -431,7 +431,8 @@ function print_form_filter_monitors($id_agent, $status_filter_monitor = -1,
'status_filter_monitor', $status_filter_monitor, '', '', 0,
true);
$table->data[0][2] = __('Free text for search (*):');
$table->data[0][2] = __('Free text for search (*):') . ui_print_help_tip(
__('Search by module name, list matches.'),true);
$table->data[0][3] = html_print_input_text('status_text_monitor', $status_text_monitor, '', 30, 100, true);
$table->data[0][4] = __('Module group');

View File

@ -278,7 +278,8 @@ if ($count_total >= 1) {
//echo "&nbsp;&nbsp;&nbsp;&nbsp;";
echo '</td></tr><tr><td colspan=3>';
echo "<b>" . __("Free text:") . "</b>" . '&nbsp;&nbsp;';
echo "<b>" . __("Free text:") . "</b>". ui_print_help_tip(
__('Search by incident name or description, list matches.'),true) . '&nbsp;&nbsp;';
html_print_input_text ('texto', $texto, '', 45);
echo '&nbsp;';
html_print_input_image ("submit", "images/zoom.png", __('Search'), 'padding:0;', false, array ("alt" => __('Search')));