Ignore:
Timestamp:
09/23/05 15:54:31 (19 years ago)
Author:
Kris Deugau
Message:

/branches/stable

Merge changes from /trunk revisions:

234
237
254 (ipdb.css only)
261
279
284
285

This merges the new search system (234, 237, 254), cleans up
some display CSS (254, 279), cleans up some leftover code (r261),
and merges the "private data" code (284, 285 - note SWIP hacks conflict).

/trunk should now be almost identical to /branches/stable.

File:
1 edited

Legend:

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

    r269 r286  
    301301
    302302  print "<hr>Users with access:\n<table border=1>\n";
     303  print "<tr><td></td><td align=center colspan=3>General access</td></tr>\n";
    303304  print "<tr><td>Username</td><td>Add new</td><td>Change</td>".
    304         "<td>Delete</td><td>Admin user</td></tr>\n".
     305        "<td>Delete</td><td>Systems/Networking</td><td>Admin user</td></tr>\n".
    305306        "<form action=admin.cgi method=POST>\n";
    306307  $sth = $ip_dbh->prepare("select username,acl from users order by username");
     
    314315        "></td><td><input type=checkbox name=change".($data[1] =~ /c/ ? ' checked=y' : '').
    315316        "></td><td><input type=checkbox name=del".($data[1] =~ /d/ ? ' checked=y' : '').
     317        "></td><td><input type=checkbox name=sysnet".($data[1] =~ /s/ ? ' checked=y' : '').
    316318        "></td><td><input type=checkbox name=admin".($data[1] =~ /A/ ? ' checked=y' : '').
    317319        qq(></td><td><input type=submit value="Update"></td></form>\n).
     
    326328  my $acl = 'b';
    327329  if ($webvar{admin} eq 'on') {
    328     $acl .= "acdA";
     330    $acl .= "acdsA";
    329331  } else {
    330332    $acl .= ($webvar{add} eq 'on' ? 'a' : '').
    331333        ($webvar{change} eq 'on' ? 'c' : '').
    332         ($webvar{del} eq 'on' ? 'd' : '');
     334        ($webvar{del} eq 'on' ? 'd' : '').
     335        ($webvar{sysnet} eq 'on' ? 's' : '');
    333336  }
    334337  print "New ACL: $acl<br>\n";
Note: See TracChangeset for help on using the changeset viewer.