Fossil SCM

correct all unclosed br and hr tags, skipped sqlite.c

wolfgang 2010-09-12 08:47 wolfgangFormat2CSS
Commit 692b67bdcc1aa82951166cf7189c53c01258f4c5
+6 -6
--- src/attach.c
+++ src/attach.c
@@ -81,14 +81,14 @@
8181
}else{
8282
zUrlTail = mprintf("page=%t&file=%t", zTarget, zFilename);
8383
}
8484
@
8585
@ <p><a href="/attachview?%s(zUrlTail)">%h(zFilename)</a>
86
- @ [<a href="/attachdownload/%t(zFilename)?%s(zUrlTail)">download</a>]<br>
86
+ @ [<a href="/attachdownload/%t(zFilename)?%s(zUrlTail)">download</a>]<br />
8787
if( zComment ) while( isspace(zComment[0]) ) zComment++;
8888
if( zComment && zComment[0] ){
89
- @ %w(zComment)<br>
89
+ @ %w(zComment)<br />
9090
}
9191
if( zPage==0 && zTkt==0 ){
9292
if( zSrc==0 || zSrc[0]==0 ){
9393
zSrc = "Deleted from";
9494
}else {
@@ -273,13 +273,13 @@
273273
style_header("Add Attachment");
274274
@ <h2>Add Attachment To %s(zTargetType)</h2>
275275
@ <form action="%s(g.zBaseURL)/attachadd" method="POST"
276276
@ enctype="multipart/form-data">
277277
@ File to Attach:
278
- @ <input type="file" name="f" size="60"><br>
279
- @ Description:<br>
280
- @ <textarea name="comment" cols=80 rows=5 wrap="virtual"></textarea><br>
278
+ @ <input type="file" name="f" size="60"><br />
279
+ @ Description:<br />
280
+ @ <textarea name="comment" cols=80 rows=5 wrap="virtual"></textarea><br />
281281
if( zTkt ){
282282
@ <input type="hidden" name="tkt" value="%h(zTkt)">
283283
}else{
284284
@ <input type="hidden" name="page" value="%h(zPage)">
285285
}
@@ -351,11 +351,11 @@
351351
cgi_redirect(zFrom);
352352
}
353353
style_header("Delete Attachment");
354354
@ <form action="%s(g.zBaseURL)/attachdelete" method="POST">
355355
@ <p>Confirm that you want to delete the attachment named
356
- @ "%h(zFile)" on %s(zTkt?"ticket":"wiki page") %h(zTarget):<br>
356
+ @ "%h(zFile)" on %s(zTkt?"ticket":"wiki page") %h(zTarget):<br />
357357
if( zTkt ){
358358
@ <input type="hidden" name="tkt" value="%h(zTkt)">
359359
}else{
360360
@ <input type="hidden" name="page" value="%h(zPage)">
361361
}
362362
--- src/attach.c
+++ src/attach.c
@@ -81,14 +81,14 @@
81 }else{
82 zUrlTail = mprintf("page=%t&file=%t", zTarget, zFilename);
83 }
84 @
85 @ <p><a href="/attachview?%s(zUrlTail)">%h(zFilename)</a>
86 @ [<a href="/attachdownload/%t(zFilename)?%s(zUrlTail)">download</a>]<br>
87 if( zComment ) while( isspace(zComment[0]) ) zComment++;
88 if( zComment && zComment[0] ){
89 @ %w(zComment)<br>
90 }
91 if( zPage==0 && zTkt==0 ){
92 if( zSrc==0 || zSrc[0]==0 ){
93 zSrc = "Deleted from";
94 }else {
@@ -273,13 +273,13 @@
273 style_header("Add Attachment");
274 @ <h2>Add Attachment To %s(zTargetType)</h2>
275 @ <form action="%s(g.zBaseURL)/attachadd" method="POST"
276 @ enctype="multipart/form-data">
277 @ File to Attach:
278 @ <input type="file" name="f" size="60"><br>
279 @ Description:<br>
280 @ <textarea name="comment" cols=80 rows=5 wrap="virtual"></textarea><br>
281 if( zTkt ){
282 @ <input type="hidden" name="tkt" value="%h(zTkt)">
283 }else{
284 @ <input type="hidden" name="page" value="%h(zPage)">
285 }
@@ -351,11 +351,11 @@
351 cgi_redirect(zFrom);
352 }
353 style_header("Delete Attachment");
354 @ <form action="%s(g.zBaseURL)/attachdelete" method="POST">
355 @ <p>Confirm that you want to delete the attachment named
356 @ "%h(zFile)" on %s(zTkt?"ticket":"wiki page") %h(zTarget):<br>
357 if( zTkt ){
358 @ <input type="hidden" name="tkt" value="%h(zTkt)">
359 }else{
360 @ <input type="hidden" name="page" value="%h(zPage)">
361 }
362
--- src/attach.c
+++ src/attach.c
@@ -81,14 +81,14 @@
81 }else{
82 zUrlTail = mprintf("page=%t&file=%t", zTarget, zFilename);
83 }
84 @
85 @ <p><a href="/attachview?%s(zUrlTail)">%h(zFilename)</a>
86 @ [<a href="/attachdownload/%t(zFilename)?%s(zUrlTail)">download</a>]<br />
87 if( zComment ) while( isspace(zComment[0]) ) zComment++;
88 if( zComment && zComment[0] ){
89 @ %w(zComment)<br />
90 }
91 if( zPage==0 && zTkt==0 ){
92 if( zSrc==0 || zSrc[0]==0 ){
93 zSrc = "Deleted from";
94 }else {
@@ -273,13 +273,13 @@
273 style_header("Add Attachment");
274 @ <h2>Add Attachment To %s(zTargetType)</h2>
275 @ <form action="%s(g.zBaseURL)/attachadd" method="POST"
276 @ enctype="multipart/form-data">
277 @ File to Attach:
278 @ <input type="file" name="f" size="60"><br />
279 @ Description:<br />
280 @ <textarea name="comment" cols=80 rows=5 wrap="virtual"></textarea><br />
281 if( zTkt ){
282 @ <input type="hidden" name="tkt" value="%h(zTkt)">
283 }else{
284 @ <input type="hidden" name="page" value="%h(zPage)">
285 }
@@ -351,11 +351,11 @@
351 cgi_redirect(zFrom);
352 }
353 style_header("Delete Attachment");
354 @ <form action="%s(g.zBaseURL)/attachdelete" method="POST">
355 @ <p>Confirm that you want to delete the attachment named
356 @ "%h(zFile)" on %s(zTkt?"ticket":"wiki page") %h(zTarget):<br />
357 if( zTkt ){
358 @ <input type="hidden" name="tkt" value="%h(zTkt)">
359 }else{
360 @ <input type="hidden" name="page" value="%h(zPage)">
361 }
362
+7 -7
--- src/info.c
+++ src/info.c
@@ -638,11 +638,11 @@
638638
style_header("Check-in Differences");
639639
@ <h2>Difference From:</h2><blockquote>
640640
checkin_description(ridFrom);
641641
@ </blockquote><h2>To:</h2><blockquote>
642642
checkin_description(ridTo);
643
- @ </blockquote><hr><p>
643
+ @ </blockquote><hr /><p>
644644
645645
iFrom = iTo = 0;
646646
while( iFrom<mFrom.nFile && iTo<mTo.nFile ){
647647
int cmp;
648648
if( iFrom>=mFrom.nFile ){
@@ -887,11 +887,11 @@
887887
@ </blockquote>
888888
@ <h2>To:</h2>
889889
@ <blockquote>
890890
object_description(v2, 1, 0);
891891
@ </blockquote>
892
- @ <hr>
892
+ @ <hr />
893893
@ <blockquote><pre>
894894
content_get(v1, &c1);
895895
content_get(v2, &c2);
896896
blob_zero(&diff);
897897
text_diff(&c1, &c2, &diff, 4, 1);
@@ -1010,11 +1010,11 @@
10101010
blob_zero(&downloadName);
10111011
object_description(rid, 0, &downloadName);
10121012
style_submenu_element("Download", "Download",
10131013
"%s/raw/%T?name=%s", g.zTop, blob_str(&downloadName), zUuid);
10141014
@ </blockquote>
1015
- @ <hr>
1015
+ @ <hr />
10161016
content_get(rid, &content);
10171017
@ <blockquote><pre>
10181018
hexdump(&content);
10191019
@ </pre></blockquote>
10201020
style_footer();
@@ -1114,11 +1114,11 @@
11141114
"%s/artifact?name=%s&txt=1", g.zTop, zUuid);
11151115
}
11161116
}
11171117
}
11181118
@ </blockquote>
1119
- @ <hr>
1119
+ @ <hr />
11201120
content_get(rid, &content);
11211121
if( renderAsWiki ){
11221122
wiki_convert(&content, 0, 0);
11231123
}else if( renderAsHtml ){
11241124
@ <div>
@@ -1467,11 +1467,11 @@
14671467
db_finalize(&q);
14681468
blob_appendf(&suffix, ")");
14691469
@ %s(blob_str(&suffix))
14701470
@ </td></tr></table>
14711471
@ </blockquote>
1472
- @ <hr>
1472
+ @ <hr />
14731473
blob_reset(&suffix);
14741474
}
14751475
@ <p>Make changes to attributes of check-in
14761476
@ [<a href="ci?name=%s(zUuid)">%s(zUuid)</a>]:</p>
14771477
@ <form action="%s(g.zBaseURL)/ci_edit" method="POST">
@@ -1541,13 +1541,13 @@
15411541
int tagid = db_column_int(&q, 0);
15421542
const char *zTagName = db_column_text(&q, 1);
15431543
char zLabel[30];
15441544
sprintf(zLabel, "c%d", tagid);
15451545
if( P(zLabel) ){
1546
- @ <br><input type="checkbox" name="c%d(tagid)" checked>
1546
+ @ <br /><input type="checkbox" name="c%d(tagid)" checked>
15471547
}else{
1548
- @ <br><input type="checkbox" name="c%d(tagid)">
1548
+ @ <br /><input type="checkbox" name="c%d(tagid)">
15491549
}
15501550
if( strncmp(zTagName, "sym-", 4)==0 ){
15511551
@ Cancel tag <b>%h(&zTagName[4])</b>
15521552
}else{
15531553
@ Cancel special tag <b>%h(zTagName)</b>
15541554
--- src/info.c
+++ src/info.c
@@ -638,11 +638,11 @@
638 style_header("Check-in Differences");
639 @ <h2>Difference From:</h2><blockquote>
640 checkin_description(ridFrom);
641 @ </blockquote><h2>To:</h2><blockquote>
642 checkin_description(ridTo);
643 @ </blockquote><hr><p>
644
645 iFrom = iTo = 0;
646 while( iFrom<mFrom.nFile && iTo<mTo.nFile ){
647 int cmp;
648 if( iFrom>=mFrom.nFile ){
@@ -887,11 +887,11 @@
887 @ </blockquote>
888 @ <h2>To:</h2>
889 @ <blockquote>
890 object_description(v2, 1, 0);
891 @ </blockquote>
892 @ <hr>
893 @ <blockquote><pre>
894 content_get(v1, &c1);
895 content_get(v2, &c2);
896 blob_zero(&diff);
897 text_diff(&c1, &c2, &diff, 4, 1);
@@ -1010,11 +1010,11 @@
1010 blob_zero(&downloadName);
1011 object_description(rid, 0, &downloadName);
1012 style_submenu_element("Download", "Download",
1013 "%s/raw/%T?name=%s", g.zTop, blob_str(&downloadName), zUuid);
1014 @ </blockquote>
1015 @ <hr>
1016 content_get(rid, &content);
1017 @ <blockquote><pre>
1018 hexdump(&content);
1019 @ </pre></blockquote>
1020 style_footer();
@@ -1114,11 +1114,11 @@
1114 "%s/artifact?name=%s&txt=1", g.zTop, zUuid);
1115 }
1116 }
1117 }
1118 @ </blockquote>
1119 @ <hr>
1120 content_get(rid, &content);
1121 if( renderAsWiki ){
1122 wiki_convert(&content, 0, 0);
1123 }else if( renderAsHtml ){
1124 @ <div>
@@ -1467,11 +1467,11 @@
1467 db_finalize(&q);
1468 blob_appendf(&suffix, ")");
1469 @ %s(blob_str(&suffix))
1470 @ </td></tr></table>
1471 @ </blockquote>
1472 @ <hr>
1473 blob_reset(&suffix);
1474 }
1475 @ <p>Make changes to attributes of check-in
1476 @ [<a href="ci?name=%s(zUuid)">%s(zUuid)</a>]:</p>
1477 @ <form action="%s(g.zBaseURL)/ci_edit" method="POST">
@@ -1541,13 +1541,13 @@
1541 int tagid = db_column_int(&q, 0);
1542 const char *zTagName = db_column_text(&q, 1);
1543 char zLabel[30];
1544 sprintf(zLabel, "c%d", tagid);
1545 if( P(zLabel) ){
1546 @ <br><input type="checkbox" name="c%d(tagid)" checked>
1547 }else{
1548 @ <br><input type="checkbox" name="c%d(tagid)">
1549 }
1550 if( strncmp(zTagName, "sym-", 4)==0 ){
1551 @ Cancel tag <b>%h(&zTagName[4])</b>
1552 }else{
1553 @ Cancel special tag <b>%h(zTagName)</b>
1554
--- src/info.c
+++ src/info.c
@@ -638,11 +638,11 @@
638 style_header("Check-in Differences");
639 @ <h2>Difference From:</h2><blockquote>
640 checkin_description(ridFrom);
641 @ </blockquote><h2>To:</h2><blockquote>
642 checkin_description(ridTo);
643 @ </blockquote><hr /><p>
644
645 iFrom = iTo = 0;
646 while( iFrom<mFrom.nFile && iTo<mTo.nFile ){
647 int cmp;
648 if( iFrom>=mFrom.nFile ){
@@ -887,11 +887,11 @@
887 @ </blockquote>
888 @ <h2>To:</h2>
889 @ <blockquote>
890 object_description(v2, 1, 0);
891 @ </blockquote>
892 @ <hr />
893 @ <blockquote><pre>
894 content_get(v1, &c1);
895 content_get(v2, &c2);
896 blob_zero(&diff);
897 text_diff(&c1, &c2, &diff, 4, 1);
@@ -1010,11 +1010,11 @@
1010 blob_zero(&downloadName);
1011 object_description(rid, 0, &downloadName);
1012 style_submenu_element("Download", "Download",
1013 "%s/raw/%T?name=%s", g.zTop, blob_str(&downloadName), zUuid);
1014 @ </blockquote>
1015 @ <hr />
1016 content_get(rid, &content);
1017 @ <blockquote><pre>
1018 hexdump(&content);
1019 @ </pre></blockquote>
1020 style_footer();
@@ -1114,11 +1114,11 @@
1114 "%s/artifact?name=%s&txt=1", g.zTop, zUuid);
1115 }
1116 }
1117 }
1118 @ </blockquote>
1119 @ <hr />
1120 content_get(rid, &content);
1121 if( renderAsWiki ){
1122 wiki_convert(&content, 0, 0);
1123 }else if( renderAsHtml ){
1124 @ <div>
@@ -1467,11 +1467,11 @@
1467 db_finalize(&q);
1468 blob_appendf(&suffix, ")");
1469 @ %s(blob_str(&suffix))
1470 @ </td></tr></table>
1471 @ </blockquote>
1472 @ <hr />
1473 blob_reset(&suffix);
1474 }
1475 @ <p>Make changes to attributes of check-in
1476 @ [<a href="ci?name=%s(zUuid)">%s(zUuid)</a>]:</p>
1477 @ <form action="%s(g.zBaseURL)/ci_edit" method="POST">
@@ -1541,13 +1541,13 @@
1541 int tagid = db_column_int(&q, 0);
1542 const char *zTagName = db_column_text(&q, 1);
1543 char zLabel[30];
1544 sprintf(zLabel, "c%d", tagid);
1545 if( P(zLabel) ){
1546 @ <br /><input type="checkbox" name="c%d(tagid)" checked>
1547 }else{
1548 @ <br /><input type="checkbox" name="c%d(tagid)">
1549 }
1550 if( strncmp(zTagName, "sym-", 4)==0 ){
1551 @ Cancel tag <b>%h(&zTagName[4])</b>
1552 }else{
1553 @ Cancel special tag <b>%h(zTagName)</b>
1554
+4 -4
--- src/report.c
+++ src/report.c
@@ -401,13 +401,13 @@
401401
if( zErr ){
402402
@ <blockquote><font color="#ff0000"><b>%h(zErr)</b></font></blockquote>
403403
}
404404
@ <form action="rptedit" method="POST">
405405
@ <input type="hidden" name="rn" value="%d(rn)">
406
- @ <p>Report Title:<br>
406
+ @ <p>Report Title:<br />
407407
@ <input type="text" name="t" value="%h(zTitle)" size="60"></p>
408
- @ <p>Enter a complete SQL query statement against the "TICKET" table:<br>
408
+ @ <p>Enter a complete SQL query statement against the "TICKET" table:<br />
409409
@ <textarea name="s" rows="20" cols="80">%h(zSQL)</textarea>
410410
@ </p>
411411
login_insert_csrf_secret();
412412
if( g.okAdmin ){
413413
@ <p>Report owner:
@@ -417,11 +417,11 @@
417417
@ <input type="hidden" name="w" value="%h(zOwner)">
418418
}
419419
@ <p>Enter an optional color key in the following box. (If blank, no
420420
@ color key is displayed.) Each line contains the text for a single
421421
@ entry in the key. The first token of each line is the background
422
- @ color for that line.<br>
422
+ @ color for that line.<br />
423423
@ <textarea name="k" rows="8" cols="50">%h(zClrKey)</textarea>
424424
@ </p>
425425
if( !g.okAdmin && strcmp(zOwner,g.zLogin)!=0 ){
426426
@ <p>This report format is owned by %h(zOwner). You are not allowed
427427
@ to change it.</p>
@@ -448,11 +448,11 @@
448448
zSchema = db_text(0,"SELECT sql FROM sqlite_master WHERE name='ticket'");
449449
if( zSchema==0 ){
450450
zSchema = db_text(0,"SELECT sql FROM repository.sqlite_master"
451451
" WHERE name='ticket'");
452452
}
453
- @ <hr><h3>TICKET Schema</h3>
453
+ @ <hr /><h3>TICKET Schema</h3>
454454
@ <blockquote><pre>
455455
@ %h(zSchema)
456456
@ </pre></blockquote>
457457
@ <h3>Notes</h3>
458458
@ <ul>
459459
--- src/report.c
+++ src/report.c
@@ -401,13 +401,13 @@
401 if( zErr ){
402 @ <blockquote><font color="#ff0000"><b>%h(zErr)</b></font></blockquote>
403 }
404 @ <form action="rptedit" method="POST">
405 @ <input type="hidden" name="rn" value="%d(rn)">
406 @ <p>Report Title:<br>
407 @ <input type="text" name="t" value="%h(zTitle)" size="60"></p>
408 @ <p>Enter a complete SQL query statement against the "TICKET" table:<br>
409 @ <textarea name="s" rows="20" cols="80">%h(zSQL)</textarea>
410 @ </p>
411 login_insert_csrf_secret();
412 if( g.okAdmin ){
413 @ <p>Report owner:
@@ -417,11 +417,11 @@
417 @ <input type="hidden" name="w" value="%h(zOwner)">
418 }
419 @ <p>Enter an optional color key in the following box. (If blank, no
420 @ color key is displayed.) Each line contains the text for a single
421 @ entry in the key. The first token of each line is the background
422 @ color for that line.<br>
423 @ <textarea name="k" rows="8" cols="50">%h(zClrKey)</textarea>
424 @ </p>
425 if( !g.okAdmin && strcmp(zOwner,g.zLogin)!=0 ){
426 @ <p>This report format is owned by %h(zOwner). You are not allowed
427 @ to change it.</p>
@@ -448,11 +448,11 @@
448 zSchema = db_text(0,"SELECT sql FROM sqlite_master WHERE name='ticket'");
449 if( zSchema==0 ){
450 zSchema = db_text(0,"SELECT sql FROM repository.sqlite_master"
451 " WHERE name='ticket'");
452 }
453 @ <hr><h3>TICKET Schema</h3>
454 @ <blockquote><pre>
455 @ %h(zSchema)
456 @ </pre></blockquote>
457 @ <h3>Notes</h3>
458 @ <ul>
459
--- src/report.c
+++ src/report.c
@@ -401,13 +401,13 @@
401 if( zErr ){
402 @ <blockquote><font color="#ff0000"><b>%h(zErr)</b></font></blockquote>
403 }
404 @ <form action="rptedit" method="POST">
405 @ <input type="hidden" name="rn" value="%d(rn)">
406 @ <p>Report Title:<br />
407 @ <input type="text" name="t" value="%h(zTitle)" size="60"></p>
408 @ <p>Enter a complete SQL query statement against the "TICKET" table:<br />
409 @ <textarea name="s" rows="20" cols="80">%h(zSQL)</textarea>
410 @ </p>
411 login_insert_csrf_secret();
412 if( g.okAdmin ){
413 @ <p>Report owner:
@@ -417,11 +417,11 @@
417 @ <input type="hidden" name="w" value="%h(zOwner)">
418 }
419 @ <p>Enter an optional color key in the following box. (If blank, no
420 @ color key is displayed.) Each line contains the text for a single
421 @ entry in the key. The first token of each line is the background
422 @ color for that line.<br />
423 @ <textarea name="k" rows="8" cols="50">%h(zClrKey)</textarea>
424 @ </p>
425 if( !g.okAdmin && strcmp(zOwner,g.zLogin)!=0 ){
426 @ <p>This report format is owned by %h(zOwner). You are not allowed
427 @ to change it.</p>
@@ -448,11 +448,11 @@
448 zSchema = db_text(0,"SELECT sql FROM sqlite_master WHERE name='ticket'");
449 if( zSchema==0 ){
450 zSchema = db_text(0,"SELECT sql FROM repository.sqlite_master"
451 " WHERE name='ticket'");
452 }
453 @ <hr /><h3>TICKET Schema</h3>
454 @ <blockquote><pre>
455 @ %h(zSchema)
456 @ </pre></blockquote>
457 @ <h3>Notes</h3>
458 @ <ul>
459
+2 -2
--- src/skins.c
+++ src/skins.c
@@ -165,11 +165,11 @@
165165
@ <body>
166166
@ <div class="header">
167167
@ <div class="logo">
168168
@ <img src="$baseurl/logo" alt="logo">
169169
@ </div>
170
-@ <div class="title"><small>$<project_name></small><br>$<title></div>
170
+@ <div class="title"><small>$<project_name></small><br />$<title></div>
171171
@ <div class="status"><nobr><th1>
172172
@ if {[info exists login]} {
173173
@ puts "Logged in as $login"
174174
@ } else {
175175
@ puts "Not logged in"
@@ -600,11 +600,11 @@
600600
@ </head>
601601
@ <body>
602602
@ <div class="header">
603603
@ <div class="logo">
604604
@ <!-- <img src="$baseurl/logo" alt="logo"> -->
605
-@ <br><nobr>$<project_name></nobr>
605
+@ <br /><nobr>$<project_name></nobr>
606606
@ </div>
607607
@ <div class="title">$<title></div>
608608
@ <div class="status"><nobr><th1>
609609
@ if {[info exists login]} {
610610
@ puts "Logged in as $login"
611611
--- src/skins.c
+++ src/skins.c
@@ -165,11 +165,11 @@
165 @ <body>
166 @ <div class="header">
167 @ <div class="logo">
168 @ <img src="$baseurl/logo" alt="logo">
169 @ </div>
170 @ <div class="title"><small>$<project_name></small><br>$<title></div>
171 @ <div class="status"><nobr><th1>
172 @ if {[info exists login]} {
173 @ puts "Logged in as $login"
174 @ } else {
175 @ puts "Not logged in"
@@ -600,11 +600,11 @@
600 @ </head>
601 @ <body>
602 @ <div class="header">
603 @ <div class="logo">
604 @ <!-- <img src="$baseurl/logo" alt="logo"> -->
605 @ <br><nobr>$<project_name></nobr>
606 @ </div>
607 @ <div class="title">$<title></div>
608 @ <div class="status"><nobr><th1>
609 @ if {[info exists login]} {
610 @ puts "Logged in as $login"
611
--- src/skins.c
+++ src/skins.c
@@ -165,11 +165,11 @@
165 @ <body>
166 @ <div class="header">
167 @ <div class="logo">
168 @ <img src="$baseurl/logo" alt="logo">
169 @ </div>
170 @ <div class="title"><small>$<project_name></small><br />$<title></div>
171 @ <div class="status"><nobr><th1>
172 @ if {[info exists login]} {
173 @ puts "Logged in as $login"
174 @ } else {
175 @ puts "Not logged in"
@@ -600,11 +600,11 @@
600 @ </head>
601 @ <body>
602 @ <div class="header">
603 @ <div class="logo">
604 @ <!-- <img src="$baseurl/logo" alt="logo"> -->
605 @ <br /><nobr>$<project_name></nobr>
606 @ </div>
607 @ <div class="title">$<title></div>
608 @ <div class="status"><nobr><th1>
609 @ if {[info exists login]} {
610 @ puts "Logged in as $login"
611
+4 -4
--- src/style.c
+++ src/style.c
@@ -151,11 +151,11 @@
151151
Th_Render(zFooter);
152152
if( g.thTrace ) Th_Trace("END_FOOTER<br />\n", -1);
153153
154154
/* Render trace log if TH1 tracing is enabled. */
155155
if( g.thTrace ){
156
- cgi_append_content("<font color=\"red\"><hr>\n", -1);
156
+ cgi_append_content("<font color=\"red\"><hr />\n", -1);
157157
cgi_append_content(blob_str(&g.thLog), blob_size(&g.thLog));
158158
cgi_append_content("</font>\n", -1);
159159
}
160160
}
161161
@@ -670,12 +670,12 @@
670670
** WEBPAGE: test_env
671671
*/
672672
void page_test_env(void){
673673
style_header("Environment Test");
674674
#if !defined(_WIN32)
675
- @ uid=%d(getuid()), gid=%d(getgid())<br>
675
+ @ uid=%d(getuid()), gid=%d(getgid())<br />
676676
#endif
677
- @ g.zBaseURL = %h(g.zBaseURL)<br>
678
- @ g.zTop = %h(g.zTop)<br>
677
+ @ g.zBaseURL = %h(g.zBaseURL)<br />
678
+ @ g.zTop = %h(g.zTop)<br />
679679
cgi_print_all();
680680
style_footer();
681681
}
682682
--- src/style.c
+++ src/style.c
@@ -151,11 +151,11 @@
151 Th_Render(zFooter);
152 if( g.thTrace ) Th_Trace("END_FOOTER<br />\n", -1);
153
154 /* Render trace log if TH1 tracing is enabled. */
155 if( g.thTrace ){
156 cgi_append_content("<font color=\"red\"><hr>\n", -1);
157 cgi_append_content(blob_str(&g.thLog), blob_size(&g.thLog));
158 cgi_append_content("</font>\n", -1);
159 }
160 }
161
@@ -670,12 +670,12 @@
670 ** WEBPAGE: test_env
671 */
672 void page_test_env(void){
673 style_header("Environment Test");
674 #if !defined(_WIN32)
675 @ uid=%d(getuid()), gid=%d(getgid())<br>
676 #endif
677 @ g.zBaseURL = %h(g.zBaseURL)<br>
678 @ g.zTop = %h(g.zTop)<br>
679 cgi_print_all();
680 style_footer();
681 }
682
--- src/style.c
+++ src/style.c
@@ -151,11 +151,11 @@
151 Th_Render(zFooter);
152 if( g.thTrace ) Th_Trace("END_FOOTER<br />\n", -1);
153
154 /* Render trace log if TH1 tracing is enabled. */
155 if( g.thTrace ){
156 cgi_append_content("<font color=\"red\"><hr />\n", -1);
157 cgi_append_content(blob_str(&g.thLog), blob_size(&g.thLog));
158 cgi_append_content("</font>\n", -1);
159 }
160 }
161
@@ -670,12 +670,12 @@
670 ** WEBPAGE: test_env
671 */
672 void page_test_env(void){
673 style_header("Environment Test");
674 #if !defined(_WIN32)
675 @ uid=%d(getuid()), gid=%d(getgid())<br />
676 #endif
677 @ g.zBaseURL = %h(g.zBaseURL)<br />
678 @ g.zTop = %h(g.zTop)<br />
679 cgi_print_all();
680 style_footer();
681 }
682
+4 -4
--- src/timeline.c
+++ src/timeline.c
@@ -227,11 +227,11 @@
227227
@ <span class="timelineDisabled">... %d(suppressCnt) similar
228228
@ event%s(suppressCnt>1?"s":"") omitted.</span></td></tr>
229229
suppressCnt = 0;
230230
}
231231
if( strcmp(zType,"div")==0 ){
232
- @ <tr><td colspan=3><hr></td></tr>
232
+ @ <tr><td colspan=3><hr /></td></tr>
233233
continue;
234234
}
235235
if( memcmp(zDate, zPrevDate, 10) ){
236236
sprintf(zPrevDate, "%.10s", zDate);
237237
@ <tr><td>
@@ -891,15 +891,15 @@
891891
}else if( zBrName ){
892892
blob_appendf(&desc, " related to \"%h\"", zBrName);
893893
tmFlags |= TIMELINE_DISJOINT;
894894
}
895895
if( zAfter ){
896
- blob_appendf(&desc, " occurring on or after %h.<br>", zAfter);
896
+ blob_appendf(&desc, " occurring on or after %h.<br />", zAfter);
897897
}else if( zBefore ){
898
- blob_appendf(&desc, " occurring on or before %h.<br>", zBefore);
898
+ blob_appendf(&desc, " occurring on or before %h.<br />", zBefore);
899899
}else if( zCirca ){
900
- blob_appendf(&desc, " occurring around %h.<br>", zCirca);
900
+ blob_appendf(&desc, " occurring around %h.<br />", zCirca);
901901
}
902902
if( zSearch ){
903903
blob_appendf(&desc, " matching \"%h\"", zSearch);
904904
}
905905
if( g.okHistory ){
906906
--- src/timeline.c
+++ src/timeline.c
@@ -227,11 +227,11 @@
227 @ <span class="timelineDisabled">... %d(suppressCnt) similar
228 @ event%s(suppressCnt>1?"s":"") omitted.</span></td></tr>
229 suppressCnt = 0;
230 }
231 if( strcmp(zType,"div")==0 ){
232 @ <tr><td colspan=3><hr></td></tr>
233 continue;
234 }
235 if( memcmp(zDate, zPrevDate, 10) ){
236 sprintf(zPrevDate, "%.10s", zDate);
237 @ <tr><td>
@@ -891,15 +891,15 @@
891 }else if( zBrName ){
892 blob_appendf(&desc, " related to \"%h\"", zBrName);
893 tmFlags |= TIMELINE_DISJOINT;
894 }
895 if( zAfter ){
896 blob_appendf(&desc, " occurring on or after %h.<br>", zAfter);
897 }else if( zBefore ){
898 blob_appendf(&desc, " occurring on or before %h.<br>", zBefore);
899 }else if( zCirca ){
900 blob_appendf(&desc, " occurring around %h.<br>", zCirca);
901 }
902 if( zSearch ){
903 blob_appendf(&desc, " matching \"%h\"", zSearch);
904 }
905 if( g.okHistory ){
906
--- src/timeline.c
+++ src/timeline.c
@@ -227,11 +227,11 @@
227 @ <span class="timelineDisabled">... %d(suppressCnt) similar
228 @ event%s(suppressCnt>1?"s":"") omitted.</span></td></tr>
229 suppressCnt = 0;
230 }
231 if( strcmp(zType,"div")==0 ){
232 @ <tr><td colspan=3><hr /></td></tr>
233 continue;
234 }
235 if( memcmp(zDate, zPrevDate, 10) ){
236 sprintf(zPrevDate, "%.10s", zDate);
237 @ <tr><td>
@@ -891,15 +891,15 @@
891 }else if( zBrName ){
892 blob_appendf(&desc, " related to \"%h\"", zBrName);
893 tmFlags |= TIMELINE_DISJOINT;
894 }
895 if( zAfter ){
896 blob_appendf(&desc, " occurring on or after %h.<br />", zAfter);
897 }else if( zBefore ){
898 blob_appendf(&desc, " occurring on or before %h.<br />", zBefore);
899 }else if( zCirca ){
900 blob_appendf(&desc, " occurring around %h.<br />", zCirca);
901 }
902 if( zSearch ){
903 blob_appendf(&desc, " matching \"%h\"", zSearch);
904 }
905 if( g.okHistory ){
906
+1 -1
--- src/tkt.c
+++ src/tkt.c
@@ -342,11 +342,11 @@
342342
while( db_step(&q)==SQLITE_ROW ){
343343
const char *zDate = db_column_text(&q, 0);
344344
const char *zFile = db_column_text(&q, 1);
345345
const char *zUser = db_column_text(&q, 2);
346346
if( cnt==0 ){
347
- @ <hr><h2>Attachments:</h2>
347
+ @ <hr /><h2>Attachments:</h2>
348348
@ <ul>
349349
}
350350
cnt++;
351351
if( g.okRead && g.okHistory ){
352352
@ <li><a href="%s(g.zTop)/attachview?tkt=%s(zFullName)&file=%t(zFile)">
353353
--- src/tkt.c
+++ src/tkt.c
@@ -342,11 +342,11 @@
342 while( db_step(&q)==SQLITE_ROW ){
343 const char *zDate = db_column_text(&q, 0);
344 const char *zFile = db_column_text(&q, 1);
345 const char *zUser = db_column_text(&q, 2);
346 if( cnt==0 ){
347 @ <hr><h2>Attachments:</h2>
348 @ <ul>
349 }
350 cnt++;
351 if( g.okRead && g.okHistory ){
352 @ <li><a href="%s(g.zTop)/attachview?tkt=%s(zFullName)&file=%t(zFile)">
353
--- src/tkt.c
+++ src/tkt.c
@@ -342,11 +342,11 @@
342 while( db_step(&q)==SQLITE_ROW ){
343 const char *zDate = db_column_text(&q, 0);
344 const char *zFile = db_column_text(&q, 1);
345 const char *zUser = db_column_text(&q, 2);
346 if( cnt==0 ){
347 @ <hr /><h2>Attachments:</h2>
348 @ <ul>
349 }
350 cnt++;
351 if( g.okRead && g.okHistory ){
352 @ <li><a href="%s(g.zTop)/attachview?tkt=%s(zFullName)&file=%t(zFile)">
353
+15 -15
--- src/tktsetup.c
+++ src/tktsetup.c
@@ -254,11 +254,11 @@
254254
@ </th1>
255255
@ <h1 align="center">Enter A New Ticket</h1>
256256
@ <table cellpadding="5">
257257
@ <tr>
258258
@ <td colspan="2">
259
-@ Enter a one-line summary of the ticket:<br>
259
+@ Enter a one-line summary of the ticket:<br />
260260
@ <input type="text" name="title" size="60" value="$<title>">
261261
@ </td>
262262
@ </tr>
263263
@
264264
@ <tr>
@@ -295,22 +295,22 @@
295295
@ <td colspan="2">
296296
@ Enter a detailed description of the problem.
297297
@ For code defects, be sure to provide details on exactly how
298298
@ the problem can be reproduced. Provide as much detail as
299299
@ possible.
300
-@ <br>
300
+@ <br />
301301
@ <th1>set nline [linecount $comment 50 10]</th1>
302302
@ <textarea name="comment" cols="80" rows="$nline"
303
-@ wrap="virtual" class="wikiedit">$<comment></textarea><br>
303
+@ wrap="virtual" class="wikiedit">$<comment></textarea><br />
304304
@ <input type="submit" name="preview" value="Preview">
305305
@ </tr>
306306
@
307307
@ <th1>enable_output [info exists preview]</th1>
308308
@ <tr><td colspan="2">
309
-@ Description Preview:<br><hr>
309
+@ Description Preview:<br /><hr />
310310
@ <th1>wiki $comment</th1>
311
-@ <hr>
311
+@ <hr />
312312
@ </td></tr>
313313
@ <th1>enable_output 1</th1>
314314
@
315315
@ <tr>
316316
@ <td align="right">
@@ -430,15 +430,15 @@
430430
@ <th1>
431431
@ if {![info exists username]} {set username $login}
432432
@ if {[info exists submit]} {
433433
@ if {[info exists cmappnd]} {
434434
@ if {[string length $cmappnd]>0} {
435
-@ set ctxt "\n\n<hr><i>[htmlize $login]"
435
+@ set ctxt "\n\n<hr /><i>[htmlize $login]"
436436
@ if {$username ne $login} {
437437
@ set ctxt "$ctxt claiming to be [htmlize $username]"
438438
@ }
439
-@ set ctxt "$ctxt added on [date]:</i><br>\n$cmappnd"
439
+@ set ctxt "$ctxt added on [date]:</i><br />\n$cmappnd"
440440
@ append_field comment $ctxt
441441
@ }
442442
@ }
443443
@ submit_ticket
444444
@ }
@@ -482,39 +482,39 @@
482482
@ if {![hascap w]} {set eall 0}
483483
@ if {![info exists cmappnd]} {set cmappnd {}}
484484
@ set nline [linecount $comment 15 10]
485485
@ enable_output $eall
486486
@ </th1>
487
-@ Description And Comments:<br>
487
+@ Description And Comments:<br />
488488
@ <textarea name="comment" cols="80" rows="$nline"
489
-@ wrap="virtual" class="wikiedit">$<comment></textarea><br>
489
+@ wrap="virtual" class="wikiedit">$<comment></textarea><br />
490490
@ <input type="hidden" name="eall" value="1">
491491
@ <input type="submit" name="aonlybtn" value="Append Remark">
492492
@ <input type="submit" name="preview1btn" value="Preview">
493493
@ <th1>enable_output [expr {!$eall}]</th1>
494494
@ Append Remark from
495
-@ <input type="text" name="username" value="$<username>" size="30">:<br>
495
+@ <input type="text" name="username" value="$<username>" size="30">:<br />
496496
@ <textarea name="cmappnd" cols="80" rows="15"
497
-@ wrap="virtual" class="wikiedit">$<cmappnd></textarea><br>
497
+@ wrap="virtual" class="wikiedit">$<cmappnd></textarea><br />
498498
@ <th1>enable_output [expr {[hascap w] && !$eall}]</th1>
499499
@ <input type="submit" name="eallbtn" value="Edit All">
500500
@ <th1>enable_output [expr {!$eall}]</th1>
501501
@ <input type="submit" name="preview2btn" value="Preview">
502502
@ <th1>enable_output 1</th1>
503503
@ </td></tr>
504504
@
505505
@ <th1>enable_output [info exists preview1btn]</th1>
506506
@ <tr><td colspan="2">
507
-@ Description Preview:<br><hr>
507
+@ Description Preview:<br /><hr />
508508
@ <th1>wiki $comment</th1>
509
-@ <hr>
509
+@ <hr />
510510
@ </td></tr>
511511
@ <th1>enable_output [info exists preview2btn]</th1>
512512
@ <tr><td colspan="2">
513
-@ Description Preview:<br><hr>
513
+@ Description Preview:<br /><hr />
514514
@ <th1>wiki $cmappnd</th1>
515
-@ <hr>
515
+@ <hr />
516516
@ </td></tr>
517517
@ <th1>enable_output 1</th1>
518518
@
519519
@ <tr><td align="right"></td><td>
520520
@ <input type="submit" name="submit" value="Submit Changes">
521521
--- src/tktsetup.c
+++ src/tktsetup.c
@@ -254,11 +254,11 @@
254 @ </th1>
255 @ <h1 align="center">Enter A New Ticket</h1>
256 @ <table cellpadding="5">
257 @ <tr>
258 @ <td colspan="2">
259 @ Enter a one-line summary of the ticket:<br>
260 @ <input type="text" name="title" size="60" value="$<title>">
261 @ </td>
262 @ </tr>
263 @
264 @ <tr>
@@ -295,22 +295,22 @@
295 @ <td colspan="2">
296 @ Enter a detailed description of the problem.
297 @ For code defects, be sure to provide details on exactly how
298 @ the problem can be reproduced. Provide as much detail as
299 @ possible.
300 @ <br>
301 @ <th1>set nline [linecount $comment 50 10]</th1>
302 @ <textarea name="comment" cols="80" rows="$nline"
303 @ wrap="virtual" class="wikiedit">$<comment></textarea><br>
304 @ <input type="submit" name="preview" value="Preview">
305 @ </tr>
306 @
307 @ <th1>enable_output [info exists preview]</th1>
308 @ <tr><td colspan="2">
309 @ Description Preview:<br><hr>
310 @ <th1>wiki $comment</th1>
311 @ <hr>
312 @ </td></tr>
313 @ <th1>enable_output 1</th1>
314 @
315 @ <tr>
316 @ <td align="right">
@@ -430,15 +430,15 @@
430 @ <th1>
431 @ if {![info exists username]} {set username $login}
432 @ if {[info exists submit]} {
433 @ if {[info exists cmappnd]} {
434 @ if {[string length $cmappnd]>0} {
435 @ set ctxt "\n\n<hr><i>[htmlize $login]"
436 @ if {$username ne $login} {
437 @ set ctxt "$ctxt claiming to be [htmlize $username]"
438 @ }
439 @ set ctxt "$ctxt added on [date]:</i><br>\n$cmappnd"
440 @ append_field comment $ctxt
441 @ }
442 @ }
443 @ submit_ticket
444 @ }
@@ -482,39 +482,39 @@
482 @ if {![hascap w]} {set eall 0}
483 @ if {![info exists cmappnd]} {set cmappnd {}}
484 @ set nline [linecount $comment 15 10]
485 @ enable_output $eall
486 @ </th1>
487 @ Description And Comments:<br>
488 @ <textarea name="comment" cols="80" rows="$nline"
489 @ wrap="virtual" class="wikiedit">$<comment></textarea><br>
490 @ <input type="hidden" name="eall" value="1">
491 @ <input type="submit" name="aonlybtn" value="Append Remark">
492 @ <input type="submit" name="preview1btn" value="Preview">
493 @ <th1>enable_output [expr {!$eall}]</th1>
494 @ Append Remark from
495 @ <input type="text" name="username" value="$<username>" size="30">:<br>
496 @ <textarea name="cmappnd" cols="80" rows="15"
497 @ wrap="virtual" class="wikiedit">$<cmappnd></textarea><br>
498 @ <th1>enable_output [expr {[hascap w] && !$eall}]</th1>
499 @ <input type="submit" name="eallbtn" value="Edit All">
500 @ <th1>enable_output [expr {!$eall}]</th1>
501 @ <input type="submit" name="preview2btn" value="Preview">
502 @ <th1>enable_output 1</th1>
503 @ </td></tr>
504 @
505 @ <th1>enable_output [info exists preview1btn]</th1>
506 @ <tr><td colspan="2">
507 @ Description Preview:<br><hr>
508 @ <th1>wiki $comment</th1>
509 @ <hr>
510 @ </td></tr>
511 @ <th1>enable_output [info exists preview2btn]</th1>
512 @ <tr><td colspan="2">
513 @ Description Preview:<br><hr>
514 @ <th1>wiki $cmappnd</th1>
515 @ <hr>
516 @ </td></tr>
517 @ <th1>enable_output 1</th1>
518 @
519 @ <tr><td align="right"></td><td>
520 @ <input type="submit" name="submit" value="Submit Changes">
521
--- src/tktsetup.c
+++ src/tktsetup.c
@@ -254,11 +254,11 @@
254 @ </th1>
255 @ <h1 align="center">Enter A New Ticket</h1>
256 @ <table cellpadding="5">
257 @ <tr>
258 @ <td colspan="2">
259 @ Enter a one-line summary of the ticket:<br />
260 @ <input type="text" name="title" size="60" value="$<title>">
261 @ </td>
262 @ </tr>
263 @
264 @ <tr>
@@ -295,22 +295,22 @@
295 @ <td colspan="2">
296 @ Enter a detailed description of the problem.
297 @ For code defects, be sure to provide details on exactly how
298 @ the problem can be reproduced. Provide as much detail as
299 @ possible.
300 @ <br />
301 @ <th1>set nline [linecount $comment 50 10]</th1>
302 @ <textarea name="comment" cols="80" rows="$nline"
303 @ wrap="virtual" class="wikiedit">$<comment></textarea><br />
304 @ <input type="submit" name="preview" value="Preview">
305 @ </tr>
306 @
307 @ <th1>enable_output [info exists preview]</th1>
308 @ <tr><td colspan="2">
309 @ Description Preview:<br /><hr />
310 @ <th1>wiki $comment</th1>
311 @ <hr />
312 @ </td></tr>
313 @ <th1>enable_output 1</th1>
314 @
315 @ <tr>
316 @ <td align="right">
@@ -430,15 +430,15 @@
430 @ <th1>
431 @ if {![info exists username]} {set username $login}
432 @ if {[info exists submit]} {
433 @ if {[info exists cmappnd]} {
434 @ if {[string length $cmappnd]>0} {
435 @ set ctxt "\n\n<hr /><i>[htmlize $login]"
436 @ if {$username ne $login} {
437 @ set ctxt "$ctxt claiming to be [htmlize $username]"
438 @ }
439 @ set ctxt "$ctxt added on [date]:</i><br />\n$cmappnd"
440 @ append_field comment $ctxt
441 @ }
442 @ }
443 @ submit_ticket
444 @ }
@@ -482,39 +482,39 @@
482 @ if {![hascap w]} {set eall 0}
483 @ if {![info exists cmappnd]} {set cmappnd {}}
484 @ set nline [linecount $comment 15 10]
485 @ enable_output $eall
486 @ </th1>
487 @ Description And Comments:<br />
488 @ <textarea name="comment" cols="80" rows="$nline"
489 @ wrap="virtual" class="wikiedit">$<comment></textarea><br />
490 @ <input type="hidden" name="eall" value="1">
491 @ <input type="submit" name="aonlybtn" value="Append Remark">
492 @ <input type="submit" name="preview1btn" value="Preview">
493 @ <th1>enable_output [expr {!$eall}]</th1>
494 @ Append Remark from
495 @ <input type="text" name="username" value="$<username>" size="30">:<br />
496 @ <textarea name="cmappnd" cols="80" rows="15"
497 @ wrap="virtual" class="wikiedit">$<cmappnd></textarea><br />
498 @ <th1>enable_output [expr {[hascap w] && !$eall}]</th1>
499 @ <input type="submit" name="eallbtn" value="Edit All">
500 @ <th1>enable_output [expr {!$eall}]</th1>
501 @ <input type="submit" name="preview2btn" value="Preview">
502 @ <th1>enable_output 1</th1>
503 @ </td></tr>
504 @
505 @ <th1>enable_output [info exists preview1btn]</th1>
506 @ <tr><td colspan="2">
507 @ Description Preview:<br /><hr />
508 @ <th1>wiki $comment</th1>
509 @ <hr />
510 @ </td></tr>
511 @ <th1>enable_output [info exists preview2btn]</th1>
512 @ <tr><td colspan="2">
513 @ Description Preview:<br /><hr />
514 @ <th1>wiki $cmappnd</th1>
515 @ <hr />
516 @ </td></tr>
517 @ <th1>enable_output 1</th1>
518 @
519 @ <tr><td align="right"></td><td>
520 @ <input type="submit" name="submit" value="Submit Changes">
521
+6 -6
--- src/wiki.c
+++ src/wiki.c
@@ -351,13 +351,13 @@
351351
zHtmlPageName = mprintf("Edit: %s", zPageName);
352352
style_header(zHtmlPageName);
353353
if( P("preview")!=0 ){
354354
blob_zero(&wiki);
355355
blob_append(&wiki, zBody, -1);
356
- @ Preview:<hr>
356
+ @ Preview:<hr />
357357
wiki_convert(&wiki, 0, 0);
358
- @ <hr>
358
+ @ <hr />
359359
blob_reset(&wiki);
360360
}
361361
for(n=2, z=zBody; z[0]; z++){
362362
if( z[0]=='\n' ) n++;
363363
}
@@ -366,11 +366,11 @@
366366
@ <form method="post" action="%s(g.zBaseURL)/wikiedit"><div>
367367
login_insert_csrf_secret();
368368
@ <input type="hidden" name="name" value="%h(zPageName)" />
369369
@ <textarea name="w" class="wikiedit" cols="80"
370370
@ rows="%d(n)" wrap="virtual">%h(zBody)</textarea>
371
- @ <br>
371
+ @ <br />
372372
@ <input type="submit" name="preview" value="Preview Your Changes" />
373373
@ <input type="submit" name="submit" value="Apply These Changes" />
374374
@ <input type="submit" name="cancel" value="Cancel" />
375375
@ </div></form>
376376
if( !isSandbox ){
@@ -537,15 +537,15 @@
537537
zUser = PD("u", g.zLogin);
538538
@ <form method="POST" action="%s(g.zBaseURL)/wikiappend">
539539
login_insert_csrf_secret();
540540
@ <input type="hidden" name="name" value="%h(zPageName)">
541541
@ Your Name:
542
- @ <input type="text" name="u" size="20" value="%h(zUser)"><br>
543
- @ Comment to append:<br>
542
+ @ <input type="text" name="u" size="20" value="%h(zUser)"><br />
543
+ @ Comment to append:<br />
544544
@ <textarea name="r" class="wikiedit" cols="80"
545545
@ rows="10" wrap="virtual">%h(PD("r",""))</textarea>
546
- @ <br>
546
+ @ <br />
547547
@ <input type="submit" name="preview" value="Preview Your Comment">
548548
@ <input type="submit" name="submit" value="Append Your Changes">
549549
@ <input type="submit" name="cancel" value="Cancel">
550550
@ </form>
551551
style_footer();
552552
--- src/wiki.c
+++ src/wiki.c
@@ -351,13 +351,13 @@
351 zHtmlPageName = mprintf("Edit: %s", zPageName);
352 style_header(zHtmlPageName);
353 if( P("preview")!=0 ){
354 blob_zero(&wiki);
355 blob_append(&wiki, zBody, -1);
356 @ Preview:<hr>
357 wiki_convert(&wiki, 0, 0);
358 @ <hr>
359 blob_reset(&wiki);
360 }
361 for(n=2, z=zBody; z[0]; z++){
362 if( z[0]=='\n' ) n++;
363 }
@@ -366,11 +366,11 @@
366 @ <form method="post" action="%s(g.zBaseURL)/wikiedit"><div>
367 login_insert_csrf_secret();
368 @ <input type="hidden" name="name" value="%h(zPageName)" />
369 @ <textarea name="w" class="wikiedit" cols="80"
370 @ rows="%d(n)" wrap="virtual">%h(zBody)</textarea>
371 @ <br>
372 @ <input type="submit" name="preview" value="Preview Your Changes" />
373 @ <input type="submit" name="submit" value="Apply These Changes" />
374 @ <input type="submit" name="cancel" value="Cancel" />
375 @ </div></form>
376 if( !isSandbox ){
@@ -537,15 +537,15 @@
537 zUser = PD("u", g.zLogin);
538 @ <form method="POST" action="%s(g.zBaseURL)/wikiappend">
539 login_insert_csrf_secret();
540 @ <input type="hidden" name="name" value="%h(zPageName)">
541 @ Your Name:
542 @ <input type="text" name="u" size="20" value="%h(zUser)"><br>
543 @ Comment to append:<br>
544 @ <textarea name="r" class="wikiedit" cols="80"
545 @ rows="10" wrap="virtual">%h(PD("r",""))</textarea>
546 @ <br>
547 @ <input type="submit" name="preview" value="Preview Your Comment">
548 @ <input type="submit" name="submit" value="Append Your Changes">
549 @ <input type="submit" name="cancel" value="Cancel">
550 @ </form>
551 style_footer();
552
--- src/wiki.c
+++ src/wiki.c
@@ -351,13 +351,13 @@
351 zHtmlPageName = mprintf("Edit: %s", zPageName);
352 style_header(zHtmlPageName);
353 if( P("preview")!=0 ){
354 blob_zero(&wiki);
355 blob_append(&wiki, zBody, -1);
356 @ Preview:<hr />
357 wiki_convert(&wiki, 0, 0);
358 @ <hr />
359 blob_reset(&wiki);
360 }
361 for(n=2, z=zBody; z[0]; z++){
362 if( z[0]=='\n' ) n++;
363 }
@@ -366,11 +366,11 @@
366 @ <form method="post" action="%s(g.zBaseURL)/wikiedit"><div>
367 login_insert_csrf_secret();
368 @ <input type="hidden" name="name" value="%h(zPageName)" />
369 @ <textarea name="w" class="wikiedit" cols="80"
370 @ rows="%d(n)" wrap="virtual">%h(zBody)</textarea>
371 @ <br />
372 @ <input type="submit" name="preview" value="Preview Your Changes" />
373 @ <input type="submit" name="submit" value="Apply These Changes" />
374 @ <input type="submit" name="cancel" value="Cancel" />
375 @ </div></form>
376 if( !isSandbox ){
@@ -537,15 +537,15 @@
537 zUser = PD("u", g.zLogin);
538 @ <form method="POST" action="%s(g.zBaseURL)/wikiappend">
539 login_insert_csrf_secret();
540 @ <input type="hidden" name="name" value="%h(zPageName)">
541 @ Your Name:
542 @ <input type="text" name="u" size="20" value="%h(zUser)"><br />
543 @ Comment to append:<br />
544 @ <textarea name="r" class="wikiedit" cols="80"
545 @ rows="10" wrap="virtual">%h(PD("r",""))</textarea>
546 @ <br />
547 @ <input type="submit" name="preview" value="Preview Your Comment">
548 @ <input type="submit" name="submit" value="Append Your Changes">
549 @ <input type="submit" name="cancel" value="Cancel">
550 @ </form>
551 style_footer();
552

Keyboard Shortcuts

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