Added help tip to percentage token
This commit is contained in:
parent
54755db59b
commit
136ad128f9
|
@ -463,6 +463,7 @@ $table_simple->data[2][1] .= '</div>';
|
||||||
if (modules_is_string_type($id_module_type) === false) {
|
if (modules_is_string_type($id_module_type) === false) {
|
||||||
$table_simple->data[2][1] .= '<div id="percentage_warning"><em>'.__('Percentage').'</em>';
|
$table_simple->data[2][1] .= '<div id="percentage_warning"><em>'.__('Percentage').'</em>';
|
||||||
$table_simple->data[2][1] .= html_print_checkbox('percentage_warning', 1, $percentage_warning, true, $disabledBecauseInPolicy);
|
$table_simple->data[2][1] .= html_print_checkbox('percentage_warning', 1, $percentage_warning, true, $disabledBecauseInPolicy);
|
||||||
|
$table_simple->data[2][1] .= ui_print_help_tip('Defines threshold as a percentage of value decrease/increment', true);
|
||||||
$table_simple->data[2][1] .= '</div>';
|
$table_simple->data[2][1] .= '</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -523,6 +524,7 @@ $table_simple->data[3][1] .= '</div>';
|
||||||
|
|
||||||
if (modules_is_string_type($id_module_type) === false) {
|
if (modules_is_string_type($id_module_type) === false) {
|
||||||
$table_simple->data[3][1] .= '<div id="percentage_critical" /><em>'.__('Percentage').'</em>';
|
$table_simple->data[3][1] .= '<div id="percentage_critical" /><em>'.__('Percentage').'</em>';
|
||||||
|
$table_simple->data[3][1] .= ui_print_help_tip('Defines threshold as a percentage of value decrease/increment', true);
|
||||||
$table_simple->data[3][1] .= html_print_checkbox('percentage_critical', 1, $percentage_critical, true, $disabledBecauseInPolicy);
|
$table_simple->data[3][1] .= html_print_checkbox('percentage_critical', 1, $percentage_critical, true, $disabledBecauseInPolicy);
|
||||||
$table_simple->data[3][1] .= '</div>';
|
$table_simple->data[3][1] .= '</div>';
|
||||||
}
|
}
|
||||||
|
|
|
@ -616,6 +616,8 @@ $table->data['edit1'][1] = '<table width="100%">';
|
||||||
$table->data['edit1'][1] .= '<tr>';
|
$table->data['edit1'][1] .= '<tr>';
|
||||||
$table->data['edit1'][1] .= '<td>';
|
$table->data['edit1'][1] .= '<td>';
|
||||||
$table->data['edit1'][1] .= '<em>'.__('Percentage').'</em>';
|
$table->data['edit1'][1] .= '<em>'.__('Percentage').'</em>';
|
||||||
|
$table->data['edit1'][1] .= ui_print_help_tip('Defines threshold as a percentage of value decrease/increment', true);
|
||||||
|
|
||||||
$table->data['edit1'][1] .= '</td>';
|
$table->data['edit1'][1] .= '</td>';
|
||||||
$table->data['edit1'][1] .= '<td align="right">';
|
$table->data['edit1'][1] .= '<td align="right">';
|
||||||
$table->data['edit1'][1] .= html_print_select(
|
$table->data['edit1'][1] .= html_print_select(
|
||||||
|
@ -706,6 +708,7 @@ $table->data['edit1'][1] = '<table width="100%">';
|
||||||
$table->data['edit1'][3] .= '<tr>';
|
$table->data['edit1'][3] .= '<tr>';
|
||||||
$table->data['edit1'][3] .= '<td>';
|
$table->data['edit1'][3] .= '<td>';
|
||||||
$table->data['edit1'][3] .= '<em>'.__('Percentage').'</em>';
|
$table->data['edit1'][3] .= '<em>'.__('Percentage').'</em>';
|
||||||
|
$table->data['edit1'][3] .= ui_print_help_tip('Defines threshold as a percentage of value decrease/increment', true);
|
||||||
$table->data['edit1'][3] .= '</td>';
|
$table->data['edit1'][3] .= '</td>';
|
||||||
$table->data['edit1'][3] .= '<td align="right">';
|
$table->data['edit1'][3] .= '<td align="right">';
|
||||||
$table->data['edit1'][3] .= html_print_select(
|
$table->data['edit1'][3] .= html_print_select(
|
||||||
|
|
|
@ -192,6 +192,7 @@ $table->data[4][1] .= html_print_checkbox('warning_inverse', 1, $warning_inverse
|
||||||
$table->data[4][1] .= '</div>';
|
$table->data[4][1] .= '</div>';
|
||||||
|
|
||||||
$table->data[4][1] .= '<div id="percentage_warning"><em>'.__('Percentage').'</em>';
|
$table->data[4][1] .= '<div id="percentage_warning"><em>'.__('Percentage').'</em>';
|
||||||
|
$table->data[4][1] .= ui_print_help_tip('Defines threshold as a percentage of value decrease/increment', true);
|
||||||
$table->data[4][1] .= html_print_checkbox('percentage_warning', 1, $percentage_warning, true);
|
$table->data[4][1] .= html_print_checkbox('percentage_warning', 1, $percentage_warning, true);
|
||||||
$table->data[4][1] .= '</div>';
|
$table->data[4][1] .= '</div>';
|
||||||
|
|
||||||
|
@ -232,6 +233,7 @@ $table->data[5][1] .= html_print_checkbox('critical_inverse', 1, $critical_inver
|
||||||
$table->data[5][1] .= '</div>';
|
$table->data[5][1] .= '</div>';
|
||||||
|
|
||||||
$table->data[5][1] .= '<div id="percentage_critical"><em>'.__('Percentage').'</em>';
|
$table->data[5][1] .= '<div id="percentage_critical"><em>'.__('Percentage').'</em>';
|
||||||
|
$table->data[5][1] .= ui_print_help_tip('Defines threshold as a percentage of value decrease/increment', true);
|
||||||
$table->data[5][1] .= html_print_checkbox('percentage_critical', 1, $percentage_critical, true);
|
$table->data[5][1] .= html_print_checkbox('percentage_critical', 1, $percentage_critical, true);
|
||||||
$table->data[5][1] .= '</div>';
|
$table->data[5][1] .= '</div>';
|
||||||
|
|
||||||
|
|
|
@ -394,6 +394,7 @@ $data[1] .= html_print_checkbox('warning_inverse', 1, $warning_inverse, true);
|
||||||
$data[1] .= '</div>';
|
$data[1] .= '</div>';
|
||||||
|
|
||||||
$data[1] .= '<div id="percentage_warning"><em>'.__('Percentage').'</em> ';
|
$data[1] .= '<div id="percentage_warning"><em>'.__('Percentage').'</em> ';
|
||||||
|
$data[1] .= ui_print_help_tip('Defines threshold as a percentage of value decrease/increment', true);
|
||||||
$data[1] .= html_print_checkbox('percentage_warning', 1, $percentage_warning, true);
|
$data[1] .= html_print_checkbox('percentage_warning', 1, $percentage_warning, true);
|
||||||
$data[1] .= '</div>';
|
$data[1] .= '</div>';
|
||||||
|
|
||||||
|
@ -435,6 +436,7 @@ $data[1] .= html_print_checkbox('critical_inverse', 1, $critical_inverse, true);
|
||||||
$data[1] .= '</div>';
|
$data[1] .= '</div>';
|
||||||
|
|
||||||
$data[1] .= '<Ddiv id="percentage_critical"><em>'.__('Percentage').'</em> ';
|
$data[1] .= '<Ddiv id="percentage_critical"><em>'.__('Percentage').'</em> ';
|
||||||
|
$data[1] .= ui_print_help_tip('Defines threshold as a percentage of value decrease/increment', true);
|
||||||
$data[1] .= html_print_checkbox('percentage_critical', 1, $percentage_critical, true);
|
$data[1] .= html_print_checkbox('percentage_critical', 1, $percentage_critical, true);
|
||||||
$data[1] .= '</div>';
|
$data[1] .= '</div>';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue