. * */ OCP\User::checkLoggedIn(); OCP\JSON::checkAppEnabled('office'); OCP\App::setActiveNavigationEntry( 'office_index' ); OCP\Util::addStyle( 'office', 'style' ); $list=\OCA\Office\Storage::getDocuments(); $tmpl = new OCP\Template('office', 'documents', 'user'); $tmpl->assign('list', $list); $tmpl->printPage();