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 161... Line 161...
161
if ($FORM{excel}) {
161
if ($FORM{excel}) {
162
  exportExcel (\@ProductList, "RC_Officiating_Shifts");
162
  exportExcel (\@ProductList, "RC_Officiating_Shifts");
163
  exit;
163
  exit;
164
}
164
}
Line 165... Line 165...
165
 
165
 
Line 166... Line 166...
166
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.";
166
my $signedOnAs = $username ? "Welcome, $username. ".$h->a ({ href=>"index.pl?LOGOUT" }, "[Log Out]") : "You are not signed in.";
167
 
167
 
168
# Set some cookie stuff...
168
# Set some cookie stuff...
169
my $path = `dirname $ENV{SCRIPT_NAME}`; chomp $path; $path .= '/' unless $path eq "/";
169
my $path = `dirname $ENV{SCRIPT_NAME}`; chomp $path; $path .= '/' unless $path eq "/";