--- loncom/interface/lonsyllabus.pm 2003/02/10 16:22:28 1.11 +++ loncom/interface/lonsyllabus.pm 2003/02/10 20:03:13 1.12 @@ -1,7 +1,7 @@ # The LearningOnline Network # Syllabus # -# $Id: lonsyllabus.pm,v 1.11 2003/02/10 16:22:28 www Exp $ +# $Id: lonsyllabus.pm,v 1.12 2003/02/10 20:03:13 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -97,7 +97,8 @@ ENDDOCUMENT if ($forcestudent) { $allowed=0; } } if ($allowed) { - $r->print('

This syllabus can be publically viewed at http://'. + $r->print('

'. +&Apache::loncommon::help_open_topic('Uploaded_Templates_TextBoxes','Help with filling in text boxes').'

This syllabus can be publically viewed at http://'. $Apache::lonnet::hostname{$homeserver}.$r->uri.''. &Apache::loncommon::help_open_topic('Syllabus_ExtLink').'

'. '

Show Student View'. @@ -171,9 +172,11 @@ ENDDOCUMENT # embed style? my ($curfext)=($filelink=~/\.([^\.]+)$/); my $embstyle=&Apache::loncommon::fileembstyle($curfext); - if ($embstyle eq 'ssi') { + if (($embstyle eq 'ssi') || ($curfext=~/\/$/)) { # make ssi call and remove everything but the body contents - $output=&Apache::lonnet::ssi($filelink); + $output= + ($filelink=~/^http\:/?&Apache::lonnet::externalssi($filelink): + &Apache::lonnet::ssi($filelink)); $output=~s/^.*\]*\>//si; $output=~s/\<\/body\s*\>.*$//si; } elsif ($embstyle eq 'img') {