--- loncom/interface/lonsyllabus.pm 2013/05/03 21:57:13 1.118 +++ loncom/interface/lonsyllabus.pm 2013/05/05 02:21:20 1.119 @@ -1,7 +1,7 @@ # The LearningOnline Network # Syllabus # -# $Id: lonsyllabus.pm,v 1.118 2013/05/03 21:57:13 raeburn Exp $ +# $Id: lonsyllabus.pm,v 1.119 2013/05/05 02:21:20 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -522,13 +522,14 @@ ENDSCRIPT if ($target ne 'tex') { my $protocol = $Apache::lonnet::protocol{$homeserver}; $protocol = 'http' if ($protocol ne 'https'); - $r->print('
' - .'

' - .&mt('This syllabus can be publicly viewed at [_1]' - ,''.$protocol.'://'.&Apache::lonnet::hostname($homeserver).$r->uri.'') - .' '.&Apache::loncommon::help_open_topic('Syllabus_ExtLink') - .'

' - .'
'); + my $link = $protocol.'://'.&Apache::lonnet::hostname($homeserver).$r->uri; + $r->print('
' + .'' + .'' + .&mt('Public link (no log-in): [_1]',''.$link.'') + .' '.&Apache::loncommon::help_open_topic('Syllabus_ExtLink') + .'' + .'
'); my $lonhost = $r->dir_config('lonHostID'); $r->print(&chooser($external,$uploaded,$cdom,$cnum,$lonhost,\%syllabusfields,\%syllabus)); }