50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
if( !g.okRdTkt ){
@ <p>You are not authorized to view existing bug reports.</p>
}else{
db_prepare(&q, "SELECT rn, title, owner FROM reportfmt ORDER BY title");
@ <p>Choose a report format from the following list:</p>
@ <ol>
while( db_step(&q)==SQLITE_ROW ){
rn = db_column_int(&q, 0);
const char *zTitle = db_column_text(&q, 1);
const char *zOwner = db_column_text(&q, 2);
cnt++;
@ <li value="%d(cnt)"><a href="rptview?rn=%d(rn)"
@ rel="nofollow">%h(zTitle)</a>
if( g.okWrite && zOwner && zOwner[0] ){
@ (by <i>%h(zOwner)</i>)
}
if( g.okTktFmt ){
|
<
>
|
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
if( !g.okRdTkt ){
@ <p>You are not authorized to view existing bug reports.</p>
}else{
db_prepare(&q, "SELECT rn, title, owner FROM reportfmt ORDER BY title");
@ <p>Choose a report format from the following list:</p>
@ <ol>
while( db_step(&q)==SQLITE_ROW ){
const char *zTitle = db_column_text(&q, 1);
const char *zOwner = db_column_text(&q, 2);
rn = db_column_int(&q, 0);
cnt++;
@ <li value="%d(cnt)"><a href="rptview?rn=%d(rn)"
@ rel="nofollow">%h(zTitle)</a>
if( g.okWrite && zOwner && zOwner[0] ){
@ (by <i>%h(zOwner)</i>)
}
if( g.okTktFmt ){
|