[LON-CAPA-cvs] cvs: loncom /interface lonfeedback.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Mon, 08 May 2006 22:12:31 -0000
albertel Mon May 8 18:12:31 2006 EDT
Modified files:
/loncom/interface lonfeedback.pm
Log:
- data_tableing
Index: loncom/interface/lonfeedback.pm
diff -u loncom/interface/lonfeedback.pm:1.195 loncom/interface/lonfeedback.pm:1.196
--- loncom/interface/lonfeedback.pm:1.195 Mon May 8 18:07:31 2006
+++ loncom/interface/lonfeedback.pm Mon May 8 18:12:29 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Feedback
#
-# $Id: lonfeedback.pm,v 1.195 2006/05/08 22:07:31 albertel Exp $
+# $Id: lonfeedback.pm,v 1.196 2006/05/08 22:12:29 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2015,19 +2015,17 @@
}
my $start_page = &Apache::loncommon::start_page('Discussion options');
-
+ my $table_start =&Apache::loncommon::start_data_table();
$r->print(<<END);
$start_page
<form name="pickpostersform" method="post">
- <table border="0">
- <tr>
- <td bgcolor="#777777">
- <table border="0" cellpadding="3">
- <tr bgcolor="#e6ffff">
- <td><b>No.</b></td>
- <td><b>Select</b></td>
- <td><b>Fullname</b><font color="#999999">(Username/domain)</font></td>
- <td><b>Posts</td>
+ <br />
+ $table_start
+ <tr>
+ <th>No.</th>
+ <th>Select</th>
+ <th>Fullname<font color="#999999">(Username/domain)</font></th>
+ <th>Posts</th>
</tr>
END
my $count = 0;
@@ -2039,18 +2037,19 @@
next;
} else {
$count ++;
- $r->print('<tr bgcolor="#ffffe6"><td align="right">'.$count.'</td><td align="center"><label><input name="stuinfo" type="checkbox" value="'.$_.'" /></td><td>'.$last.', '.$first.' ('.$uname.','.$udom.')</label></td><td>'.$postcounts{$_}.'</td></tr>');
+ $r->print(&Apache::loncommon::start_data_table_row().
+ '<td align="right">'.$count.'</td>
+ <td align="center"><label><input name="stuinfo" type="checkbox" value="'.$_.'" /></td>
+ <td>'.$last.', '.$first.' ('.$uname.','.$udom.')</label></td>
+ <td>'.$postcounts{$_}.'</td>'.
+ &Apache::loncommon::end_data_table_row());
}
}
}
}
-
+ $r->print(&Apache::loncommon::end_data_table());
my $end_page = &Apache::loncommon::end_page();
$r->print(<<END);
- </table>
- </td>
- </tr>
- </table>
<br />
<input type="hidden" name="sortposts" value="$sortposts" />
<input type="hidden" name="userpick" value="$symb" />