Disable in the code the get total alerts in the main search. TICKET: #3126
This commit is contained in:
parent
50047bd4fb
commit
66ce615a2e
|
@ -55,9 +55,14 @@ $table->data[0][1] = "<a href='index.php?search_category=agents&keywords=" . $co
|
|||
$table->data[0][2] = html_print_image ("images/module.png", true, array ("title" => __('Modules found')));
|
||||
$table->data[0][3] = "<a href='index.php?search_category=modules&keywords=" . $config['search_keywords'] . "&head_search_keywords=Search'>" .
|
||||
sprintf(__("%s Found"), $totalModules) . "</a>";
|
||||
$table->data[0][4] = html_print_image ("images/bell.png", true, array ("title" => __('Alerts found')));
|
||||
$table->data[0][5] = "<a href='index.php?search_category=alerts&keywords=" . $config['search_keywords'] . "&head_search_keywords=Search'>" .
|
||||
sprintf(__("%s Found"), $totalAlerts) . "</a>";
|
||||
|
||||
// ------------------- DISABLED FOR SOME INSTALLATIONS------------------
|
||||
|
||||
//~ $table->data[0][4] = html_print_image ("images/bell.png", true, array ("title" => __('Alerts found')));
|
||||
//~ $table->data[0][5] = "<a href='index.php?search_category=alerts&keywords=" . $config['search_keywords'] . "&head_search_keywords=Search'>" .
|
||||
//~ sprintf(__("%s Found"), $totalAlerts) . "</a>";
|
||||
// ---------------------------------------------------------------------
|
||||
|
||||
$table->data[0][6] = html_print_image ("images/input_user.png", true, array ("title" => __('Users found')));
|
||||
$table->data[0][7] = "<a href='index.php?search_category=users&keywords=" . $config['search_keywords'] . "&head_search_keywords=Search'>" .
|
||||
sprintf(__("%s Found"), $totalUsers) . "</a>";
|
||||
|
|
|
@ -169,7 +169,13 @@ switch ($searchTab) {
|
|||
require_once('search_agents.getdata.php');
|
||||
require_once('search_agents.php');
|
||||
require_once('search_users.getdata.php');
|
||||
require_once('search_alerts.getdata.php');
|
||||
|
||||
// ------------------- DISABLED FOR SOME INSTALLATIONS----------
|
||||
|
||||
//~ require_once('search_alerts.getdata.php');
|
||||
|
||||
// -------------------------------------------------------------
|
||||
|
||||
require_once('search_graphs.getdata.php');
|
||||
require_once('search_reports.getdata.php');
|
||||
require_once('search_maps.getdata.php');
|
||||
|
|
Loading…
Reference in New Issue