--- loncom/interface/lontrackstudent.pm 2017/11/12 23:06:51 1.40 +++ loncom/interface/lontrackstudent.pm 2024/11/21 07:26:03 1.41 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lontrackstudent.pm,v 1.40 2017/11/12 23:06:51 raeburn Exp $ +# $Id: lontrackstudent.pm,v 1.41 2024/11/21 07:26:03 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -46,6 +46,7 @@ use strict; use Apache::Constants qw(:common :http); use Apache::lonmysql; use Apache::lonnet; +use Apache::loncommon; use Apache::lonlocal; use Time::HiRes; use DateTime(); @@ -324,6 +325,9 @@ sub output_results { $_=&unescape($_); } my ($title,$src); + if ($symb =~ m{^\Q/tiny/$cdom/\E\w+$}) { + $symb = &Apache::loncommon::symb_from_tinyurl($symb,$cnum,$cdom); + } if ($symb =~ m:^/adm/:) { $title = $symb; $src = $symb; @@ -346,6 +350,9 @@ sub output_results { $src = '/dev/null'; } } + if ($src =~ /.sequence$/) { + $src .= '?navmap=1'; + } } my %classes; my $class_count=0; @@ -432,7 +439,7 @@ sub convert_timezone { sub display_values { my ($action,$values)=@_; my $result='