--- loncom/interface/loncommon.pm 2002/10/18 13:49:49 1.70 +++ loncom/interface/loncommon.pm 2002/12/26 15:38:54 1.73 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.70 2002/10/18 13:49:49 www Exp $ +# $Id: loncommon.pm,v 1.73 2002/12/26 15:38:54 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -493,7 +493,7 @@ sub help_open_topic { if (!$stayOnPage) { - $link = "javascript:void(open('/adm/help/${filename}.hlp', 'Help_for_$topic', 'menubar=0,toolbar=1,scrollbars=1,width=$width,height=$height'))"; + $link = "javascript:void(open('/adm/help/${filename}.hlp', 'Help_for_$topic', 'menubar=0,toolbar=1,scrollbars=1,width=$width,height=$height,resizable=yes'))"; } else { @@ -1021,7 +1021,8 @@ sub aboutmewrapper { sub syllabuswrapper { - my ($link,$un,$do)=@_; + my ($link,$un,$do,$tf)=@_; + if ($tf) { $link=''.$link.''; } return "$link"; } @@ -1299,7 +1300,8 @@ sub domainlogo { my $domain = &determinedomain(shift); # See if there is a logo if (-e '/home/httpd/html/adm/lonDomLogos/'.$domain.'.gif') { - return ''; + return ''; } elsif(exists($Apache::lonnet::domaindescription{$domain})) { return $Apache::lonnet::domaindescription{$domain}; } else { @@ -1403,7 +1405,7 @@ END $bodytag +
- $messages