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