Subversion Repositories VORC

Rev

Rev 73 | Rev 85 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 73 Rev 80
Line 118... Line 118...
118
  
118
  
Line 119... Line 119...
119
  return "CLOSED" unless $now < $cutoff;
119
  return "CLOSED" unless $now < $cutoff;
Line 120... Line 120...
120
 
120
 
121
	my $classkey = join '|', $t->{date}, $t->{start_time}, $t->{location};
121
	my $classkey = join '|', $t->{date}, $t->{start_time}, $t->{location};
122
  
122
  
123
	($t->{signedup}) = $dbh->selectrow_array ("select id from v_class_signup where RCid = ? and id = ?", undef, $RCid, $t->{id} );
123
	($t->{signedup}) = $dbh->selectrow_array ("select role from v_class_signup where RCid = ? and id = ?", undef, $RCid, $t->{id} );
124
	my $droplink = $h->a ({ onClick=>"if (confirm('Really? You want to drop this class?')==true) { window.open('make_shift_change.pl?change=del&RCid=$RCid&id=$classkey','Confirm Change','resizable,height=260,width=370'); return false; }" }, "[DROP]");
124
	my $droplink = $h->a ({ onClick=>"if (confirm('Really? You want to drop this class?')==true) { window.open('make_shift_change.pl?change=del&RCid=$RCid&id=$t->{id}&role=$t->{signedup}','Confirm Change','resizable,height=260,width=370'); return false; }" }, "[DROP]");
125
	if (!$t->{available}) {
125
	if (!$t->{available}) {
126
	  my $full = "FULL";
126
	  my $full = "FULL";