| Line 110... |
Line 110... |
| 110 |
$t->{derby_name} .= " | <A HREF='#' onClick=\"if (confirm('Really? They were a no show?')==true) { window.open('make_shift_change.pl?noshow=true&change=del&RCid=$t->{RCid}&id=$t->{id}&role=$t->{role}','Confirm Shift Change','resizable,height=260,width=370'); return false; }\">[NO SHOW]</a>";
|
110 |
$t->{derby_name} .= " | <A HREF='#' onClick=\"if (confirm('Really? They were a no show?')==true) { window.open('make_shift_change.pl?noshow=true&change=del&RCid=$t->{RCid}&id=$t->{id}&role=$t->{role}','Confirm Shift Change','resizable,height=260,width=370'); return false; }\">[NO SHOW]</a>";
|
| 111 |
}
|
111 |
}
|
| 112 |
} elsif (!$t->{derby_name}) {
|
112 |
} elsif (!$t->{derby_name}) {
|
| 113 |
$t->{dept} = "ANN";
|
113 |
$t->{dept} = "ANN";
|
| 114 |
if ($t->{track} eq "C2") {
|
114 |
if ($t->{track} eq "C2") {
|
| 115 |
return $t->{derby_name};
|
115 |
return "*no announcers*";
|
| 116 |
}
|
116 |
}
|
| 117 |
if (findConflict ($ORCUSER->{RCid}, $t->{id}, "game")) {
|
117 |
if (findConflict ($ORCUSER->{RCid}, $t->{id}, "game")) {
|
| 118 |
$t->{derby_name} .= "*schedule conflict*";
|
118 |
$t->{derby_name} .= "*schedule conflict*";
|
| 119 |
} elsif (signUpEligible ($ORCUSER, $t) and $now < $cutoff) {
|
119 |
} elsif (signUpEligible ($ORCUSER, $t) and $now < $cutoff) {
|
| 120 |
# SIGN UP
|
120 |
# SIGN UP
|
| Line 174... |
Line 174... |
| 174 |
push @displayFields, $_;
|
174 |
push @displayFields, $_;
|
| 175 |
}
|
175 |
}
|
| 176 |
}
|
176 |
}
|
| 177 |
}
|
177 |
}
|
| Line 178... |
Line 178... |
| 178 |
|
178 |
|
| Line 179... |
Line 179... |
| 179 |
my @addToWhereClause = ("year(date) = '$YEAR'", "type = 'announcer'");
|
179 |
my @addToWhereClause = ("year(date) = '$YEAR'", "type = 'announcer'", "track <> 'C2'");
|
| 180 |
|
180 |
|
| 181 |
if (exists $FORM{autoload}) { # If the FORM was submitted (i.e. the page is being redisplayed),
|
181 |
if (exists $FORM{autoload}) { # If the FORM was submitted (i.e. the page is being redisplayed),
|
| 182 |
# build the data for the cookie that remembers the page setup
|
182 |
# build the data for the cookie that remembers the page setup
|