static function ajaxFooter()
{
if ($_SESSION['glpi_use_mode'] == Session::DEBUG_MODE) {
// mode debug
$rand = mt_rand();
echo "<div class='center' id='debugajax'>";
echo "<a class='debug-float' href=\"javascript:showHideDiv('see_ajaxdebug{$rand}','','','');\">\n AJAX DEBUG</a>";
if (!isset($_GET['full_page_tab']) && strstr($_SERVER['REQUEST_URI'], '/ajax/common.tabs.php')) {
echo " ";
echo "<a href='" . $_SERVER['REQUEST_URI'] . "&full_page_tab=1' class='vsubmit'>Display only tab for debug</a>";
}
echo "</div>";
echo "<div id='see_ajaxdebug{$rand}' name='see_ajaxdebug{$rand}' style=\"display:none;\">";
self::displayDebugInfos(false, true);
echo "</div></div>";
}
}