[LON-CAPA-cvs] cvs: loncom /interface lonhtmlcommon.pm
raeburn
raeburn@source.lon-capa.org
Wed, 29 Apr 2009 18:42:39 -0000
raeburn Wed Apr 29 18:42:39 2009 EDT
Modified files:
/loncom/interface lonhtmlcommon.pm
Log:
- style - retrieval of args from @_ should be first item in subroutine.
Index: loncom/interface/lonhtmlcommon.pm
diff -u loncom/interface/lonhtmlcommon.pm:1.209 loncom/interface/lonhtmlcommon.pm:1.210
--- loncom/interface/lonhtmlcommon.pm:1.209 Sat Apr 25 20:22:07 2009
+++ loncom/interface/lonhtmlcommon.pm Wed Apr 29 18:42:38 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common html routines
#
-# $Id: lonhtmlcommon.pm,v 1.209 2009/04/25 20:22:07 www Exp $
+# $Id: lonhtmlcommon.pm,v 1.210 2009/04/29 18:42:38 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1546,9 +1546,9 @@
}
sub row_title {
+ my ($title,$css_title_class,$css_value_class) = @_;
$row_count[0]++;
my $css_class = ($row_count[0] % 2)?'LC_odd_row':'LC_even_row';
- my ($title,$css_title_class,$css_value_class) = @_;
$css_title_class ||= 'LC_pick_box_title';
$css_title_class = 'class="'.$css_title_class.'"';