Changeset 241 for branches/acl


Ignore:
Timestamp:
04/19/05 14:18:08 (20 years ago)
Author:
Kris Deugau
Message:

/branches/acl

Bugfix and cosmetic cleanup. Remove the TEST warning in the heading,
fix the check for a "null" $webvar{action} so it doesn't trigger on
loading the "index".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/acl/cgi-bin/admin.cgi

    r239 r241  
    5858
    5959print "Content-type: text/html\n\n".
    60         "<html>\n<head>\n\t<title>TEST [IPDB admin tools] TEST</title>\n".
     60        "<html>\n<head>\n\t<title>[IPDB admin tools]</title>\n".
    6161        qq(\t<link rel="stylesheet" type="text/css" href="/ip/ipdb.css">\n).
    6262        "</head>\n<body>\n".
     
    327327  print qq(<hr><a href="admin.cgi?action=showACL">Back</a> to ACL listing\n);
    328328
    329 } else {
     329} elsif ($webvar{action} ne '<NULL>') {
    330330  print "webvar{action} check failed: Don't know how to $webvar{action}";
    331331}
Note: See TracChangeset for help on using the changeset viewer.