summaryrefslogtreecommitdiffstats
path: root/settings/users.php
diff options
context:
space:
mode:
authorSam Tuke <samtuke@owncloud.com>2012-06-25 18:01:17 +0100
committerSam Tuke <samtuke@owncloud.com>2012-06-25 18:04:10 +0100
commitf374dae233b3a4c970562d096514ba20e6d40bcc (patch)
treed5a46f9d6d28642bda528eb4b453e29c0d8b9774 /settings/users.php
parentdc4b89132769fc5842eab6bf4d388a8041a43bdd (diff)
downloadnextcloud-server-f374dae233b3a4c970562d096514ba20e6d40bcc.tar.gz
nextcloud-server-f374dae233b3a4c970562d096514ba20e6d40bcc.zip
Added text ACS warning to admin's user settings page, and corresponding CSS styles
Diffstat (limited to 'settings/users.php')
-rw-r--r--settings/users.php9
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();
?>