2012-04-25 11:51:18 -04:00
|
|
|
<?php
|
|
|
|
|
|
2012-05-01 16:59:38 -04:00
|
|
|
OCP\User::checkAdminUser();
|
2012-05-01 14:03:41 -04:00
|
|
|
OCP\Util::addscript('files_sharing', 'settings');
|
2012-05-06 17:00:36 -04:00
|
|
|
$tmpl = new OCP\Template('files_sharing', 'settings');
|
2012-05-02 08:11:29 -04:00
|
|
|
$tmpl->assign('allowResharing', OCP\Config::getAppValue('files_sharing', 'resharing', 'yes'));
|
2012-07-17 08:09:01 -04:00
|
|
|
$tmpl->assign('allowSharingWithEveryone', OCP\Config::getAppValue('files_sharing', 'allowSharingWithEveryone', 'no'));
|
2012-04-25 11:51:18 -04:00
|
|
|
return $tmpl->fetchPage();
|
|
|
|
|
|
|
|
|
|
?>
|