Diff for /loncom/interface/loncommon.pm between versions 1.997 and 1.998

version 1.997, 2011/01/15 21:49:37 version 1.998, 2011/01/16 03:50:12
Line 6885  sub validate_page { Line 6885  sub validate_page {
   
   
 sub start_scrollbox {  sub start_scrollbox {
    my ($outerwidth,$width,$height)=@_;      my ($outerwidth,$width,$height)=@_;
    unless ($outerwidth) { $outerwidth='520px'; }      unless ($outerwidth) { $outerwidth='520px'; }
    unless ($width) { $width='500px'; }      unless ($width) { $width='500px'; }
    unless ($height) { $height='200px'; }      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;'>";      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 {  sub end_scrollbox {
    return '</td></tr></table>';      return '</td></tr></table>';
 }  }
   
 sub simple_error_page {  sub simple_error_page {

Removed from v.1.997  
changed lines
  Added in v.1.998


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>