$dms, 'user'=>$user)); $accessop = new SeedDMS_AccessOperation($dms, null, $user, $settings); if ($user->isGuest()) { UI::exitError(getMLText("expired_documents"),getMLText("access_denied")); } $orderby='e'; if (isset($_GET["orderby"]) && strlen($_GET["orderby"])==1 ) { $orderby=$_GET["orderby"]; } $orderdir='d'; if (isset($_GET["orderdir"]) && strlen($_GET["orderdir"])==1 ) { $orderdir=$_GET["orderdir"]; } $days = null; $startts = null; $endts = null; if(isset($_GET['days']) && is_numeric($_GET['days'])) { $days = (int) $_GET['days']; } else { if(isset($_GET['startdate'])) { $startts = makeTsFromDate($_GET['startdate']); } if(isset($_GET['enddate'])) { $endts = makeTsFromDate($_GET['enddate']); } } if($view) { $view->setParam('conversionmgr', $conversionmgr); $view->setParam('showtree', showtree()); $view->setParam('orderby', $orderby); $view->setParam('orderdir', $orderdir); $view->setParam('days', $days); $view->setParam('startts', $startts); $view->setParam('endts', $endts); $view->setParam('cachedir', $settings->_cacheDir); $view->setParam('previewWidthList', $settings->_previewWidthList); $view->setParam('timeout', $settings->_cmdTimeout); $view->setParam('accessobject', $accessop); $view->setParam('xsendfile', $settings->_enableXsendfile); $view($_GET); exit; }