diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-01-22 21:28:44 -0500 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-01-22 21:28:44 -0500 |
commit | 73f1ba0ef286cdd669cf5cf64bb816e8b2cac0bb (patch) | |
tree | 89d6b8e0f107a5a84353c18c8abcf4131038e1bb /GradeBook.tcl | |
parent | 4040df4a2cfa99191b39cc7305898d47145423bb (diff) | |
download | GradeBook-73f1ba0ef286cdd669cf5cf64bb816e8b2cac0bb.tar.gz GradeBook-73f1ba0ef286cdd669cf5cf64bb816e8b2cac0bb.zip |
table rows have categoty class in the html output
Ignore-this: 3f2ebcf4a63d3e427287448cf661ee61
darcs-hash:20110123022844-067c0-f26b166cab7379b1719b446690f0ba14e6568a80.gz
Diffstat (limited to 'GradeBook.tcl')
-rwxr-xr-x | GradeBook.tcl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/GradeBook.tcl b/GradeBook.tcl index d81bc4e..a080e10 100755 --- a/GradeBook.tcl +++ b/GradeBook.tcl @@ -216,8 +216,10 @@ proc htmlDBout {db permission_list user {sort_col {}}} { } foreach index $v(*) { if { $index != "*" } { + # detect what column category it is + set category [SelectColValue4User $index _Col_Category_] set col_value [htmlReplaceEmptyString $v($index)] - puts -nonewline "<td>$col_value</td>" + puts -nonewline "<td class=\"$category\">$col_value</td>" } } puts "</tr>" |