'.$text.'
';
} else {
print ''.$file.'
';
}
}
/*****************************************************************/
/*****************************************************************/
/*****************************************************************/
function schedule_misc($what,$rowspan=4,$colspan=1){
print '
'.$what.' | ';
}
function schedule_lab($which,$time,$room,$ta,$mentors,$colspan=1,$width="100%") {
// print 'Lab Section '.$which.' '.$time.' '.$room.' TA: '.$ta.' mentors: '.$mentors.' | ';
print 'Lab Section '.$which.' '.$time.' '.$room.' TA: '.$ta.' mentors: '.$mentors.' | ';
}
function schedule_lecture($time,$room,$rowspan=4) {
print 'Lecture '.$time.' '.$room.' | ';
}
function schedule_testblock($time,$room) {
print 'Test Block '.$time.' '.$room.' | ';
}
function schedule_instructor_officehours($who,$room,$rowspan=1,$time=null) {
if (isset($time)) {
print ''.$who.' '.$time.' '.$room.' | ';
} else {
print ''.$who.' '.$room.' | ';
}
}
function schedule_alac_officehours($alac,$room,$time,$rowspan,$width="100%") {
print ''.$alac.' '.$room.' '.$time.' | ';
}
function schedule_ta_officehours($ta,$room,$rowspan,$time=null,$colspan=1,$width="12%") {
if (isset($time)) {
print ''.$ta.' '.$time.' '.$room.' | ';
} else {
print ''.$ta.' '.$room.' | ';
}
}
function schedule_hybrid_ta_officehours($ta,$room,$rowspan,$time=null,$colspan=1,$width="12%") {
if (isset($time)) {
print ''.$ta.' '.$time.' '.$room.' | ';
} else {
print ''.$ta.' '.$room.' | ';
}
}
function schedule_studyspace($room,$rowspan,$time,$colspan=1) {
print 'study space '.$time.' '.$room.' | ';
}
function schedule_alac($startdate,$time,$room,$colspan=1,$width="100%",$title="ALAC Drop In Tutoring") {
print '';
print ''.$title.'';
print ' Start date: '.$startdate.'';
print ' '.$time.' '.$room.' | ';
}
function blank($rowspan=1,$colspan=1,$width=null) {
if (isset($width)) {
print ' | ';
} else {
print ' | ';
}
}
function schedule_time($t) {
print ''.$t.' | ';
}
function schedule_day($d,$width,$colspan=1) {
print ''.$d.' | ';
}
function row_begin($time=null) {
print '';
if(isset($time))
schedule_time($time);
else
blank(1,1,"1%");
}
function row_end() {
print '
';
}
?>