]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove sharing notice in users settings - The default is now share with anyone, group...
authorMichael Gapczynski <mtgap@owncloud.com>
Tue, 28 Aug 2012 00:55:11 +0000 (20:55 -0400)
committerMichael Gapczynski <mtgap@owncloud.com>
Tue, 28 Aug 2012 00:55:11 +0000 (20:55 -0400)
settings/css/settings.css
settings/templates/users.php
settings/users.php

index 49274103ca87293767642d1c401ee0b79c9a2d11..74a3a1acc86aaf6714a115a6fdec88df40d7e85e 100644 (file)
@@ -62,7 +62,5 @@ span.version { margin-left:3em; margin-right:3em; color:#555; }
 
 /* ADMIN */
 span.securitywarning {color:#C33; font-weight:bold; }
-h3.settingsNotice { font-size: 1.2em; }
-.settingsNotice { font-weight:bold; padding: 0.5em 0; }
 input[type=radio] { width:1em; }
 table.shareAPI td { padding-right: 2em; }
\ No newline at end of file
index 5298237f6797ec6c45fdeefa25bc7aa01a4df3a3..295b7761cf3cb91df41c4fb96f4d56e907aebc3c 100644 (file)
@@ -151,9 +151,4 @@ var isadmin = <?php echo $_['isadmin']?'true':'false'; ?>;
                </tr>
                <?php endforeach; ?>
        </tbody>
-</table>
-
-<!-- use a standard notification class / system for this message -->
-<?php if( $_["share_notice"] ):?>
-<h3 class="settingsNotice center"><?php echo $_["share_notice"]; ?></h3>
-<?php endif;?> 
\ No newline at end of file
+</table>
\ No newline at end of file
index 58018f00ec3a6f7bcb61c9551c4a5b79e61d1e69..b04f0c99e8fd97930be129016b9c57d0a6093d21 100644 (file)
@@ -45,14 +45,6 @@ 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 );
@@ -61,5 +53,4 @@ $tmpl->assign( 'subadmins', $subadmins);
 $tmpl->assign( 'numofgroups', count($accessiblegroups));
 $tmpl->assign( 'quota_preset', $quotaPreset);
 $tmpl->assign( 'default_quota', $defaultQuota);
-$tmpl->assign( 'share_notice', $shareNotice);
-$tmpl->printPage();
+$tmpl->printPage();
\ No newline at end of file