$dms, 'user'=>$user)); $accessop = new SeedDMS_AccessOperation($dms, $user, $settings); if ($user->isGuest()) { UI::exitError(getMLText("edit_event"),getMLText("access_denied")); } if (!isset($_GET["id"]) || !is_numeric($_GET["id"]) || intval($_GET["id"])<1) { UI::exitError(getMLText("edit_event"),getMLText("error_occured")); } $event=getEvent($_GET["id"]); if (is_bool($event)&&!$event){ UI::exitError(getMLText("edit_event"),getMLText("error_occured")); } if (($user->getID()!=$event["userID"])&&(!$user->isAdmin())){ UI::exitError(getMLText("edit_event"),getMLText("access_denied")); } if($view) { $view->setParam('event', $event); $view->setParam('strictformcheck', $settings->_strictFormCheck); $view->setParam('accessobject', $accessop); $view($_GET); exit; } ?>