|
|
|
|
@ -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(); |
|
|
|
|
|
|
|
|
|
?> |
|
|
|
|
|