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>";
}
}
Mreporting plugin for GLPI Copyright (C) 2003-2011 by the mreporting Development Team. https://forge.indepnet.net/projects/mreporting ------------------------------------------------------------------------- LICENSE This file is part of mreporting. mreporting is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. mreporting is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with mreporting. If not, see <http://www.gnu.org/licenses/>. -------------------------------------------------------------------------- */ include "../../../inc/includes.php"; header("Content-Type: text/html; charset=UTF-8"); Html::header_nocache(); //use invisible iframe to prevent js error from protovis echo "<iframe id='debug_ifr' src='../ajax/debug_content.php' \n scrolling='no' style='width:100%;min-height:3500px;' marginWidth='0' marginHeight='0' \n frameborder='0' border='0' cellspacing='0' />"; Html::ajaxFooter();