Subversion Repositories VORC

Rev

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

Rev 121 Rev 138
Line 174... Line 174...
174
if ($FORM{excel}) {
174
if ($FORM{excel}) {
175
  exportExcel (\@ProductList, "RC_Officiating_Shifts");
175
  exportExcel (\@ProductList, "RC_Officiating_Shifts");
176
  exit;
176
  exit;
177
}
177
}
Line 178... Line 178...
178
 
178
 
Line 179... Line 179...
179
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.";
179
my $signedOnAs = $username ? "Welcome, $username. ".$h->a ({ href=>"index.pl?LOGOUT" }, "[Log Out]") : "You are not signed in.";
180
 
180
 
181
# Set some cookie stuff...
181
# Set some cookie stuff...
182
my $path = `dirname $ENV{SCRIPT_NAME}`; chomp $path; $path .= '/' unless $path eq "/";
182
my $path = `dirname $ENV{SCRIPT_NAME}`; chomp $path; $path .= '/' unless $path eq "/";