diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-08-28 04:36:34 +0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-08-28 04:39:31 +0400 |
commit | 9cd55508c3181ff59080f84a341bd5ecf3e88eab (patch) | |
tree | 35c3874e37d2026244318895151bfc997f6c9636 /settings/admin.php | |
parent | 2aac6f02a0dd3da73db09e1b23aa14cb84d4d88e (diff) |
Add Share API settings to admin page
Diffstat (limited to 'settings/admin.php')
-rwxr-xr-x | settings/admin.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/settings/admin.php b/settings/admin.php index 6909e02d14f..8788de940b3 100755 --- a/settings/admin.php +++ b/settings/admin.php @@ -30,6 +30,10 @@ $tmpl->assign('entries',$entries); $tmpl->assign('entriesremain', $entriesremain); $tmpl->assign('htaccessworking',$htaccessworking); $tmpl->assign('backgroundjobs_mode', OC_Appconfig::getValue('core', 'backgroundjobs_mode', 'ajax')); +$tmpl->assign('shareAPIEnabled', OC_Appconfig::getValue('core', 'shareapi_enabled', 'yes')); +$tmpl->assign('allowLinks', OC_Appconfig::getValue('core', 'shareapi_allow_links', 'yes')); +$tmpl->assign('allowResharing', OC_Appconfig::getValue('core', 'shareapi_allow_resharing', 'yes')); +$tmpl->assign('sharePolicy', OC_Appconfig::getValue('core', 'shareapi_share_policy', 'global')); $tmpl->assign('forms',array()); foreach($forms as $form){ $tmpl->append('forms',$form); |