Changeset - 10a9e818215c
[Not reviewed]
default
0 2 0
Nathan Brink (binki) - 15 years ago 2010-10-20 19:14:32
ohnobinki@ohnopublishing.net
Clean up display of professor and class meeting location.
2 files changed with 7 insertions and 3 deletions:
0 comments (0 inline, 0 general)
class.schedule.php
Show inline comments
 
@@ -320,27 +320,27 @@ class Schedule
 
					;
 
				      $rowspan[$dayLoop] = $my_r - $r;
 

	
 
				      $single_multi = 'single';
 
				      if ($rowspan[$dayLoop] > 1)
 
					$single_multi = 'multi';
 

	
 
				      $table .= '            <td rowspan="' . $rowspan[$dayLoop]
 
					. '" class="' . $single_multi . ' class' . $j
 
					. '" title="prof: ' . htmlentities($section->getProf(), ENT_QUOTES)
 
					. ', room: ' . htmlentities($current_meeting->getLocation(), ENT_QUOTES) . '">'
 
					. htmlentities($class->getName(), ENT_QUOTES) . '-'
 
					. htmlentities($section->getLetter(), ENT_QUOTES) . "<br />\n"
 
					. '<span class="prof">' . htmlentities($section->getProf(), ENT_QUOTES) . "</span><br />\n"
 
					. '<span class="location">' . htmlentities($current_meeting->getLocation(), ENT_QUOTES) . "</span>\n"
 
					. htmlentities($section->getLetter(), ENT_QUOTES) . "\n"
 
					. '<span class="prof block">' . htmlentities($section->getProf(), ENT_QUOTES) . "</span>\n"
 
					. '<span class="location block">' . htmlentities($current_meeting->getLocation(), ENT_QUOTES) . "</span>\n"
 
					. "</td>\n";
 
				      $filled = TRUE;
 
				    }
 
			}
 
		    }
 

	
 
		  if ($rowspan[$dayLoop] > 0)
 
		    {
 
		      $filled = TRUE;
 
		      $rowspan[$dayLoop] --;
 
		    }
 

	
styles/general.css
Show inline comments
 
@@ -156,24 +156,28 @@ td.center {
 
/*  background: #92a689!important; */
 
  background: #EEE;
 

	
 
  cursor:default;
 
}
 
.green:hover {
 
  background: #68a64a!important;
 
}
 

	
 

	
 
/* General Classes */
 

	
 
.block
 
{
 
    display: block;
 
}
 
.clear {
 
  clear: both;
 
}
 
.noborder {
 
  border: none!important;
 
}
 
.righttext {
 
  text-align: right;
 
}
 
.centeredtext {
 
  text-align: center;
 
}
0 comments (0 inline, 0 general)