[LON-CAPA-cvs] cvs: loncom /interface domainprefs.pm

raeburn raeburn at source.lon-capa.org
Tue Dec 17 20:30:52 EST 2013


raeburn		Wed Dec 18 01:30:52 2013 EDT

  Modified files:              
    /loncom/interface	domainprefs.pm 
  Log:
  - MB instead of Mb
  
  
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.212 loncom/interface/domainprefs.pm:1.213
--- loncom/interface/domainprefs.pm:1.212	Sun Oct  6 21:25:59 2013
+++ loncom/interface/domainprefs.pm	Wed Dec 18 01:30:52 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: domainprefs.pm,v 1.212 2013/10/06 21:25:59 raeburn Exp $
+# $Id: domainprefs.pm,v 1.213 2013/12/18 01:30:52 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -259,7 +259,7 @@
                       help => 'Domain_Configuration_Quotas',
                       header => [{col1 => 'User affiliation',
                                   col2 => 'Available tools',
-                                  col3 => 'Quotas, Mb; (Authoring requires role)',}],
+                                  col3 => 'Quotas, MB; (Authoring requires role)',}],
                     },
         'autoenroll' =>
                    { text => 'Auto-enrollment settings',
@@ -3765,7 +3765,7 @@
                  'datelocale_def','portal_def');
     my %defaults;
     if (ref($settings) eq 'HASH') {
-        %defaults = %{$settings};    
+        %defaults = %{$settings};
     } else {
         my %domdefaults = &Apache::lonnet::get_domain_defaults($dom,1);
         foreach my $item (@items) {
@@ -6057,7 +6057,7 @@
                             if ($type eq 'default') {
                                 $typetitle = $othertitle;
                             }
-                            $resulttext .= '<li>'.&mt('[_1] set to [_2] Mb',$typetitle,$confhash{'defaultquota'}{$type}).'</li>';
+                            $resulttext .= '<li>'.&mt('[_1] set to [_2] MB',$typetitle,$confhash{'defaultquota'}{$type}).'</li>';
                         }
                     }
                     $resulttext .= '</ul></li>';
@@ -6070,7 +6070,7 @@
                             if ($type eq 'default') {
                                 $typetitle = $othertitle;
                             }
-                            $resulttext .= '<li>'.&mt('[_1] set to [_2] Mb',$typetitle,$confhash{'authorquota'}{$type}).'</li>';
+                            $resulttext .= '<li>'.&mt('[_1] set to [_2] MB',$typetitle,$confhash{'authorquota'}{$type}).'</li>';
                         }
                     }
                     $resulttext .= '</ul></li>';
@@ -8158,7 +8158,7 @@
                                              $dom);
     if ($putresult eq 'ok') {
         if (keys(%changes) > 0) {
-            my %domdefaults = &Apache::lonnet::get_domain_defaults($dom,1); 
+            my %domdefaults = &Apache::lonnet::get_domain_defaults($dom,1);
             if (($changes{'canuse_pdfforms'}) || ($changes{'coursecredits'}) || ($changes{'uploadquota'})) {
                 if ($changes{'canuse_pdfforms'}) {
                     $domdefaults{'canuse_pdfforms'}=$defaultshash{'coursedefaults'}{'canuse_pdfforms'};




More information about the LON-CAPA-cvs mailing list