--- loncom/interface/lonprintout.pm 2015/06/04 13:02:22 1.647 +++ loncom/interface/lonprintout.pm 2016/01/28 19:37:42 1.648 @@ -1,7 +1,7 @@ # The LearningOnline Network # Printout # -# $Id: lonprintout.pm,v 1.647 2015/06/04 13:02:22 raeburn Exp $ +# $Id: lonprintout.pm,v 1.648 2016/01/28 19:37:42 damieng Exp $ # # Copyright Michigan State University Board of Trustees # @@ -3438,13 +3438,16 @@ ENDPART #} } - # Set URLback if this is a construction space print so we can provide - # a link to the resource being edited. - # + # Set URLback so we can provide a link back to the resource and to change options. + # (Since the browser back button does not currently work with https, + # the back link is useful even when there is an easy-to-miss LON-CAPA back button.) my $URLback=''; #link to original document if ($helper->{'VARS'}->{'construction'} eq '1') { $URLback=$helper->{'VARS'}->{'filename'}; + } elsif ($helper->{VARS}{'symb'}) { + my ($map, $id, $url) = &Apache::lonnet::decode_symb($helper->{VARS}{'symb'}); + $URLback = &Apache::lonnet::clutter($url); } # # Final adjustment of the font size: