diff options
Diffstat (limited to 'settings/users.php')
-rw-r--r-- | settings/users.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/settings/users.php b/settings/users.php index 96515a90ce4..026a30a750c 100644 --- a/settings/users.php +++ b/settings/users.php @@ -33,11 +33,20 @@ foreach($quotaPreset as &$preset){ $defaultQuota=OC_Appconfig::getValue('files','default_quota','none'); +$shareNotice = ''; + +if (\OC_App::isEnabled( "files_sharing" ) ) { + + $shareNotice = 'Note: users may only share to groups that they belong to, and their members'; + +} + $tmpl = new OC_Template( "settings", "users", "user" ); $tmpl->assign( "users", $users ); $tmpl->assign( "groups", $groups ); $tmpl->assign( 'quota_preset', $quotaPreset); $tmpl->assign( 'default_quota', $defaultQuota); +$tmpl->assign( 'share_notice', $shareNotice); $tmpl->printPage(); ?> |