[LON-CAPA-cvs] cvs: loncom /interface lonfeedback.pm
raeburn
raeburn@source.lon-capa.org
Mon, 12 Oct 2009 18:46:03 -0000
raeburn Mon Oct 12 18:46:03 2009 EDT
Modified files:
/loncom/interface lonfeedback.pm
Log:
- Eliminate duplicate code used for table cell.
Index: loncom/interface/lonfeedback.pm
diff -u loncom/interface/lonfeedback.pm:1.276 loncom/interface/lonfeedback.pm:1.277
--- loncom/interface/lonfeedback.pm:1.276 Wed Aug 12 16:03:58 2009
+++ loncom/interface/lonfeedback.pm Mon Oct 12 18:46:03 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Feedback
#
-# $Id: lonfeedback.pm,v 1.276 2009/08/12 16:03:58 bisitz Exp $
+# $Id: lonfeedback.pm,v 1.277 2009/10/12 18:46:03 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -777,11 +777,11 @@
sub action_links_bar {
my ($colspan,$ressymb,$visible,$newpostsflag,$group,$prevread,$markondisp) = @_;
my $discussion = '<tr><td class="LC_disc_action_links_bar" colspan="'.$colspan.'">'.
- '<table width="100%" class="LC_disc_action_table"><tr>';
+ '<table width="100%" class="LC_disc_action_table"><tr>'.
+ '<td class="LC_disc_action_left">';
my $escsymb=&escape($ressymb);
if ($visible>2) {
- $discussion .= '<td class="LC_disc_action_left">'.
- '<a href="/adm/feedback?cmd=threadedon&symb='.$escsymb;
+ $discussion .= '<a href="/adm/feedback?cmd=threadedon&symb='.$escsymb;
if ($newpostsflag) {
$discussion .= '&previous='.$prevread;
}
@@ -799,8 +799,6 @@
}
$discussion .= &group_args($group);
$discussion .='">'.&mt('Sorting/Filtering options').'</a>'.(' ' x2);
- } else {
- $discussion .= '<td class="LC_disc_action_left>';
}
$discussion .='<a href="/adm/feedback?export='.$escsymb;
if ($newpostsflag) {