Datainjection plugin 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 datainjection. If not, see <http://www.gnu.org/licenses/>. -------------------------------------------------------------------------- @package datainjection @author the datainjection plugin team @copyright Copyright (c) 2010-2013 Datainjection plugin team @license GPLv2+ http://www.gnu.org/licenses/gpl.txt @link https://forge.indepnet.net/projects/datainjection @link http://www.glpi-project.org/ @since 2009 ---------------------------------------------------------------------- */ include '../../../inc/includes.php'; Session::checkLoginUser(); switch ($_GET["popup"]) { case "preview": Html::popHeader(__('See the file', 'datainjection'), $_SERVER['PHP_SELF']); PluginDatainjectionModel::showPreviewMappings($_GET['models_id']); Html::popFooter(); break; case "log": Html::popHeader(__('File injection report', 'datainjection'), $_SERVER['PHP_SELF']); PluginDatainjectionModel::showLogResults($_GET['models_id']); Html::popFooter(); break; }