From 5f83e645f1ddac17fc64013713267a4c4ff3c9d6 Mon Sep 17 00:00:00 2001
From: Alan Jack Pippin <ajp@pippin.(none)>
Date: Tue, 14 Aug 2007 07:22:54 -0600
Subject: [PATCH] Font adjustments to participated table

---
 inc/class.eq.inc.php           | 7 ++++---
 templates/default/par_view.tpl | 8 ++++----
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/inc/class.eq.inc.php b/inc/class.eq.inc.php
index 4c26542..1b33e74 100644
--- a/inc/class.eq.inc.php
+++ b/inc/class.eq.inc.php
@@ -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>';
 	  }
diff --git a/templates/default/par_view.tpl b/templates/default/par_view.tpl
index 3186c9b..fe31041 100644
--- a/templates/default/par_view.tpl
+++ b/templates/default/par_view.tpl
@@ -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>
-- 
2.34.1