$dms, 'user'=>$user)); $accessop = new SeedDMS_AccessOperation($dms, $user, $settings); if (!$accessop->check_view_access($view, $_GET)) { UI::exitError(getMLText("my_transmittals"),getMLText("access_denied"), false, $isajax); } if(isset($_GET['transmittalid']) && $_GET['transmittalid']) { $seltransmittal = $dms->getTransmittal($_GET['transmittalid']); } else { $seltransmittal = null; } if($view) { $view->setParam('seltransmittal', $seltransmittal); $view->setParam('showtree', showtree()); $view->setParam('cachedir', $settings->_cacheDir); $view->setParam('timeout', $settings->_cmdTimeout); $view->setParam('previewWidthList', $settings->_previewWidthList); $view->setParam('previewconverters', $settings->_converters['preview']); $view->setParam('accessobject', $accessop); $view->setParam('onepage', $settings->_onePageMode); // do most navigation by reloading areas of pages with ajax $view($_GET); exit; } ?>