Subversion Repositories VORC

Rev

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

Rev 65 Rev 138
Line 144... Line 144...
144
if ($FORM{excel}) {
144
if ($FORM{excel}) {
145
  exportExcel (\@ProductList, "RC_Officiating_Shifts");
145
  exportExcel (\@ProductList, "RC_Officiating_Shifts");
146
  exit;
146
  exit;
147
}
147
}
Line 148... Line 148...
148
 
148
 
Line 149... Line 149...
149
my $signedOnAs = $username ? "Welcome, $username. ".$h->a ({ href=>"index.pl", onClick=>"document.cookie = 'RCAUTH=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/';return true;" }, "[Log Out]") : "You are not signed in.";
149
my $signedOnAs = $username ? "Welcome, $username. ".$h->a ({ href=>"index.pl?LOGOUT" }, "[Log Out]") : "You are not signed in.";
150
 
150
 
151
# Set some cookie stuff...
151
# Set some cookie stuff...
152
my $path = `dirname $ENV{SCRIPT_NAME}`; chomp $path; $path .= '/' unless $path eq "/";
152
my $path = `dirname $ENV{SCRIPT_NAME}`; chomp $path; $path .= '/' unless $path eq "/";