Subversion Repositories VORC

Rev

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

Rev 121 Rev 138
Line 145... Line 145...
145
if ($FORM{excel}) {
145
if ($FORM{excel}) {
146
  exportExcel (\@ProductList, "RC_Officiating_Shifts");
146
  exportExcel (\@ProductList, "RC_Officiating_Shifts");
147
  exit;
147
  exit;
148
}
148
}
Line 149... Line 149...
149
 
149
 
Line 150... Line 150...
150
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.";
150
my $signedOnAs = $username ? "Welcome, $username. ".$h->a ({ href=>"index.pl?LOGOUT" }, "[Log Out]") : "You are not signed in.";
151
 
151
 
152
# Set some cookie stuff...
152
# Set some cookie stuff...
153
my $path = `dirname $ENV{SCRIPT_NAME}`; chomp $path; $path .= '/' unless $path eq "/";
153
my $path = `dirname $ENV{SCRIPT_NAME}`; chomp $path; $path .= '/' unless $path eq "/";