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

amueller amueller@source.lon-capa.org
Mon, 02 Nov 2009 08:30:04 -0000


amueller		Mon Nov  2 08:30:04 2009 EDT

  Modified files:              
    /loncom/interface	lonparmset.pm 
  Log:
  - new style provisionally for the units (General Parameters, Select Parameters, User Selection) in Table Mode to get rid of the numbers.
  - new titles for this units. 
  
  
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.475 loncom/interface/lonparmset.pm:1.476
--- loncom/interface/lonparmset.pm:1.475	Sun Nov  1 12:20:16 2009
+++ loncom/interface/lonparmset.pm	Mon Nov  2 08:30:04 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.475 2009/11/01 12:20:16 amueller Exp $
+# $Id: lonparmset.pm,v 1.476 2009/11/02 08:30:04 amueller Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2197,7 +2197,9 @@
     
     # Display Unit 1 "General Parameters"
     if (!$pssymb) {
-        $r->print(&Apache::lonhtmlcommon::topic_bar (1,&mt('General Parameters')));
+        #$r->print(&Apache::lonhtmlcommon::topic_bar (1,&mt('General Parameters')));
+        $r->print('<div class="LC_Box">');
+        $r->print('<h4 class="LC_hcell">'.&mt('Resource Specification').'</h4>');
         $r->print(<<COURSECONTENTSCRIPT);
 <script type="text/javascript">
 // <![CDATA[
@@ -2227,8 +2229,11 @@
         $r->print(&Apache::lonhtmlcommon::row_closure(1));
         $r->print(&Apache::lonhtmlcommon::end_pick_box());
         $r->print('</div>');
+        $r->print('</div>');
         #Display Unit 2 "Select Parameter"   
-        $r->print(&Apache::lonhtmlcommon::topic_bar (2,&mt('Select Parameters')));
+        #$r->print(&Apache::lonhtmlcommon::topic_bar (2,&mt('Select Parameters')));
+        $r->print('<div class="LC_Box">');
+        $r->print('<h4 class="LC_hcell">'.&mt('Parameter Specification').'</h4>');
         &displaymenu($r,\%allparms,\%allparts,\@pscat,\@psprt,\%keyorder);
     } else {
         my ($map,$id,$resource)=&Apache::lonnet::decode_symb($pssymb);
@@ -2238,11 +2243,15 @@
                   '<br /><label><b>'.&mt('Show all parts').': <input type="checkbox" name="psprt" value="all"'.
                   ($env{'form.psprt'}?' checked="checked"':'').' /></b></label><br />');
     }
-    $r->print(&Apache::lonhtmlcommon::topic_bar (3,&mt('User Selection')));
+    $r->print('</div>');
+    #$r->print(&Apache::lonhtmlcommon::topic_bar (3,&mt('User Selection')));
+    $r->print('<div class="LC_Box">');
+    $r->print('<h4 class="LC_hcell">'.&mt('User Specification (optional)').'</h4>');
     $r->print(&Apache::lonhtmlcommon::start_pick_box());
     &usermenu($r,$uname,$id,$udom,$csec,$cgroup,$parmlev,\@usersgroups);
     $r->print(&Apache::lonhtmlcommon::row_closure(1));
     $r->print(&Apache::lonhtmlcommon::end_pick_box());
+    $r->print('</div>');
     
     # parm selection is shown: display parm update button
     $r->print('<p>'