Fossil SCM

Add <label> markup around all checkbox form entries.

drh 2012-07-25 10:58 trunk
Commit e78c49d30add60d19e5188258343626838909503
3 files changed +13 -12 +47 -24 +8 -8
+13 -12
--- src/info.c
+++ src/info.c
@@ -1691,17 +1691,17 @@
16911691
int stdClrFound = 0;
16921692
int i;
16931693
16941694
@ <table border="0" cellpadding="0" cellspacing="1">
16951695
if( zIdPropagate ){
1696
- @ <tr><td colspan="6" align="left">
1696
+ @ <tr><td colspan="6" align="left"><label>
16971697
if( fPropagate ){
16981698
@ <input type="checkbox" name="%s(zIdPropagate)" checked="checked" />
16991699
}else{
17001700
@ <input type="checkbox" name="%s(zIdPropagate)" />
17011701
}
1702
- @ Propagate color to descendants</td></tr>
1702
+ @ Propagate color to descendants</label></td></tr>
17031703
}
17041704
@ <tr>
17051705
for(i=0; i<nColor; i++){
17061706
const char *zClr = aColor[i].zColor;
17071707
if( zClr==0 ) zClr = aColor[i].zCName;
@@ -2001,12 +2001,12 @@
20012001
render_color_chooser(fNewPropagateColor, zNewColor, "pclr", "clr", "clrcust");
20022002
@ </td></tr>
20032003
20042004
@ <tr><td align="right" valign="top"><b>Tags:</b></td>
20052005
@ <td valign="top">
2006
- @ <input type="checkbox" id="newtag" name="newtag"%s(zNewTagFlag) />
2007
- @ Add the following new tag name to this check-in:
2006
+ @ <label><input type="checkbox" id="newtag" name="newtag"%s(zNewTagFlag) />
2007
+ @ Add the following new tag name to this check-in:</label>
20082008
@ <input type="text" style="width:15;" name="tagname" value="%h(zNewTag)"
20092009
@ onkeyup="gebi('newtag').checked=!!this.value" />
20102010
db_prepare(&q,
20112011
"SELECT tag.tagid, tagname FROM tagxref, tag"
20122012
" WHERE tagxref.rid=%d AND tagtype>0 AND tagxref.tagid=tag.tagid"
@@ -2017,28 +2017,29 @@
20172017
while( db_step(&q)==SQLITE_ROW ){
20182018
int tagid = db_column_int(&q, 0);
20192019
const char *zTagName = db_column_text(&q, 1);
20202020
char zLabel[30];
20212021
sqlite3_snprintf(sizeof(zLabel), zLabel, "c%d", tagid);
2022
+ @ <br /><label>
20222023
if( P(zLabel) ){
2023
- @ <br /><input type="checkbox" name="c%d(tagid)" checked="checked" />
2024
+ @ <input type="checkbox" name="c%d(tagid)" checked="checked" />
20242025
}else{
2025
- @ <br /><input type="checkbox" name="c%d(tagid)" />
2026
+ @ <input type="checkbox" name="c%d(tagid)" />
20262027
}
20272028
if( strncmp(zTagName, "sym-", 4)==0 ){
2028
- @ Cancel tag <b>%h(&zTagName[4])</b>
2029
+ @ Cancel tag <b>%h(&zTagName[4])</b></label>
20292030
}else{
2030
- @ Cancel special tag <b>%h(zTagName)</b>
2031
+ @ Cancel special tag <b>%h(zTagName)</b></label>
20312032
}
20322033
}
20332034
db_finalize(&q);
20342035
@ </td></tr>
20352036
20362037
@ <tr><td align="right" valign="top"><b>Branching:</b></td>
20372038
@ <td valign="top">
2038
- @ <input id="newbr" type="checkbox" name="newbr"%s(zNewBrFlag) />
2039
- @ Make this check-in the start of a new branch named:
2039
+ @ <label><input id="newbr" type="checkbox" name="newbr"%s(zNewBrFlag) />
2040
+ @ Make this check-in the start of a new branch named:</label>
20402041
@ <input type="text" style="width:15;" name="brname" value="%h(zNewBranch)"
20412042
@ onkeyup="gebi('newbr').checked=!!this.value" />
20422043
@ </td></tr>
20432044
20442045
if( is_a_leaf(rid)
@@ -2046,13 +2047,13 @@
20462047
" WHERE tagid=%d AND rid=%d AND tagtype>0",
20472048
TAG_CLOSED, rid)
20482049
){
20492050
@ <tr><td align="right" valign="top"><b>Leaf Closure:</b></td>
20502051
@ <td valign="top">
2051
- @ <input type="checkbox" name="close"%s(zCloseFlag) />
2052
+ @ <label><input type="checkbox" name="close"%s(zCloseFlag) />
20522053
@ Mark this leaf as "closed" so that it no longer appears on the
2053
- @ "leaves" page and is no longer labeled as a "<b>Leaf</b>".
2054
+ @ "leaves" page and is no longer labeled as a "<b>Leaf</b>".</label>
20542055
@ </td></tr>
20552056
}
20562057
20572058
20582059
@ <tr><td colspan="2">
20592060
--- src/info.c
+++ src/info.c
@@ -1691,17 +1691,17 @@
1691 int stdClrFound = 0;
1692 int i;
1693
1694 @ <table border="0" cellpadding="0" cellspacing="1">
1695 if( zIdPropagate ){
1696 @ <tr><td colspan="6" align="left">
1697 if( fPropagate ){
1698 @ <input type="checkbox" name="%s(zIdPropagate)" checked="checked" />
1699 }else{
1700 @ <input type="checkbox" name="%s(zIdPropagate)" />
1701 }
1702 @ Propagate color to descendants</td></tr>
1703 }
1704 @ <tr>
1705 for(i=0; i<nColor; i++){
1706 const char *zClr = aColor[i].zColor;
1707 if( zClr==0 ) zClr = aColor[i].zCName;
@@ -2001,12 +2001,12 @@
2001 render_color_chooser(fNewPropagateColor, zNewColor, "pclr", "clr", "clrcust");
2002 @ </td></tr>
2003
2004 @ <tr><td align="right" valign="top"><b>Tags:</b></td>
2005 @ <td valign="top">
2006 @ <input type="checkbox" id="newtag" name="newtag"%s(zNewTagFlag) />
2007 @ Add the following new tag name to this check-in:
2008 @ <input type="text" style="width:15;" name="tagname" value="%h(zNewTag)"
2009 @ onkeyup="gebi('newtag').checked=!!this.value" />
2010 db_prepare(&q,
2011 "SELECT tag.tagid, tagname FROM tagxref, tag"
2012 " WHERE tagxref.rid=%d AND tagtype>0 AND tagxref.tagid=tag.tagid"
@@ -2017,28 +2017,29 @@
2017 while( db_step(&q)==SQLITE_ROW ){
2018 int tagid = db_column_int(&q, 0);
2019 const char *zTagName = db_column_text(&q, 1);
2020 char zLabel[30];
2021 sqlite3_snprintf(sizeof(zLabel), zLabel, "c%d", tagid);
 
2022 if( P(zLabel) ){
2023 @ <br /><input type="checkbox" name="c%d(tagid)" checked="checked" />
2024 }else{
2025 @ <br /><input type="checkbox" name="c%d(tagid)" />
2026 }
2027 if( strncmp(zTagName, "sym-", 4)==0 ){
2028 @ Cancel tag <b>%h(&zTagName[4])</b>
2029 }else{
2030 @ Cancel special tag <b>%h(zTagName)</b>
2031 }
2032 }
2033 db_finalize(&q);
2034 @ </td></tr>
2035
2036 @ <tr><td align="right" valign="top"><b>Branching:</b></td>
2037 @ <td valign="top">
2038 @ <input id="newbr" type="checkbox" name="newbr"%s(zNewBrFlag) />
2039 @ Make this check-in the start of a new branch named:
2040 @ <input type="text" style="width:15;" name="brname" value="%h(zNewBranch)"
2041 @ onkeyup="gebi('newbr').checked=!!this.value" />
2042 @ </td></tr>
2043
2044 if( is_a_leaf(rid)
@@ -2046,13 +2047,13 @@
2046 " WHERE tagid=%d AND rid=%d AND tagtype>0",
2047 TAG_CLOSED, rid)
2048 ){
2049 @ <tr><td align="right" valign="top"><b>Leaf Closure:</b></td>
2050 @ <td valign="top">
2051 @ <input type="checkbox" name="close"%s(zCloseFlag) />
2052 @ Mark this leaf as "closed" so that it no longer appears on the
2053 @ "leaves" page and is no longer labeled as a "<b>Leaf</b>".
2054 @ </td></tr>
2055 }
2056
2057
2058 @ <tr><td colspan="2">
2059
--- src/info.c
+++ src/info.c
@@ -1691,17 +1691,17 @@
1691 int stdClrFound = 0;
1692 int i;
1693
1694 @ <table border="0" cellpadding="0" cellspacing="1">
1695 if( zIdPropagate ){
1696 @ <tr><td colspan="6" align="left"><label>
1697 if( fPropagate ){
1698 @ <input type="checkbox" name="%s(zIdPropagate)" checked="checked" />
1699 }else{
1700 @ <input type="checkbox" name="%s(zIdPropagate)" />
1701 }
1702 @ Propagate color to descendants</label></td></tr>
1703 }
1704 @ <tr>
1705 for(i=0; i<nColor; i++){
1706 const char *zClr = aColor[i].zColor;
1707 if( zClr==0 ) zClr = aColor[i].zCName;
@@ -2001,12 +2001,12 @@
2001 render_color_chooser(fNewPropagateColor, zNewColor, "pclr", "clr", "clrcust");
2002 @ </td></tr>
2003
2004 @ <tr><td align="right" valign="top"><b>Tags:</b></td>
2005 @ <td valign="top">
2006 @ <label><input type="checkbox" id="newtag" name="newtag"%s(zNewTagFlag) />
2007 @ Add the following new tag name to this check-in:</label>
2008 @ <input type="text" style="width:15;" name="tagname" value="%h(zNewTag)"
2009 @ onkeyup="gebi('newtag').checked=!!this.value" />
2010 db_prepare(&q,
2011 "SELECT tag.tagid, tagname FROM tagxref, tag"
2012 " WHERE tagxref.rid=%d AND tagtype>0 AND tagxref.tagid=tag.tagid"
@@ -2017,28 +2017,29 @@
2017 while( db_step(&q)==SQLITE_ROW ){
2018 int tagid = db_column_int(&q, 0);
2019 const char *zTagName = db_column_text(&q, 1);
2020 char zLabel[30];
2021 sqlite3_snprintf(sizeof(zLabel), zLabel, "c%d", tagid);
2022 @ <br /><label>
2023 if( P(zLabel) ){
2024 @ <input type="checkbox" name="c%d(tagid)" checked="checked" />
2025 }else{
2026 @ <input type="checkbox" name="c%d(tagid)" />
2027 }
2028 if( strncmp(zTagName, "sym-", 4)==0 ){
2029 @ Cancel tag <b>%h(&zTagName[4])</b></label>
2030 }else{
2031 @ Cancel special tag <b>%h(zTagName)</b></label>
2032 }
2033 }
2034 db_finalize(&q);
2035 @ </td></tr>
2036
2037 @ <tr><td align="right" valign="top"><b>Branching:</b></td>
2038 @ <td valign="top">
2039 @ <label><input id="newbr" type="checkbox" name="newbr"%s(zNewBrFlag) />
2040 @ Make this check-in the start of a new branch named:</label>
2041 @ <input type="text" style="width:15;" name="brname" value="%h(zNewBranch)"
2042 @ onkeyup="gebi('newbr').checked=!!this.value" />
2043 @ </td></tr>
2044
2045 if( is_a_leaf(rid)
@@ -2046,13 +2047,13 @@
2047 " WHERE tagid=%d AND rid=%d AND tagtype>0",
2048 TAG_CLOSED, rid)
2049 ){
2050 @ <tr><td align="right" valign="top"><b>Leaf Closure:</b></td>
2051 @ <td valign="top">
2052 @ <label><input type="checkbox" name="close"%s(zCloseFlag) />
2053 @ Mark this leaf as "closed" so that it no longer appears on the
2054 @ "leaves" page and is no longer labeled as a "<b>Leaf</b>".</label>
2055 @ </td></tr>
2056 }
2057
2058
2059 @ <tr><td colspan="2">
2060
+47 -24
--- src/setup.c
+++ src/setup.c
@@ -552,34 +552,57 @@
552552
@ <tr>
553553
@ <td class="usetupEditLabel">Capabilities:</td>
554554
@ <td>
555555
#define B(x) inherit[x]
556556
if( g.perm.Setup ){
557
- @ <input type="checkbox" name="as"%s(oas) />%s(B('s'))Setup<br />
558
- }
559
- @ <input type="checkbox" name="aa"%s(oaa) />%s(B('a'))Admin<br />
560
- @ <input type="checkbox" name="ad"%s(oad) />%s(B('d'))Delete<br />
561
- @ <input type="checkbox" name="ae"%s(oae) />%s(B('e'))Email<br />
562
- @ <input type="checkbox" name="ap"%s(oap) />%s(B('p'))Password<br />
563
- @ <input type="checkbox" name="ai"%s(oai) />%s(B('i'))Check-In<br />
564
- @ <input type="checkbox" name="ao"%s(oao) />%s(B('o'))Check-Out<br />
565
- @ <input type="checkbox" name="ah"%s(oah) />%s(B('h'))Hyperlinks<br />
566
- @ <input type="checkbox" name="au"%s(oau) />%s(B('u'))Reader<br />
567
- @ <input type="checkbox" name="av"%s(oav) />%s(B('v'))Developer<br />
568
- @ <input type="checkbox" name="ag"%s(oag) />%s(B('g'))Clone<br />
569
- @ <input type="checkbox" name="aj"%s(oaj) />%s(B('j'))Read Wiki<br />
570
- @ <input type="checkbox" name="af"%s(oaf) />%s(B('f'))New Wiki<br />
571
- @ <input type="checkbox" name="am"%s(oam) />%s(B('m'))Append Wiki<br />
572
- @ <input type="checkbox" name="ak"%s(oak) />%s(B('k'))Write Wiki<br />
573
- @ <input type="checkbox" name="ab"%s(oab) />%s(B('b'))Attachments<br />
574
- @ <input type="checkbox" name="ar"%s(oar) />%s(B('r'))Read Ticket<br />
575
- @ <input type="checkbox" name="an"%s(oan) />%s(B('n'))New Ticket<br />
576
- @ <input type="checkbox" name="ac"%s(oac) />%s(B('c'))Append Ticket<br />
577
- @ <input type="checkbox" name="aw"%s(oaw) />%s(B('w'))Write Ticket<br />
578
- @ <input type="checkbox" name="at"%s(oat) />%s(B('t'))Ticket Report<br />
579
- @ <input type="checkbox" name="ax"%s(oax) />%s(B('x'))Private<br />
580
- @ <input type="checkbox" name="az"%s(oaz) />%s(B('z'))Download Zip
557
+ @ <label><input type="checkbox" name="as"%s(oas) />%s(B('s'))Setup
558
+ @ </label><br />
559
+ }
560
+ @ <label><input type="checkbox" name="aa"%s(oaa) />%s(B('a'))Admin
561
+ @ </label><br />
562
+ @ <label><input type="checkbox" name="ad"%s(oad) />%s(B('d'))Delete
563
+ @ </label><br />
564
+ @ <label><input type="checkbox" name="ae"%s(oae) />%s(B('e'))Email
565
+ @ </label><br />
566
+ @ <label><input type="checkbox" name="ap"%s(oap) />%s(B('p'))Password
567
+ @ </label><br />
568
+ @ <label><input type="checkbox" name="ai"%s(oai) />%s(B('i'))Check-In
569
+ @ </label><br />
570
+ @ <label><input type="checkbox" name="ao"%s(oao) />%s(B('o'))Check-Out
571
+ @ </label><br />
572
+ @ <label><input type="checkbox" name="ah"%s(oah) />%s(B('h'))Hyperlinks
573
+ @ </label><br />
574
+ @ <label><input type="checkbox" name="au"%s(oau) />%s(B('u'))Reader
575
+ @ </label><br />
576
+ @ <label><input type="checkbox" name="av"%s(oav) />%s(B('v'))Developer
577
+ @ </label><br />
578
+ @ <label><input type="checkbox" name="ag"%s(oag) />%s(B('g'))Clone
579
+ @ </label><br />
580
+ @ <label><input type="checkbox" name="aj"%s(oaj) />%s(B('j'))Read Wiki
581
+ @ </label><br />
582
+ @ <label><input type="checkbox" name="af"%s(oaf) />%s(B('f'))New Wiki
583
+ @ </label><br />
584
+ @ <label><input type="checkbox" name="am"%s(oam) />%s(B('m'))Append Wiki
585
+ @ </label><br />
586
+ @ <label><input type="checkbox" name="ak"%s(oak) />%s(B('k'))Write Wiki
587
+ @ </label><br />
588
+ @ <label><input type="checkbox" name="ab"%s(oab) />%s(B('b'))Attachments
589
+ @ </label><br />
590
+ @ <label><input type="checkbox" name="ar"%s(oar) />%s(B('r'))Read Ticket
591
+ @ </label><br />
592
+ @ <label><input type="checkbox" name="an"%s(oan) />%s(B('n'))New Ticket
593
+ @ </label><br />
594
+ @ <label><input type="checkbox" name="ac"%s(oac) />%s(B('c'))Append Ticket
595
+ @ </label><br />
596
+ @ <label><input type="checkbox" name="aw"%s(oaw) />%s(B('w'))Write Ticket
597
+ @ </label><br />
598
+ @ <label><input type="checkbox" name="at"%s(oat) />%s(B('t'))Ticket Report
599
+ @ </label><br />
600
+ @ <label><input type="checkbox" name="ax"%s(oax) />%s(B('x'))Private
601
+ @ </label><br />
602
+ @ <label><input type="checkbox" name="az"%s(oaz) />%s(B('z'))Download Zip
603
+ @ </label>
581604
@ </td>
582605
@ </tr>
583606
@ <tr>
584607
@ <td align="right">Password:</td>
585608
if( zPw[0] ){
586609
--- src/setup.c
+++ src/setup.c
@@ -552,34 +552,57 @@
552 @ <tr>
553 @ <td class="usetupEditLabel">Capabilities:</td>
554 @ <td>
555 #define B(x) inherit[x]
556 if( g.perm.Setup ){
557 @ <input type="checkbox" name="as"%s(oas) />%s(B('s'))Setup<br />
558 }
559 @ <input type="checkbox" name="aa"%s(oaa) />%s(B('a'))Admin<br />
560 @ <input type="checkbox" name="ad"%s(oad) />%s(B('d'))Delete<br />
561 @ <input type="checkbox" name="ae"%s(oae) />%s(B('e'))Email<br />
562 @ <input type="checkbox" name="ap"%s(oap) />%s(B('p'))Password<br />
563 @ <input type="checkbox" name="ai"%s(oai) />%s(B('i'))Check-In<br />
564 @ <input type="checkbox" name="ao"%s(oao) />%s(B('o'))Check-Out<br />
565 @ <input type="checkbox" name="ah"%s(oah) />%s(B('h'))Hyperlinks<br />
566 @ <input type="checkbox" name="au"%s(oau) />%s(B('u'))Reader<br />
567 @ <input type="checkbox" name="av"%s(oav) />%s(B('v'))Developer<br />
568 @ <input type="checkbox" name="ag"%s(oag) />%s(B('g'))Clone<br />
569 @ <input type="checkbox" name="aj"%s(oaj) />%s(B('j'))Read Wiki<br />
570 @ <input type="checkbox" name="af"%s(oaf) />%s(B('f'))New Wiki<br />
571 @ <input type="checkbox" name="am"%s(oam) />%s(B('m'))Append Wiki<br />
572 @ <input type="checkbox" name="ak"%s(oak) />%s(B('k'))Write Wiki<br />
573 @ <input type="checkbox" name="ab"%s(oab) />%s(B('b'))Attachments<br />
574 @ <input type="checkbox" name="ar"%s(oar) />%s(B('r'))Read Ticket<br />
575 @ <input type="checkbox" name="an"%s(oan) />%s(B('n'))New Ticket<br />
576 @ <input type="checkbox" name="ac"%s(oac) />%s(B('c'))Append Ticket<br />
577 @ <input type="checkbox" name="aw"%s(oaw) />%s(B('w'))Write Ticket<br />
578 @ <input type="checkbox" name="at"%s(oat) />%s(B('t'))Ticket Report<br />
579 @ <input type="checkbox" name="ax"%s(oax) />%s(B('x'))Private<br />
580 @ <input type="checkbox" name="az"%s(oaz) />%s(B('z'))Download Zip
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
581 @ </td>
582 @ </tr>
583 @ <tr>
584 @ <td align="right">Password:</td>
585 if( zPw[0] ){
586
--- src/setup.c
+++ src/setup.c
@@ -552,34 +552,57 @@
552 @ <tr>
553 @ <td class="usetupEditLabel">Capabilities:</td>
554 @ <td>
555 #define B(x) inherit[x]
556 if( g.perm.Setup ){
557 @ <label><input type="checkbox" name="as"%s(oas) />%s(B('s'))Setup
558 @ </label><br />
559 }
560 @ <label><input type="checkbox" name="aa"%s(oaa) />%s(B('a'))Admin
561 @ </label><br />
562 @ <label><input type="checkbox" name="ad"%s(oad) />%s(B('d'))Delete
563 @ </label><br />
564 @ <label><input type="checkbox" name="ae"%s(oae) />%s(B('e'))Email
565 @ </label><br />
566 @ <label><input type="checkbox" name="ap"%s(oap) />%s(B('p'))Password
567 @ </label><br />
568 @ <label><input type="checkbox" name="ai"%s(oai) />%s(B('i'))Check-In
569 @ </label><br />
570 @ <label><input type="checkbox" name="ao"%s(oao) />%s(B('o'))Check-Out
571 @ </label><br />
572 @ <label><input type="checkbox" name="ah"%s(oah) />%s(B('h'))Hyperlinks
573 @ </label><br />
574 @ <label><input type="checkbox" name="au"%s(oau) />%s(B('u'))Reader
575 @ </label><br />
576 @ <label><input type="checkbox" name="av"%s(oav) />%s(B('v'))Developer
577 @ </label><br />
578 @ <label><input type="checkbox" name="ag"%s(oag) />%s(B('g'))Clone
579 @ </label><br />
580 @ <label><input type="checkbox" name="aj"%s(oaj) />%s(B('j'))Read Wiki
581 @ </label><br />
582 @ <label><input type="checkbox" name="af"%s(oaf) />%s(B('f'))New Wiki
583 @ </label><br />
584 @ <label><input type="checkbox" name="am"%s(oam) />%s(B('m'))Append Wiki
585 @ </label><br />
586 @ <label><input type="checkbox" name="ak"%s(oak) />%s(B('k'))Write Wiki
587 @ </label><br />
588 @ <label><input type="checkbox" name="ab"%s(oab) />%s(B('b'))Attachments
589 @ </label><br />
590 @ <label><input type="checkbox" name="ar"%s(oar) />%s(B('r'))Read Ticket
591 @ </label><br />
592 @ <label><input type="checkbox" name="an"%s(oan) />%s(B('n'))New Ticket
593 @ </label><br />
594 @ <label><input type="checkbox" name="ac"%s(oac) />%s(B('c'))Append Ticket
595 @ </label><br />
596 @ <label><input type="checkbox" name="aw"%s(oaw) />%s(B('w'))Write Ticket
597 @ </label><br />
598 @ <label><input type="checkbox" name="at"%s(oat) />%s(B('t'))Ticket Report
599 @ </label><br />
600 @ <label><input type="checkbox" name="ax"%s(oax) />%s(B('x'))Private
601 @ </label><br />
602 @ <label><input type="checkbox" name="az"%s(oaz) />%s(B('z'))Download Zip
603 @ </label>
604 @ </td>
605 @ </tr>
606 @ <tr>
607 @ <td align="right">Password:</td>
608 if( zPw[0] ){
609
+8 -8
--- src/user.c
+++ src/user.c
@@ -465,26 +465,26 @@
465465
}
466466
@ </table></center>
467467
db_finalize(&q);
468468
@ <hr>
469469
@ <form method="post" action="%s(g.zTop)/access_log">
470
- @ <input type="checkbox" name="delold">
471
- @ Delete all but the most recent 200 entries</input>
470
+ @ <label><input type="checkbox" name="delold">
471
+ @ Delete all but the most recent 200 entries</input></label>
472472
@ <input type="submit" name="deloldbtn" value="Delete"></input>
473473
@ </form>
474474
@ <form method="post" action="%s(g.zTop)/access_log">
475
- @ <input type="checkbox" name="delanon">
476
- @ Delete all entries for user "anonymous"</input>
475
+ @ <label><input type="checkbox" name="delanon">
476
+ @ Delete all entries for user "anonymous"</input></label>
477477
@ <input type="submit" name="delanonbtn" value="Delete"></input>
478478
@ </form>
479479
@ <form method="post" action="%s(g.zTop)/access_log">
480
- @ <input type="checkbox" name="delfail">
481
- @ Delete all failed login attempts</input>
480
+ @ <label><input type="checkbox" name="delfail">
481
+ @ Delete all failed login attempts</input></label>
482482
@ <input type="submit" name="delfailbtn" value="Delete"></input>
483483
@ </form>
484484
@ <form method="post" action="%s(g.zTop)/access_log">
485
- @ <input type="checkbox" name="delall">
486
- @ Delete all entries</input>
485
+ @ <label><input type="checkbox" name="delall">
486
+ @ Delete all entries</input></label>
487487
@ <input type="submit" name="delallbtn" value="Delete"></input>
488488
@ </form>
489489
style_footer();
490490
}
491491
--- src/user.c
+++ src/user.c
@@ -465,26 +465,26 @@
465 }
466 @ </table></center>
467 db_finalize(&q);
468 @ <hr>
469 @ <form method="post" action="%s(g.zTop)/access_log">
470 @ <input type="checkbox" name="delold">
471 @ Delete all but the most recent 200 entries</input>
472 @ <input type="submit" name="deloldbtn" value="Delete"></input>
473 @ </form>
474 @ <form method="post" action="%s(g.zTop)/access_log">
475 @ <input type="checkbox" name="delanon">
476 @ Delete all entries for user "anonymous"</input>
477 @ <input type="submit" name="delanonbtn" value="Delete"></input>
478 @ </form>
479 @ <form method="post" action="%s(g.zTop)/access_log">
480 @ <input type="checkbox" name="delfail">
481 @ Delete all failed login attempts</input>
482 @ <input type="submit" name="delfailbtn" value="Delete"></input>
483 @ </form>
484 @ <form method="post" action="%s(g.zTop)/access_log">
485 @ <input type="checkbox" name="delall">
486 @ Delete all entries</input>
487 @ <input type="submit" name="delallbtn" value="Delete"></input>
488 @ </form>
489 style_footer();
490 }
491
--- src/user.c
+++ src/user.c
@@ -465,26 +465,26 @@
465 }
466 @ </table></center>
467 db_finalize(&q);
468 @ <hr>
469 @ <form method="post" action="%s(g.zTop)/access_log">
470 @ <label><input type="checkbox" name="delold">
471 @ Delete all but the most recent 200 entries</input></label>
472 @ <input type="submit" name="deloldbtn" value="Delete"></input>
473 @ </form>
474 @ <form method="post" action="%s(g.zTop)/access_log">
475 @ <label><input type="checkbox" name="delanon">
476 @ Delete all entries for user "anonymous"</input></label>
477 @ <input type="submit" name="delanonbtn" value="Delete"></input>
478 @ </form>
479 @ <form method="post" action="%s(g.zTop)/access_log">
480 @ <label><input type="checkbox" name="delfail">
481 @ Delete all failed login attempts</input></label>
482 @ <input type="submit" name="delfailbtn" value="Delete"></input>
483 @ </form>
484 @ <form method="post" action="%s(g.zTop)/access_log">
485 @ <label><input type="checkbox" name="delall">
486 @ Delete all entries</input></label>
487 @ <input type="submit" name="delallbtn" value="Delete"></input>
488 @ </form>
489 style_footer();
490 }
491

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button