--- loncom/interface/lonsyllabus.pm 2003/02/10 14:44:36 1.9 +++ loncom/interface/lonsyllabus.pm 2003/02/10 16:22:28 1.11 @@ -1,7 +1,7 @@ # The LearningOnline Network # Syllabus # -# $Id: lonsyllabus.pm,v 1.9 2003/02/10 14:44:36 www Exp $ +# $Id: lonsyllabus.pm,v 1.11 2003/02/10 16:22:28 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -33,6 +33,7 @@ use Apache::Constants qw(:common); use Apache::loncommon; use Apache::lonnet; use Apache::lontexconvert; +use Apache::lonfeedback; sub handler { my $r = shift; @@ -97,15 +98,17 @@ ENDDOCUMENT } if ($allowed) { $r->print('
This syllabus can be publically viewed at http://'. - $Apache::lonnet::hostname{$homeserver}.$r->uri.'
'. - ''); + $Apache::lonnet::hostname{$homeserver}.$r->uri.''. + &Apache::loncommon::help_open_topic('Syllabus_ExtLink').''. + 'Show Student View'. + &Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView'). + '
'); } if (($allowed) && ($ENV{'form.storesyl'})) { foreach (keys %syllabusfields) { my $field=$ENV{'form.'.$_}; $field=~s/\s+$//s; - $field=~s/\\<\;/g; - $field=~s/\>/\>\;/g; + $field=&Apache::lonfeedback::clear_out_html($field,1); $syllabus{$_}=$field; if ($_ eq 'lll_includeurl') { # clean up included URLs my $field=''; @@ -181,10 +184,9 @@ ENDDOCUMENT } if ($allowed) { $r->print(''. - "http://www.foo.org/foo.html\n/res/foo/author/foo.html\n". - ''); + &Apache::loncommon::help_open_topic('Syllabus_URLs').''. + '
Show Student View'. + &Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView').'
'); } else { $r->print($message); }