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

bisitz bisitz@source.lon-capa.org
Tue, 12 May 2009 11:23:16 -0000


bisitz		Tue May 12 11:23:16 2009 EDT

  Modified files:              
    /loncom/interface	lonparmset.pm 
  Log:
  Added missing pick_box row closures for pick_boxes which were added in rev. 1.445
  (HTML table structure not correct yet - work in progress)
  
  
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.446 loncom/interface/lonparmset.pm:1.447
--- loncom/interface/lonparmset.pm:1.446	Tue May 12 10:54:11 2009
+++ loncom/interface/lonparmset.pm	Tue May 12 11:23:16 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.446 2009/05/12 10:54:11 bisitz Exp $
+# $Id: lonparmset.pm,v 1.447 2009/05/12 11:23:16 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1505,8 +1505,9 @@
     $r->print(&Apache::lonhtmlcommon::start_pick_box());
 
     &parmmenu($r,$allparms,$pscat,$keyorder);
-   $r->print(&Apache::lonhtmlcommon::row_title(&mt('Select Parts to View')));
+    $r->print(&Apache::lonhtmlcommon::row_title(&mt('Select Parts to View')));
     &partmenu($r,$allparts,$psprt);
+    $r->print(&Apache::lonhtmlcommon::row_closure(1));
     $r->print(&Apache::lonhtmlcommon::end_pick_box());
     $r->print('</div></div>');
 }
@@ -1871,9 +1872,11 @@
         &levelmenu($r,\%alllevs,$parmlev);
 
 	if ($parmlev ne 'general') {
+            $r->print(&Apache::lonhtmlcommon::row_closure());
 	    &mapmenu($r,\%allmaps,$pschp,\%maptitles);
 	}
 
+        $r->print(&Apache::lonhtmlcommon::row_closure(1));
         $r->print(&Apache::lonhtmlcommon::end_pick_box());
         $r->print('</div></div>');
 
@@ -1891,6 +1894,7 @@
     $r->print('<div class="LC_BoxPadding">' );
     $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></div>');
@@ -3612,9 +3616,11 @@
     &levelmenu($r,\%alllevs,$parmlev);
     if ($parmlev ne 'general') {
 	#$r->print('<td class="LC_parm_overview_map_menu">');
+        $r->print(&Apache::lonhtmlcommon::row_closure());
 	&mapmenu($r,\%allmaps,$pschp,\%maptitles);
 	#$r->print('</td>');
     }
+    $r->print(&Apache::lonhtmlcommon::row_closure(1));
     $r->print(&Apache::lonhtmlcommon::end_pick_box());
     $r->print('</div></div>');
     #$r->print('</td></tr></table>');
@@ -3625,6 +3631,7 @@
     $r->print('<div class="LC_BoxPadding">' );
     $r->print(&Apache::lonhtmlcommon::start_pick_box());
     &parmmenu($r,\%allparms,\@pscat,\%keyorder);
+    $r->print(&Apache::lonhtmlcommon::row_closure());
 
     $r->print(&Apache::lonhtmlcommon::row_title(&mt('Select Parts to View')));
     #$r->print('</td><td class="LC_parm_overview_restrictions">'.
@@ -3638,6 +3645,7 @@
     &groupmenu($r,\@selected_groups);
     $r->print('</td></tr></table>');
     #$r->print('</td></tr></table>');
+    $r->print(&Apache::lonhtmlcommon::row_closure(1));
     $r->print(&Apache::lonhtmlcommon::end_pick_box());
     $r->print('</div></div>');