mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
Added loaded filter name to active filters view
This commit is contained in:
parent
9354e845f7
commit
19fab5d96b
@ -613,19 +613,6 @@ $data[0] .= '<a href="javascript:" onclick="show_load_filter_dialog();">' .
|
|||||||
html_print_image("images/load.png", true, array("border" => '0', "title" => __('Load filter'), "alt" => __('Load filter'))) . '</a> ';
|
html_print_image("images/load.png", true, array("border" => '0', "title" => __('Load filter'), "alt" => __('Load filter'))) . '</a> ';
|
||||||
$data[0] .= '<a id="events_graph_link" href="javascript: show_events_graph_dialog()">' .
|
$data[0] .= '<a id="events_graph_link" href="javascript: show_events_graph_dialog()">' .
|
||||||
html_print_image('images/chart_curve.png', true, array('title' => __('Show events graph'))) . '</a> <br />';
|
html_print_image('images/chart_curve.png', true, array('title' => __('Show events graph'))) . '</a> <br />';
|
||||||
|
|
||||||
|
|
||||||
if (empty($id_name)) {
|
|
||||||
$data[0] .= '<div id="filter_loaded_span" style="font-weight: normal">[' .
|
|
||||||
__('No filter loaded') .
|
|
||||||
']</div>';
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
$data[0] .= '<div id="filter_loaded_span" style="font-weight: normal">[' .
|
|
||||||
__('Filter loaded') . ': ' . $id_name .
|
|
||||||
']</div>';
|
|
||||||
}
|
|
||||||
|
|
||||||
$data[0] .= '</div>';
|
$data[0] .= '</div>';
|
||||||
|
|
||||||
|
|
||||||
@ -725,6 +712,9 @@ elseif ($group_rep == 2) {
|
|||||||
$history);
|
$history);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$filter_resume['title'] = empty($id_name)
|
||||||
|
? __('No filter loaded')
|
||||||
|
: __('Filter loaded') . ': ' . $id_name;
|
||||||
// Active filter tag view call (only enterprise version)
|
// Active filter tag view call (only enterprise version)
|
||||||
// It is required to pass some references to enterprise function
|
// It is required to pass some references to enterprise function
|
||||||
// to translate the active filters
|
// to translate the active filters
|
||||||
|
Loading…
x
Reference in New Issue
Block a user