[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm
raeburn
raeburn@source.lon-capa.org
Sun, 16 Jan 2011 03:50:13 -0000
raeburn Sun Jan 16 03:50:13 2011 EDT
Modified files:
/loncom/interface loncommon.pm
Log:
- Coding Style.
The standard indent is 4 spaces. This is the desired LON-CAPA coding style
when writing new code.
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.997 loncom/interface/loncommon.pm:1.998
--- loncom/interface/loncommon.pm:1.997 Sat Jan 15 21:49:37 2011
+++ loncom/interface/loncommon.pm Sun Jan 16 03:50:12 2011
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.997 2011/01/15 21:49:37 www Exp $
+# $Id: loncommon.pm,v 1.998 2011/01/16 03:50:12 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -6885,15 +6885,15 @@
sub start_scrollbox {
- my ($outerwidth,$width,$height)=@_;
- unless ($outerwidth) { $outerwidth='520px'; }
- unless ($width) { $width='500px'; }
- unless ($height) { $height='200px'; }
- return "<table style='width: $outerwidth; border: 1px solid black;'><tr><td style='width: $width;' bgcolor='#FFFFFF'><div style='overflow:auto; width:$width; height: $height;'>";
+ my ($outerwidth,$width,$height)=@_;
+ unless ($outerwidth) { $outerwidth='520px'; }
+ unless ($width) { $width='500px'; }
+ unless ($height) { $height='200px'; }
+ return "<table style='width: $outerwidth; border: 1px solid black;'><tr><td style='width: $width;' bgcolor='#FFFFFF'><div style='overflow:auto; width:$width; height: $height;'>";
}
sub end_scrollbox {
- return '</td></tr></table>';
+ return '</td></tr></table>';
}
sub simple_error_page {