sTitle = _kt('My Dropped Documents'); } function is_active($oUser) { $this->oUser = $oUser; return true; } /* function is_active($oUser) { $this->oUser = $oUser; return Permission::userIsSystemAdministrator($oUser); } */ function render() { global $main; $main->requireJSResource("plugins/MyDropDocumentsPlugin/js/update.js"); $oPlugin =& $this->oPlugin; $oTemplating =& KTTemplating::getSingleton(); $oTemplate = $oTemplating->loadTemplate('MyDropDocumentsPlugin/dashlet'); $aTemplateData = array( 'context' => $this, 'url' => $oPlugin->getPagePath('MyDropDocuments'), ); return $oTemplate->render($aTemplateData); } } ?>