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

www www at source.lon-capa.org
Sun Dec 4 09:55:16 EST 2011


www		Sun Dec  4 14:55:16 2011 EDT

  Modified files:              
    /loncom/interface	lonparmset.pm 
  Log:
  Show all parts by default.
  
  
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.515 loncom/interface/lonparmset.pm:1.516
--- loncom/interface/lonparmset.pm:1.515	Mon Nov 21 03:25:19 2011
+++ loncom/interface/lonparmset.pm	Sun Dec  4 14:55:16 2011
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.515 2011/11/21 03:25:19 raeburn Exp $
+# $Id: lonparmset.pm,v 1.516 2011/12/04 14:55:16 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2015,7 +2015,7 @@
 
 
     my @psprt=&Apache::loncommon::get_env_multiple('form.psprt');
-    if (!@psprt) { $psprt[0]='0'; }
+    if (!@psprt) { $psprt[0]='all'; }
     if (($env{'form.part'}) && ($psprt[0] ne 'all')) { $psprt[0]=$env{'form.part'}; }
 
     my $pssymb='';
@@ -2293,12 +2293,6 @@
                   '<br />');
         $r->print(&Apache::lonhtmlcommon::topic_bar('',&mt('Additional Display Specification (optional)')));
         $r->print(&Apache::lonhtmlcommon::start_pick_box());
-        $r->print(&Apache::lonhtmlcommon::row_title(&mt('Select Parts to View')).
-                  '<label>'.
-                  '<input type="checkbox" name="psprt" value="all"'.
-                  ($env{'form.psprt'}?' checked="checked"':'').' />'.
-                  &mt('Show all parts').
-                  '</label></td></tr>');
         &usermenu($r,$uname,$id,$udom,$csec,$cgroup,$parmlev,\@usersgroups);
         $r->print(&Apache::lonhtmlcommon::row_closure(1));
         $r->print(&Apache::lonhtmlcommon::end_pick_box());
@@ -3312,7 +3306,7 @@
     my $pschp=$env{'form.pschp'};
 
     my @psprt=&Apache::loncommon::get_env_multiple('form.psprt');
-    if (!@psprt) { $psprt[0]='0'; }
+    if (!@psprt) { $psprt[0]='all'; }
 
     my @selected_sections =
     &Apache::loncommon::get_env_multiple('form.Section');




More information about the LON-CAPA-cvs mailing list