From: Alan J. Pippin <ajp@server.pippins.net>
Date: Tue, 13 May 2008 14:34:49 +0000 (-0600)
Subject: Reduced font of drop down menus to allow appointment slot to fit on 1 line
X-Git-Tag: release_0_3_0~1
X-Git-Url: http://git.pippins.net/%27%20.%20%24this-%3Ephpgw_js_url%20.%20%27/jscalendar/static/images/x.gif?a=commitdiff_plain;h=991350fc9802caacbe14fa9052d7abd2e8fc00d6;p=eq%2F.git

Reduced font of drop down menus to allow appointment slot to fit on 1 line
---

diff --git a/inc/class.eq.inc.php b/inc/class.eq.inc.php
index 32f8245..dd8cff7 100644
--- a/inc/class.eq.inc.php
+++ b/inc/class.eq.inc.php
@@ -3649,7 +3649,7 @@ class eq
       $this->t->set_var('schedule_ppi_link',$GLOBALS['phpgw']->link('/eq/index.php','menuaction=eq.eq.ppi_sched'));
       $this->t->set_var('schedule_ppi_link_title','Schedule Yearly PPIs');
       
-      $date_width=150; $time_width=225; $elder_width=200; $family_width=200; $location_width=100;
+      $date_width=150; $time_width=220; $elder_width=170; $family_width=180; $location_width=100;
       $table_width=$date_width + $time_width + $elder_width + $family_width + $location_width;
       $header_row = "<th width=$date_width><font size=-2>Date</th>";
       $header_row.= "<th width=$time_width><font size=-2>Time</th>";      
@@ -3887,7 +3887,7 @@ class eq
 	    $table_data.= "</td>";
 	    
 	    // Elder drop down list (for PPIs)
-	    $table_data.= '<td align=center><select name=sched['.$presidency.']['.$appointment.'][elder]>';
+	    $table_data.= '<td align=center><select name=sched['.$presidency.']['.$appointment.'][elder] STYLE="font-size : 8pt">';
 	    $table_data.= '<option value=0></option>';  
 	    for ($j=0; $j < count($elder_id); $j++) {
 	      $id = $elder_id[$j];
@@ -3898,7 +3898,7 @@ class eq
 	    $table_data.='</select></td>';
 
 	    // Family drop down list (for Visits)
-	    $table_data.= '<td align=center><select name=sched['.$presidency.']['.$appointment.'][family]>';
+	    $table_data.= '<td align=center><select name=sched['.$presidency.']['.$appointment.'][family] STYLE="font-size : 8pt">';
 	    $table_data.= '<option value=0></option>';  	    
 	    for ($j=0; $j < count($elder_id); $j++) {
 	      $id = $family_id[$j];
@@ -3910,7 +3910,7 @@ class eq
 
 	    // Location text box
 	    $table_data.= '<td align=center><input type=text size="25" maxlength="120" ';
-	    $table_data.= 'name="sched['.$presidency.']['.$appointment.'][location]" value="'.$location.'">';
+	    $table_data.= 'name="sched['.$presidency.']['.$appointment.'][location]" value="'.$location.'" STYLE="font-size : 8pt">';
 	    
 	    $table_data.= '<input type=hidden name="sched['.$presidency.']['.$appointment.'][appointment]" value="'.$appointment.'">';
 	    $table_data.= '<input type=hidden name="sched['.$presidency.']['.$appointment.'][presidency]" value="'.$presidency.'">';
@@ -3936,7 +3936,7 @@ class eq
 	  $table_data.= "</td>";
 	  
 	  // Elder drop down list
-	  $table_data.= '<td align=center><select name=sched['.$presidency.']['.$appointment.'][elder]>';
+	  $table_data.= '<td align=center><select name=sched['.$presidency.']['.$appointment.'][elder] STYLE="font-size : 8pt">';
 	  $table_data.= '<option value=0></option>';  
 	  for ($j=0; $j < count($elder_id); $j++) {
 	    $id = $elder_id[$j];
@@ -3946,7 +3946,7 @@ class eq
 	  $table_data.='</select></td>';
 	  
 	  // Family drop down list
-	  $table_data.= '<td align=center><select name=sched['.$presidency.']['.$appointment.'][family]>';
+	  $table_data.= '<td align=center><select name=sched['.$presidency.']['.$appointment.'][family] STYLE="font-size : 8pt">';
 	  $table_data.= '<option value=0></option>';  	    
 	  for ($j=0; $j < count($elder_id); $j++) {
 	    $id = $family_id[$j];
@@ -3957,7 +3957,7 @@ class eq
 
 	  // Location text box
 	  $table_data.= '<td align=center><input type=text size="25" maxlength="120" ';
-	  $table_data.= 'name="sched['.$presidency.']['.$appointment.'][location]" value="">';
+	  $table_data.= 'name="sched['.$presidency.']['.$appointment.'][location]" value="" STYLE="font-size : 8pt">';
 	  
 	  $table_data.= '<input type=hidden name="sched['.$presidency.']['.$appointment.'][appointment]" value="'.$appointment.'">';
 	  $table_data.= '<input type=hidden name="sched['.$presidency.']['.$appointment.'][presidency]" value="'.$presidency.'">';