[LON-CAPA-cvs] cvs: loncom /interface lonparmset.pm
amueller
amueller@source.lon-capa.org
Sun, 01 Nov 2009 12:20:16 -0000
amueller Sun Nov 1 12:20:16 2009 EDT
Modified files:
/loncom/interface lonparmset.pm
Log:
moved the call of function topic_bar from subroutine displaymenu to assessparms, which invoke displaymenu.
The intention is to have all topic_bar calls (call for display Unit 1 General Parameters, Unit 2 Select Parameters, Unit 3 User
Selection, all in Table Mode) in assessparms together.
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.474 loncom/interface/lonparmset.pm:1.475
--- loncom/interface/lonparmset.pm:1.474 Fri Oct 23 18:49:10 2009
+++ loncom/interface/lonparmset.pm Sun Nov 1 12:20:16 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set parameters for assessments
#
-# $Id: lonparmset.pm,v 1.474 2009/10/23 18:49:10 amueller Exp $
+# $Id: lonparmset.pm,v 1.475 2009/11/01 12:20:16 amueller Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1709,7 +1709,6 @@
#
sub displaymenu {
my ($r,$allparms,$allparts,$pscat,$psprt,$keyorder)=@_;
- $r->print(&Apache::lonhtmlcommon::topic_bar (2,&mt('Select Parameters')));
$r->print(&Apache::lonhtmlcommon::start_pick_box());
&parmmenu($r,$allparms,$pscat,$keyorder);
$r->print(&Apache::lonhtmlcommon::end_pick_box());
@@ -2229,6 +2228,7 @@
$r->print(&Apache::lonhtmlcommon::end_pick_box());
$r->print('</div>');
#Display Unit 2 "Select Parameter"
+ $r->print(&Apache::lonhtmlcommon::topic_bar (2,&mt('Select Parameters')));
&displaymenu($r,\%allparms,\%allparts,\@pscat,\@psprt,\%keyorder);
} else {
my ($map,$id,$resource)=&Apache::lonnet::decode_symb($pssymb);