--- loncom/interface/lonfeedback.pm 2011/12/12 03:04:30 1.312 +++ loncom/interface/lonfeedback.pm 2012/01/03 01:51:00 1.313 @@ -1,7 +1,7 @@ # The LearningOnline Network # Feedback # -# $Id: lonfeedback.pm,v 1.312 2011/12/12 03:04:30 www Exp $ +# $Id: lonfeedback.pm,v 1.313 2012/01/03 01:51:00 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -639,8 +639,9 @@ END if ($filterchoice) { $discussion .= ''.&mt('Filters').': '.$filterchoice; } - $discussion .= ''; } + $discussion .= ''; + } if ($dischash{$toggkey}) { my $storebutton = &mt('Save read/unread changes'); @@ -820,13 +821,15 @@ sub action_links_bar { $discussion .= '&previous='.$prevread; } $discussion .= &group_args($group); - $discussion .='">'.&mt('Chronological View').'   - '.&mt('Chronological View').'  '; + + my $otherviewurl='/adm/feedback?cmd=sortfilter&symb='.$escsymb.'&inhibitmenu=yes&modal=yes'; if ($newpostsflag) { - $discussion .= '&previous='.$prevread; + $otherviewurl .= '&previous='.$prevread; } - $discussion .= &group_args($group); - $discussion .='">'.&mt('Sorting/Filtering options').''.(' ' x2); + $otherviewurl .= &group_args($group); + $discussion .= &Apache::loncommon::modal_link($otherviewurl,&mt('Other Views ...'),800,340); + $discussion .=(' ' x2); } $discussion .=' $lt{'diso'}
$lt{'prca'} -

+
@@ -2248,7 +2251,8 @@ $start_page
$lt{'soor'}

-
+ + @@ -2373,6 +2377,7 @@ END $r->print(< +