| | @@ -459,11 +459,11 @@ |
| 459 | 459 | @ <input type="hidden" name="login" value="%s(zLogin)"> |
| 460 | 460 | @ <input type="hidden" name="info" value=""> |
| 461 | 461 | @ <input type="hidden" name="pw" value="*"> |
| 462 | 462 | } |
| 463 | 463 | @ <input type="hidden" name="referer" value="%h(cgi_referer("setup_ulist"))"> |
| 464 | | - @ <table> |
| 464 | + @ <table width="100%%"> |
| 465 | 465 | @ <tr> |
| 466 | 466 | @ <td class="usetupEditLabel">User ID:</td> |
| 467 | 467 | if( uid ){ |
| 468 | 468 | @ <td>%d(uid) <input type="hidden" name="id" value="%d(uid)" /></td> |
| 469 | 469 | }else{ |
| | @@ -482,89 +482,85 @@ |
| 482 | 482 | @ <td><textarea name="info" cols="40" rows="2">%h(zInfo)</textarea></td> |
| 483 | 483 | } |
| 484 | 484 | @ </tr> |
| 485 | 485 | @ <tr> |
| 486 | 486 | @ <td class="usetupEditLabel">Capabilities:</td> |
| 487 | | - @ <td> |
| 488 | | -#define B(x) inherit[x] |
| 489 | | - @ <table border=0><tr><td valign="top"> |
| 490 | | - if( g.perm.Setup ){ |
| 491 | | - @ <label><input type="checkbox" name="as"%s(oa['s']) /> |
| 492 | | - @ Setup%s(B('s'))</label><br /> |
| 493 | | - } |
| 494 | | - @ <label><input type="checkbox" name="aa"%s(oa['a']) /> |
| 495 | | - @ Admin%s(B('a'))</label><br /> |
| 496 | | - @ <label><input type="checkbox" name="au"%s(oa['u']) /> |
| 497 | | - @ Reader%s(B('u'))</label><br> |
| 498 | | - @ <label><input type="checkbox" name="av"%s(oa['v']) /> |
| 499 | | - @ Developer%s(B('v'))</label><br /> |
| 500 | | - @ <label><input type="checkbox" name="ad"%s(oa['d']) /> |
| 501 | | - @ Delete%s(B('d'))</label><br /> |
| 502 | | - @ <label><input type="checkbox" name="ae"%s(oa['e']) /> |
| 503 | | - @ View-PII%s(B('e'))</label><br /> |
| 504 | | - @ <label><input type="checkbox" name="ap"%s(oa['p']) /> |
| 505 | | - @ Password%s(B('p'))</label><br /> |
| 506 | | - @ <label><input type="checkbox" name="ai"%s(oa['i']) /> |
| 507 | | - @ Check-In%s(B('i'))</label><br /> |
| 508 | | - @ <label><input type="checkbox" name="ao"%s(oa['o']) /> |
| 509 | | - @ Check-Out%s(B('o'))</label><br /> |
| 510 | | - @ <label><input type="checkbox" name="ah"%s(oa['h']) /> |
| 511 | | - @ Hyperlinks%s(B('h'))</label><br /> |
| 512 | | - @ <label><input type="checkbox" name="ab"%s(oa['b']) /> |
| 513 | | - @ Attachments%s(B('b'))</label><br> |
| 514 | | - @ <label><input type="checkbox" name="ag"%s(oa['g']) /> |
| 515 | | - @ Clone%s(B('g'))</label><br /> |
| 516 | | - |
| 517 | | - @ </td><td><td width="40"></td><td valign="top"> |
| 518 | | - @ <label><input type="checkbox" name="aj"%s(oa['j']) /> |
| 519 | | - @ Read Wiki%s(B('j'))</label><br> |
| 520 | | - @ <label><input type="checkbox" name="af"%s(oa['f']) /> |
| 521 | | - @ New Wiki%s(B('f'))</label><br /> |
| 522 | | - @ <label><input type="checkbox" name="am"%s(oa['m']) /> |
| 523 | | - @ Append Wiki%s(B('m'))</label><br /> |
| 524 | | - @ <label><input type="checkbox" name="ak"%s(oa['k']) /> |
| 525 | | - @ Write Wiki%s(B('k'))</label><br /> |
| 526 | | - @ <label><input type="checkbox" name="al"%s(oa['l']) /> |
| 527 | | - @ Moderate Wiki%s(B('l'))</label><br /> |
| 528 | | - @ <label><input type="checkbox" name="ar"%s(oa['r']) /> |
| 529 | | - @ Read Ticket%s(B('r'))</label><br /> |
| 530 | | - @ <label><input type="checkbox" name="an"%s(oa['n']) /> |
| 531 | | - @ New Tickets%s(B('n'))</label><br /> |
| 532 | | - @ <label><input type="checkbox" name="ac"%s(oa['c']) /> |
| 533 | | - @ Append To Ticket%s(B('c'))</label><br> |
| 534 | | - @ <label><input type="checkbox" name="aw"%s(oa['w']) /> |
| 535 | | - @ Write Tickets%s(B('w'))</label><br /> |
| 536 | | - @ <label><input type="checkbox" name="aq"%s(oa['q']) /> |
| 537 | | - @ Moderate Tickets%s(B('q'))</label><br> |
| 538 | | - @ <label><input type="checkbox" name="at"%s(oa['t']) /> |
| 539 | | - @ Ticket Report%s(B('t'))</label><br /> |
| 540 | | - @ <label><input type="checkbox" name="ax"%s(oa['x']) /> |
| 487 | + @ <td width="100%%"> |
| 488 | +#define B(x) inherit[x] |
| 489 | + @ <div class="columns" style="column-width:13em;"> |
| 490 | + @ <ul style="list-style-type: none;"> |
| 491 | + if( g.perm.Setup ){ |
| 492 | + @ <li><label><input type="checkbox" name="as"%s(oa['s']) /> |
| 493 | + @ Setup%s(B('s'))</label> |
| 494 | + } |
| 495 | + @ <li><label><input type="checkbox" name="aa"%s(oa['a']) /> |
| 496 | + @ Admin%s(B('a'))</label> |
| 497 | + @ <li><label><input type="checkbox" name="au"%s(oa['u']) /> |
| 498 | + @ Reader%s(B('u'))</label> |
| 499 | + @ <li><label><input type="checkbox" name="av"%s(oa['v']) /> |
| 500 | + @ Developer%s(B('v'))</label> |
| 501 | + @ <li><label><input type="checkbox" name="ad"%s(oa['d']) /> |
| 502 | + @ Delete%s(B('d'))</label> |
| 503 | + @ <li><label><input type="checkbox" name="ae"%s(oa['e']) /> |
| 504 | + @ View-PII%s(B('e'))</label> |
| 505 | + @ <li><label><input type="checkbox" name="ap"%s(oa['p']) /> |
| 506 | + @ Password%s(B('p'))</label> |
| 507 | + @ <li><label><input type="checkbox" name="ai"%s(oa['i']) /> |
| 508 | + @ Check-In%s(B('i'))</label> |
| 509 | + @ <li><label><input type="checkbox" name="ao"%s(oa['o']) /> |
| 510 | + @ Check-Out%s(B('o'))</label> |
| 511 | + @ <li><label><input type="checkbox" name="ah"%s(oa['h']) /> |
| 512 | + @ Hyperlinks%s(B('h'))</label> |
| 513 | + @ <li><label><input type="checkbox" name="ab"%s(oa['b']) /> |
| 514 | + @ Attachments%s(B('b'))</label> |
| 515 | + @ <li><label><input type="checkbox" name="ag"%s(oa['g']) /> |
| 516 | + @ Clone%s(B('g'))</label> |
| 517 | + @ <li><label><input type="checkbox" name="aj"%s(oa['j']) /> |
| 518 | + @ Read Wiki%s(B('j'))</label> |
| 519 | + @ <li><label><input type="checkbox" name="af"%s(oa['f']) /> |
| 520 | + @ New Wiki%s(B('f'))</label> |
| 521 | + @ <li><label><input type="checkbox" name="am"%s(oa['m']) /> |
| 522 | + @ Append Wiki%s(B('m'))</label> |
| 523 | + @ <li><label><input type="checkbox" name="ak"%s(oa['k']) /> |
| 524 | + @ Write Wiki%s(B('k'))</label> |
| 525 | + @ <li><label><input type="checkbox" name="al"%s(oa['l']) /> |
| 526 | + @ Moderate Wiki%s(B('l'))</label> |
| 527 | + @ <li><label><input type="checkbox" name="ar"%s(oa['r']) /> |
| 528 | + @ Read Ticket%s(B('r'))</label> |
| 529 | + @ <li><label><input type="checkbox" name="an"%s(oa['n']) /> |
| 530 | + @ New Tickets%s(B('n'))</label> |
| 531 | + @ <li><label><input type="checkbox" name="ac"%s(oa['c']) /> |
| 532 | + @ Append To Ticket%s(B('c'))</label> |
| 533 | + @ <li><label><input type="checkbox" name="aw"%s(oa['w']) /> |
| 534 | + @ Write Tickets%s(B('w'))</label> |
| 535 | + @ <li><label><input type="checkbox" name="aq"%s(oa['q']) /> |
| 536 | + @ Moderate Tickets%s(B('q'))</label> |
| 537 | + @ <li><label><input type="checkbox" name="at"%s(oa['t']) /> |
| 538 | + @ Ticket Report%s(B('t'))</label> |
| 539 | + @ <li><label><input type="checkbox" name="ax"%s(oa['x']) /> |
| 541 | 540 | @ Private%s(B('x'))</label> |
| 542 | | - |
| 543 | | - @ </td><td><td width="40"></td><td valign="top"> |
| 544 | | - @ <label><input type="checkbox" name="ay"%s(oa['y']) /> |
| 545 | | - @ Write Unversioned%s(B('y'))</label><br /> |
| 546 | | - @ <label><input type="checkbox" name="az"%s(oa['z']) /> |
| 547 | | - @ Download Zip%s(B('z'))</label><br /> |
| 548 | | - @ <label><input type="checkbox" name="a2"%s(oa['2']) /> |
| 549 | | - @ Read Forum%s(B('2'))</label><br /> |
| 550 | | - @ <label><input type="checkbox" name="a3"%s(oa['3']) /> |
| 551 | | - @ Write Forum%s(B('3'))</label><br /> |
| 552 | | - @ <label><input type="checkbox" name="a4"%s(oa['4']) /> |
| 553 | | - @ WriteTrusted Forum%s(B('4'))</label><br> |
| 554 | | - @ <label><input type="checkbox" name="a5"%s(oa['5']) /> |
| 555 | | - @ Moderate Forum%s(B('5'))</label><br> |
| 556 | | - @ <label><input type="checkbox" name="a6"%s(oa['6']) /> |
| 557 | | - @ Supervise Forum%s(B('6'))</label><br> |
| 558 | | - @ <label><input type="checkbox" name="a7"%s(oa['7']) /> |
| 559 | | - @ Email Alerts%s(B('7'))</label><br> |
| 560 | | - @ <label><input type="checkbox" name="aA"%s(oa['A']) /> |
| 561 | | - @ Send Announcements%s(B('A'))</label><br> |
| 562 | | - @ <label><input type="checkbox" name="aD"%s(oa['D']) /> |
| 541 | + @ <li><label><input type="checkbox" name="ay"%s(oa['y']) /> |
| 542 | + @ Write Unversioned%s(B('y'))</label> |
| 543 | + @ <li><label><input type="checkbox" name="az"%s(oa['z']) /> |
| 544 | + @ Download Zip%s(B('z'))</label> |
| 545 | + @ <li><label><input type="checkbox" name="a2"%s(oa['2']) /> |
| 546 | + @ Read Forum%s(B('2'))</label> |
| 547 | + @ <li><label><input type="checkbox" name="a3"%s(oa['3']) /> |
| 548 | + @ Write Forum%s(B('3'))</label> |
| 549 | + @ <li><label><input type="checkbox" name="a4"%s(oa['4']) /> |
| 550 | + @ WriteTrusted Forum%s(B('4'))</label> |
| 551 | + @ <li><label><input type="checkbox" name="a5"%s(oa['5']) /> |
| 552 | + @ Moderate Forum%s(B('5'))</label> |
| 553 | + @ <li><label><input type="checkbox" name="a6"%s(oa['6']) /> |
| 554 | + @ Supervise Forum%s(B('6'))</label> |
| 555 | + @ <li><label><input type="checkbox" name="a7"%s(oa['7']) /> |
| 556 | + @ Email Alerts%s(B('7'))</label> |
| 557 | + @ <li><label><input type="checkbox" name="aA"%s(oa['A']) /> |
| 558 | + @ Send Announcements%s(B('A'))</label> |
| 559 | + @ <li><label><input type="checkbox" name="aD"%s(oa['D']) /> |
| 563 | 560 | @ Enable Debug%s(B('D'))</label> |
| 564 | | - @ </td></tr> |
| 565 | | - @ </table> |
| 561 | + @ </ul></div> |
| 566 | 562 | @ </td> |
| 567 | 563 | @ </tr> |
| 568 | 564 | @ <tr> |
| 569 | 565 | @ <td class="usetupEditLabel">Selected Cap.:</td> |
| 570 | 566 | @ <td> |
| | @@ -603,11 +599,12 @@ |
| 603 | 599 | } |
| 604 | 600 | @ </table> |
| 605 | 601 | @ </div></form> |
| 606 | 602 | @ </div> |
| 607 | 603 | style_load_one_js_file("useredit.js"); |
| 608 | | - @ <h2>Privileges And Capabilities:</h2> |
| 604 | + @ <hr> |
| 605 | + @ <h1>Notes On Privileges And Capabilities:</h1> |
| 609 | 606 | @ <ul> |
| 610 | 607 | if( higherUser ){ |
| 611 | 608 | @ <li><p class="missingPriv"> |
| 612 | 609 | @ User %h(zLogin) has Setup privileges and you only have Admin privileges |
| 613 | 610 | @ so you are not permitted to make changes to %h(zLogin). |
| 614 | 611 | |