Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
Merge 0fc0582 into 2e993f7
Browse files Browse the repository at this point in the history
  • Loading branch information
Walid Nouh committed Feb 27, 2017
2 parents 2e993f7 + 0fc0582 commit 6acef52
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion front/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@
Html::header(__('FusionInventory', 'fusioninventory'), $_SERVER["PHP_SELF"], "plugins",
"pluginfusioninventorymenu", "menu");

//TODO : in GLPI 9.2, to replace by Html::manageRefreshPage()
if ($_SESSION['glpirefresh_ticket_list'] > 0) {
// Refresh automatique sur tracking.php
echo "<script type=\"text/javascript\">\n";
echo "setInterval(\"window.location.reload()\",".
(60000 * $_SESSION['glpirefresh_ticket_list']).");\n";
echo "</script>\n";
}

PluginFusioninventoryMenu::displayMenu();
PluginFusioninventoryMenu::board();
} else {
Expand All @@ -58,4 +67,4 @@

Html::footer();

?>
?>

0 comments on commit 6acef52

Please sign in to comment.