Font adjustments to participated table
authorAlan Jack Pippin <ajp@pippin.(none)>
Tue, 14 Aug 2007 13:22:54 +0000 (07:22 -0600)
committerAlan J. Pippin <ajp@pippins.net>
Tue, 14 Aug 2007 13:22:54 +0000 (07:22 -0600)
inc/class.eq.inc.php
templates/default/par_view.tpl

index 4c26542c8efcc38020379282c3aec1f27e86166c..1b33e7452a2a1e3a00a96e57b163b0f0a1276f2c 100644 (file)
@@ -1031,7 +1031,7 @@ class eq
          $i++;
        }
       
-      $elder_width=270; $part_width=25; $assignment_width=50;
+      $elder_width=300; $part_width=25; $assignment_width=50;
       $total_width=$elder_width+$part_width;
       for ($i=0; $i < count($assignment_list); $i++) {
        $this->t->set_var('assignment_name',$assignment_list[$i]['name']);
@@ -1063,8 +1063,9 @@ class eq
            }
          }
          if($checkmark) {
-           $part_table .= '<td align=center><img src="checkmark.gif">'.$num_matches.'<br>'.$date.'</td>';
-           $participated++;
+           $part_table .= '<td align=center><img src="checkmark.gif">';
+           $part_table .= '<font size=-2>'.$num_matches.'</font><br>';
+           $part_table .= '<font size=-2>'.$date.'</font></td>';
          } else {
            $part_table .= '<td>&nbsp;</td>';
          }
index 3186c9bcdbc1e76c2d55adc957a4113d492e51dc..fe31041db1394acc5477b892d5503818be46d30c 100644 (file)
@@ -8,15 +8,15 @@
        <br><br>
        <table border="0" width="{total_width}" cellspacing="2" cellpadding="2">
        <tr bgcolor="#c9c9c9">
-               <th width={elder_width}>Elder</th>
+               <td width={elder_width}><b><center>Elder</center></b></td>
 <!-- BEGIN header_list -->
-               <th width={act_width}><font size=-3>{assignment_name}</font></th>
+               <td width={act_width}><b><center><font size=-2>{assignment_name}</font></center></b></td>
 <!-- END header_list -->
-               <th width={part_width}><font size=-3>Participated</font></th>
+               <td width={part_width}><b><center><font size=-2>Participated</font></center></b></td>
        </tr>
 
 <!-- BEGIN elder_list -->
-       <tr bgcolor="{tr_color}"><td>{elder_name}</td>{part_table}</tr>
+       <tr bgcolor="{tr_color}"><td><b><font size=-2>{elder_name}</b></font></td>{part_table}</tr>
 <!-- END elder_list -->
 
        </table>