1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- $config = \OC::$server->getConfig();
- $userSession = \OC::$server->getUserSession();
- $showgridview = $config->getUserValue($userSession->getUser()->getUID(), 'files', 'show_grid', false);
- $tmpl = new OCP\Template('files', 'simplelist', '');
- $tmpl->assign('showgridview', $showgridview);
- $tmpl->printPage();
|