--- loncom/interface/loncommon.pm 2003/06/24 22:16:32 1.107 +++ loncom/interface/loncommon.pm 2003/07/17 18:10:53 1.109 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.107 2003/06/24 22:16:32 albertel Exp $ +# $Id: loncommon.pm,v 1.109 2003/07/17 18:10:53 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -549,7 +549,8 @@ sub help_open_topic { my ($topic, $text, $stayOnPage, $width, $height) = @_; $text = "" if (not defined $text); $stayOnPage = 0 if (not defined $stayOnPage); - if ($ENV{'browser.interface'} eq 'textual') { + if ($ENV{'browser.interface'} eq 'textual' || + $ENV{'environment.remote'} eq 'off' ) { $stayOnPage=1; } $width = 350 if (not defined $width); @@ -1352,9 +1353,11 @@ sub aboutmewrapper { sub syllabuswrapper { - my ($link,$un,$do,$tf)=@_; - if ($tf) { $link=''.$link.''; } - return "$link"; + my ($linktext,$coursedir,$domain,$fontcolor)=@_; + if ($fontcolor) { + $linktext=''.$linktext.''; + } + return "$linktext"; } # ---------------------------------------------------------------- Language IDs