Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | In the user edit screen, display capabilities in three columns. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
60cf260b6e10f76a53ad0b04b82d3d03 |
User & Date: | drh 2012-07-25 11:18:32.708 |
Context
2012-07-25
| ||
12:05 | Allow the setup user to add the chngtime query parameter to ci_edit. This can be used to override incorrect tags that have a date way in the future. ... (check-in: ca72f02c user: drh tags: trunk) | |
11:18 | In the user edit screen, display capabilities in three columns. ... (check-in: 60cf260b user: drh tags: trunk) | |
10:58 | Add <label> markup around all checkbox form entries. ... (check-in: e78c49d3 user: drh tags: trunk) | |
Changes
Changes to src/setup.c.
︙ | ︙ | |||
549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 | @ <td class="usetupEditLabel">Contact Info:</td> @ <td><input type="text" name="info" size="40" value="%h(zInfo)" /></td> @ </tr> @ <tr> @ <td class="usetupEditLabel">Capabilities:</td> @ <td> #define B(x) inherit[x] if( g.perm.Setup ){ @ <label><input type="checkbox" name="as"%s(oas) />%s(B('s'))Setup @ </label><br /> } @ <label><input type="checkbox" name="aa"%s(oaa) />%s(B('a'))Admin @ </label><br /> @ <label><input type="checkbox" name="ad"%s(oad) />%s(B('d'))Delete @ </label><br /> @ <label><input type="checkbox" name="ae"%s(oae) />%s(B('e'))Email @ </label><br /> @ <label><input type="checkbox" name="ap"%s(oap) />%s(B('p'))Password @ </label><br /> @ <label><input type="checkbox" name="ai"%s(oai) />%s(B('i'))Check-In @ </label><br /> @ <label><input type="checkbox" name="ao"%s(oao) />%s(B('o'))Check-Out @ </label><br /> @ <label><input type="checkbox" name="ah"%s(oah) />%s(B('h'))Hyperlinks @ </label><br /> @ <label><input type="checkbox" name="au"%s(oau) />%s(B('u'))Reader @ </label><br /> @ <label><input type="checkbox" name="av"%s(oav) />%s(B('v'))Developer @ </label><br /> @ <label><input type="checkbox" name="ag"%s(oag) />%s(B('g'))Clone @ </label><br /> @ <label><input type="checkbox" name="aj"%s(oaj) />%s(B('j'))Read Wiki @ </label><br /> @ <label><input type="checkbox" name="af"%s(oaf) />%s(B('f'))New Wiki @ </label><br /> @ <label><input type="checkbox" name="am"%s(oam) />%s(B('m'))Append Wiki @ </label><br /> @ <label><input type="checkbox" name="ak"%s(oak) />%s(B('k'))Write Wiki @ </label><br /> @ <label><input type="checkbox" name="ab"%s(oab) />%s(B('b'))Attachments @ </label><br /> @ <label><input type="checkbox" name="ar"%s(oar) />%s(B('r'))Read Ticket @ </label><br /> @ <label><input type="checkbox" name="an"%s(oan) />%s(B('n'))New Ticket @ </label><br /> @ <label><input type="checkbox" name="ac"%s(oac) />%s(B('c'))Append Ticket @ </label><br /> @ <label><input type="checkbox" name="aw"%s(oaw) />%s(B('w'))Write Ticket @ </label><br /> @ <label><input type="checkbox" name="at"%s(oat) />%s(B('t'))Ticket Report @ </label><br /> @ <label><input type="checkbox" name="ax"%s(oax) />%s(B('x'))Private @ </label><br /> @ <label><input type="checkbox" name="az"%s(oaz) />%s(B('z'))Download Zip @ </label> @ </td> @ </tr> @ <tr> @ <td align="right">Password:</td> if( zPw[0] ){ /* Obscure the password for all users */ @ <td><input type="password" name="pw" value="**********" /></td> | > > > > | 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 | @ <td class="usetupEditLabel">Contact Info:</td> @ <td><input type="text" name="info" size="40" value="%h(zInfo)" /></td> @ </tr> @ <tr> @ <td class="usetupEditLabel">Capabilities:</td> @ <td> #define B(x) inherit[x] @ <table border=0><tr><td valign="top"> if( g.perm.Setup ){ @ <label><input type="checkbox" name="as"%s(oas) />%s(B('s'))Setup @ </label><br /> } @ <label><input type="checkbox" name="aa"%s(oaa) />%s(B('a'))Admin @ </label><br /> @ <label><input type="checkbox" name="ad"%s(oad) />%s(B('d'))Delete @ </label><br /> @ <label><input type="checkbox" name="ae"%s(oae) />%s(B('e'))Email @ </label><br /> @ <label><input type="checkbox" name="ap"%s(oap) />%s(B('p'))Password @ </label><br /> @ <label><input type="checkbox" name="ai"%s(oai) />%s(B('i'))Check-In @ </label><br /> @ <label><input type="checkbox" name="ao"%s(oao) />%s(B('o'))Check-Out @ </label><br /> @ <label><input type="checkbox" name="ah"%s(oah) />%s(B('h'))Hyperlinks @ </label><br /> @ </td><td><td width="40"></td><td valign="top"> @ <label><input type="checkbox" name="au"%s(oau) />%s(B('u'))Reader @ </label><br /> @ <label><input type="checkbox" name="av"%s(oav) />%s(B('v'))Developer @ </label><br /> @ <label><input type="checkbox" name="ag"%s(oag) />%s(B('g'))Clone @ </label><br /> @ <label><input type="checkbox" name="aj"%s(oaj) />%s(B('j'))Read Wiki @ </label><br /> @ <label><input type="checkbox" name="af"%s(oaf) />%s(B('f'))New Wiki @ </label><br /> @ <label><input type="checkbox" name="am"%s(oam) />%s(B('m'))Append Wiki @ </label><br /> @ <label><input type="checkbox" name="ak"%s(oak) />%s(B('k'))Write Wiki @ </label><br /> @ <label><input type="checkbox" name="ab"%s(oab) />%s(B('b'))Attachments @ </label><br /> @ </td><td><td width="40"></td><td valign="top"> @ <label><input type="checkbox" name="ar"%s(oar) />%s(B('r'))Read Ticket @ </label><br /> @ <label><input type="checkbox" name="an"%s(oan) />%s(B('n'))New Ticket @ </label><br /> @ <label><input type="checkbox" name="ac"%s(oac) />%s(B('c'))Append Ticket @ </label><br /> @ <label><input type="checkbox" name="aw"%s(oaw) />%s(B('w'))Write Ticket @ </label><br /> @ <label><input type="checkbox" name="at"%s(oat) />%s(B('t'))Ticket Report @ </label><br /> @ <label><input type="checkbox" name="ax"%s(oax) />%s(B('x'))Private @ </label><br /> @ <label><input type="checkbox" name="az"%s(oaz) />%s(B('z'))Download Zip @ </label> @ </td></tr></table> @ </td> @ </tr> @ <tr> @ <td align="right">Password:</td> if( zPw[0] ){ /* Obscure the password for all users */ @ <td><input type="password" name="pw" value="**********" /></td> |
︙ | ︙ |