Beispiel #1
0
 function launch()
 {
     global $interface;
     require_once ROOT_DIR . '/Drivers/Marmot.php';
     $driver = new Marmot();
     $checkInGrid = $driver->getCheckInGrid(strip_tags($_REQUEST['id']), strip_tags($_REQUEST['lookfor']));
     $interface->assign('checkInGrid', $checkInGrid);
     // Use for lightbox
     echo $interface->fetch('Record/checkInGrid.tpl');
 }
Beispiel #2
0
 function launch()
 {
     global $interface;
     require_once ROOT_DIR . '/Drivers/Marmot.php';
     $driver = new Marmot();
     $checkInGrid = $driver->getCheckInGrid(strip_tags($_REQUEST['id']), strip_tags($_REQUEST['lookfor']));
     $interface->assign('checkInGrid', $checkInGrid);
     $results = array('title' => 'Check-In Grid', 'modalBody' => $interface->fetch('Record/checkInGrid.tpl'), 'modalButtons' => "");
     echo json_encode($results);
 }