Fossil SCM
added more cross reference
Commit
c2ef37159078ec3781a1d477d05a5f7a7d0e1b02
Parent
d1d1cd122b279db…
14 files changed
+1
-1
+1
+1
-1
+1
-1
+6
-6
+2
-2
+1
-1
+6
-6
+1
-1
+9
-2
+1
-1
+3
-1
+5
-5
+6
-2
+1
-1
| --- src/browse.c | ||
| +++ src/browse.c | ||
| @@ -247,7 +247,7 @@ | ||
| 247 | 247 | @ </a></li> |
| 248 | 248 | } |
| 249 | 249 | } |
| 250 | 250 | db_finalize(&q); |
| 251 | 251 | @ </ul></td></tr></table> |
| 252 | - style_footer_cmdref("ls"); | |
| 252 | + style_footer_cmdref("ls",0); | |
| 253 | 253 | } |
| 254 | 254 |
| --- src/browse.c | |
| +++ src/browse.c | |
| @@ -247,7 +247,7 @@ | |
| 247 | @ </a></li> |
| 248 | } |
| 249 | } |
| 250 | db_finalize(&q); |
| 251 | @ </ul></td></tr></table> |
| 252 | style_footer_cmdref("ls"); |
| 253 | } |
| 254 |
| --- src/browse.c | |
| +++ src/browse.c | |
| @@ -247,7 +247,7 @@ | |
| 247 | @ </a></li> |
| 248 | } |
| 249 | } |
| 250 | db_finalize(&q); |
| 251 | @ </ul></td></tr></table> |
| 252 | style_footer_cmdref("ls",0); |
| 253 | } |
| 254 |
+1
| --- src/clone.c | ||
| +++ src/clone.c | ||
| @@ -37,10 +37,11 @@ | ||
| 37 | 37 | ** |
| 38 | 38 | ** Options: |
| 39 | 39 | ** |
| 40 | 40 | ** --admin-user|-A USERNAME |
| 41 | 41 | ** |
| 42 | +** See also: <a>push</a>, <a>pull</a>, <a>remote-url</a>, <a>sync</a> | |
| 42 | 43 | */ |
| 43 | 44 | void clone_cmd(void){ |
| 44 | 45 | char *zPassword; |
| 45 | 46 | const char *zDefaultUser; /* Optional name of the default user */ |
| 46 | 47 | |
| 47 | 48 |
| --- src/clone.c | |
| +++ src/clone.c | |
| @@ -37,10 +37,11 @@ | |
| 37 | ** |
| 38 | ** Options: |
| 39 | ** |
| 40 | ** --admin-user|-A USERNAME |
| 41 | ** |
| 42 | */ |
| 43 | void clone_cmd(void){ |
| 44 | char *zPassword; |
| 45 | const char *zDefaultUser; /* Optional name of the default user */ |
| 46 | |
| 47 |
| --- src/clone.c | |
| +++ src/clone.c | |
| @@ -37,10 +37,11 @@ | |
| 37 | ** |
| 38 | ** Options: |
| 39 | ** |
| 40 | ** --admin-user|-A USERNAME |
| 41 | ** |
| 42 | ** See also: <a>push</a>, <a>pull</a>, <a>remote-url</a>, <a>sync</a> |
| 43 | */ |
| 44 | void clone_cmd(void){ |
| 45 | char *zPassword; |
| 46 | const char *zDefaultUser; /* Optional name of the default user */ |
| 47 | |
| 48 |
+1
-1
| --- src/diff.c | ||
| +++ src/diff.c | ||
| @@ -815,11 +815,11 @@ | ||
| 815 | 815 | for(i=0; i<ann.nOrig; i++){ |
| 816 | 816 | ((char*)ann.aOrig[i].z)[ann.aOrig[i].n] = 0; |
| 817 | 817 | @ %s(ann.aOrig[i].zSrc): %h(ann.aOrig[i].z) |
| 818 | 818 | } |
| 819 | 819 | @ </pre> |
| 820 | - style_footer_cmdref("annotate"); | |
| 820 | + style_footer_cmdref("annotate",0); | |
| 821 | 821 | } |
| 822 | 822 | |
| 823 | 823 | /* |
| 824 | 824 | ** COMMAND: annotate |
| 825 | 825 | ** |
| 826 | 826 |
| --- src/diff.c | |
| +++ src/diff.c | |
| @@ -815,11 +815,11 @@ | |
| 815 | for(i=0; i<ann.nOrig; i++){ |
| 816 | ((char*)ann.aOrig[i].z)[ann.aOrig[i].n] = 0; |
| 817 | @ %s(ann.aOrig[i].zSrc): %h(ann.aOrig[i].z) |
| 818 | } |
| 819 | @ </pre> |
| 820 | style_footer_cmdref("annotate"); |
| 821 | } |
| 822 | |
| 823 | /* |
| 824 | ** COMMAND: annotate |
| 825 | ** |
| 826 |
| --- src/diff.c | |
| +++ src/diff.c | |
| @@ -815,11 +815,11 @@ | |
| 815 | for(i=0; i<ann.nOrig; i++){ |
| 816 | ((char*)ann.aOrig[i].z)[ann.aOrig[i].n] = 0; |
| 817 | @ %s(ann.aOrig[i].zSrc): %h(ann.aOrig[i].z) |
| 818 | } |
| 819 | @ </pre> |
| 820 | style_footer_cmdref("annotate",0); |
| 821 | } |
| 822 | |
| 823 | /* |
| 824 | ** COMMAND: annotate |
| 825 | ** |
| 826 |
+1
-1
| --- src/finfo.c | ||
| +++ src/finfo.c | ||
| @@ -212,7 +212,7 @@ | ||
| 212 | 212 | @ </td></tr> |
| 213 | 213 | } |
| 214 | 214 | } |
| 215 | 215 | @ </table> |
| 216 | 216 | timeline_output_graph_javascript(pGraph); |
| 217 | - style_footer_cmdref("finfo"); | |
| 217 | + style_footer_cmdref("finfo",0); | |
| 218 | 218 | } |
| 219 | 219 |
| --- src/finfo.c | |
| +++ src/finfo.c | |
| @@ -212,7 +212,7 @@ | |
| 212 | @ </td></tr> |
| 213 | } |
| 214 | } |
| 215 | @ </table> |
| 216 | timeline_output_graph_javascript(pGraph); |
| 217 | style_footer_cmdref("finfo"); |
| 218 | } |
| 219 |
| --- src/finfo.c | |
| +++ src/finfo.c | |
| @@ -212,7 +212,7 @@ | |
| 212 | @ </td></tr> |
| 213 | } |
| 214 | } |
| 215 | @ </table> |
| 216 | timeline_output_graph_javascript(pGraph); |
| 217 | style_footer_cmdref("finfo",0); |
| 218 | } |
| 219 |
+6
-6
| --- src/info.c | ||
| +++ src/info.c | ||
| @@ -467,11 +467,11 @@ | ||
| 467 | 467 | const char *zOld = db_column_text(&q,1); |
| 468 | 468 | const char *zNew = db_column_text(&q,2); |
| 469 | 469 | append_file_change_line(zName, zOld, zNew, showDiff); |
| 470 | 470 | } |
| 471 | 471 | db_finalize(&q); |
| 472 | - style_footer_cmdref("info"); | |
| 472 | + style_footer_cmdref("info",0); | |
| 473 | 473 | } |
| 474 | 474 | |
| 475 | 475 | /* |
| 476 | 476 | ** WEBPAGE: winfo |
| 477 | 477 | ** URL: /winfo?name=RID |
| @@ -550,11 +550,11 @@ | ||
| 550 | 550 | wiki_convert(&wiki, 0, 0); |
| 551 | 551 | blob_reset(&wiki); |
| 552 | 552 | } |
| 553 | 553 | manifest_clear(&m); |
| 554 | 554 | } |
| 555 | - style_footer_cmdref("info"); | |
| 555 | + style_footer_cmdref("info",0); | |
| 556 | 556 | } |
| 557 | 557 | |
| 558 | 558 | /* |
| 559 | 559 | ** Show a webpage error message |
| 560 | 560 | */ |
| @@ -654,11 +654,11 @@ | ||
| 654 | 654 | @ <tr><td>details:</td><td><input type="checkbox" name="detail" |
| 655 | 655 | @ checked="checked" value="1" /></td></tr> |
| 656 | 656 | @ <tr><td></td><td></td><td> |
| 657 | 657 | @ <input type="submit" name="diff" value="diff" /></td></tr></table> |
| 658 | 658 | @ </div></form> |
| 659 | - style_footer_cmdref("diff"); | |
| 659 | + style_footer_cmdref("diff",0); | |
| 660 | 660 | return; |
| 661 | 661 | }else if( vdiff_parse_manifest("from", &ridFrom, &mFrom) |
| 662 | 662 | || vdiff_parse_manifest("to", &ridTo, &mTo) |
| 663 | 663 | ){ |
| 664 | 664 | return; |
| @@ -701,11 +701,11 @@ | ||
| 701 | 701 | } |
| 702 | 702 | } |
| 703 | 703 | manifest_clear(&mFrom); |
| 704 | 704 | manifest_clear(&mTo); |
| 705 | 705 | |
| 706 | - style_footer_cmdref("diff"); | |
| 706 | + style_footer_cmdref("diff",0); | |
| 707 | 707 | } |
| 708 | 708 | |
| 709 | 709 | /* |
| 710 | 710 | ** Write a description of an object to the www reply. |
| 711 | 711 | ** |
| @@ -1173,11 +1173,11 @@ | ||
| 1173 | 1173 | hexdump(&content); |
| 1174 | 1174 | @ </pre> |
| 1175 | 1175 | } |
| 1176 | 1176 | @ </blockquote> |
| 1177 | 1177 | } |
| 1178 | - style_footer_cmdref( "artifact" ); | |
| 1178 | + style_footer_cmdref( "artifact",0 ); | |
| 1179 | 1179 | } |
| 1180 | 1180 | |
| 1181 | 1181 | /* |
| 1182 | 1182 | ** WEBPAGE: tinfo |
| 1183 | 1183 | ** URL: /tinfo?name=ARTIFACTID |
| @@ -1233,11 +1233,11 @@ | ||
| 1233 | 1233 | @ |
| 1234 | 1234 | @ <ol> |
| 1235 | 1235 | free(zDate); |
| 1236 | 1236 | ticket_output_change_artifact(&m); |
| 1237 | 1237 | manifest_clear(&m); |
| 1238 | - style_footer_cmdref("info"); | |
| 1238 | + style_footer_cmdref("info",0); | |
| 1239 | 1239 | } |
| 1240 | 1240 | |
| 1241 | 1241 | |
| 1242 | 1242 | /* |
| 1243 | 1243 | ** WEBPAGE: info |
| 1244 | 1244 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -467,11 +467,11 @@ | |
| 467 | const char *zOld = db_column_text(&q,1); |
| 468 | const char *zNew = db_column_text(&q,2); |
| 469 | append_file_change_line(zName, zOld, zNew, showDiff); |
| 470 | } |
| 471 | db_finalize(&q); |
| 472 | style_footer_cmdref("info"); |
| 473 | } |
| 474 | |
| 475 | /* |
| 476 | ** WEBPAGE: winfo |
| 477 | ** URL: /winfo?name=RID |
| @@ -550,11 +550,11 @@ | |
| 550 | wiki_convert(&wiki, 0, 0); |
| 551 | blob_reset(&wiki); |
| 552 | } |
| 553 | manifest_clear(&m); |
| 554 | } |
| 555 | style_footer_cmdref("info"); |
| 556 | } |
| 557 | |
| 558 | /* |
| 559 | ** Show a webpage error message |
| 560 | */ |
| @@ -654,11 +654,11 @@ | |
| 654 | @ <tr><td>details:</td><td><input type="checkbox" name="detail" |
| 655 | @ checked="checked" value="1" /></td></tr> |
| 656 | @ <tr><td></td><td></td><td> |
| 657 | @ <input type="submit" name="diff" value="diff" /></td></tr></table> |
| 658 | @ </div></form> |
| 659 | style_footer_cmdref("diff"); |
| 660 | return; |
| 661 | }else if( vdiff_parse_manifest("from", &ridFrom, &mFrom) |
| 662 | || vdiff_parse_manifest("to", &ridTo, &mTo) |
| 663 | ){ |
| 664 | return; |
| @@ -701,11 +701,11 @@ | |
| 701 | } |
| 702 | } |
| 703 | manifest_clear(&mFrom); |
| 704 | manifest_clear(&mTo); |
| 705 | |
| 706 | style_footer_cmdref("diff"); |
| 707 | } |
| 708 | |
| 709 | /* |
| 710 | ** Write a description of an object to the www reply. |
| 711 | ** |
| @@ -1173,11 +1173,11 @@ | |
| 1173 | hexdump(&content); |
| 1174 | @ </pre> |
| 1175 | } |
| 1176 | @ </blockquote> |
| 1177 | } |
| 1178 | style_footer_cmdref( "artifact" ); |
| 1179 | } |
| 1180 | |
| 1181 | /* |
| 1182 | ** WEBPAGE: tinfo |
| 1183 | ** URL: /tinfo?name=ARTIFACTID |
| @@ -1233,11 +1233,11 @@ | |
| 1233 | @ |
| 1234 | @ <ol> |
| 1235 | free(zDate); |
| 1236 | ticket_output_change_artifact(&m); |
| 1237 | manifest_clear(&m); |
| 1238 | style_footer_cmdref("info"); |
| 1239 | } |
| 1240 | |
| 1241 | |
| 1242 | /* |
| 1243 | ** WEBPAGE: info |
| 1244 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -467,11 +467,11 @@ | |
| 467 | const char *zOld = db_column_text(&q,1); |
| 468 | const char *zNew = db_column_text(&q,2); |
| 469 | append_file_change_line(zName, zOld, zNew, showDiff); |
| 470 | } |
| 471 | db_finalize(&q); |
| 472 | style_footer_cmdref("info",0); |
| 473 | } |
| 474 | |
| 475 | /* |
| 476 | ** WEBPAGE: winfo |
| 477 | ** URL: /winfo?name=RID |
| @@ -550,11 +550,11 @@ | |
| 550 | wiki_convert(&wiki, 0, 0); |
| 551 | blob_reset(&wiki); |
| 552 | } |
| 553 | manifest_clear(&m); |
| 554 | } |
| 555 | style_footer_cmdref("info",0); |
| 556 | } |
| 557 | |
| 558 | /* |
| 559 | ** Show a webpage error message |
| 560 | */ |
| @@ -654,11 +654,11 @@ | |
| 654 | @ <tr><td>details:</td><td><input type="checkbox" name="detail" |
| 655 | @ checked="checked" value="1" /></td></tr> |
| 656 | @ <tr><td></td><td></td><td> |
| 657 | @ <input type="submit" name="diff" value="diff" /></td></tr></table> |
| 658 | @ </div></form> |
| 659 | style_footer_cmdref("diff",0); |
| 660 | return; |
| 661 | }else if( vdiff_parse_manifest("from", &ridFrom, &mFrom) |
| 662 | || vdiff_parse_manifest("to", &ridTo, &mTo) |
| 663 | ){ |
| 664 | return; |
| @@ -701,11 +701,11 @@ | |
| 701 | } |
| 702 | } |
| 703 | manifest_clear(&mFrom); |
| 704 | manifest_clear(&mTo); |
| 705 | |
| 706 | style_footer_cmdref("diff",0); |
| 707 | } |
| 708 | |
| 709 | /* |
| 710 | ** Write a description of an object to the www reply. |
| 711 | ** |
| @@ -1173,11 +1173,11 @@ | |
| 1173 | hexdump(&content); |
| 1174 | @ </pre> |
| 1175 | } |
| 1176 | @ </blockquote> |
| 1177 | } |
| 1178 | style_footer_cmdref( "artifact",0 ); |
| 1179 | } |
| 1180 | |
| 1181 | /* |
| 1182 | ** WEBPAGE: tinfo |
| 1183 | ** URL: /tinfo?name=ARTIFACTID |
| @@ -1233,11 +1233,11 @@ | |
| 1233 | @ |
| 1234 | @ <ol> |
| 1235 | free(zDate); |
| 1236 | ticket_output_change_artifact(&m); |
| 1237 | manifest_clear(&m); |
| 1238 | style_footer_cmdref("info",0); |
| 1239 | } |
| 1240 | |
| 1241 | |
| 1242 | /* |
| 1243 | ** WEBPAGE: info |
| 1244 |
+2
-2
| --- src/main.c | ||
| +++ src/main.c | ||
| @@ -692,13 +692,13 @@ | ||
| 692 | 692 | }else{ |
| 693 | 693 | zDest[dest++] = zSrc[src++]; |
| 694 | 694 | } |
| 695 | 695 | } |
| 696 | 696 | zDest[dest] = 0; |
| 697 | - @ <pre>%s(zDest)</pre> | |
| 697 | + @ <div class="cmdhelp">%s(zDest)</div> | |
| 698 | 698 | free(zDest); |
| 699 | - @ <hr>additional information may be found in the web documentation: | |
| 699 | + @ <hr/>additional information may be found in the web documentation: | |
| 700 | 700 | @ <a href="http://www.fossil-scm.org/fossil/doc/tip/www/cmd_%s(aCommand[idx].zName).wiki"> |
| 701 | 701 | @ cmd_%s(aCommand[idx].zName)</a>, |
| 702 | 702 | } |
| 703 | 703 | } |
| 704 | 704 | @ see also the list of |
| 705 | 705 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -692,13 +692,13 @@ | |
| 692 | }else{ |
| 693 | zDest[dest++] = zSrc[src++]; |
| 694 | } |
| 695 | } |
| 696 | zDest[dest] = 0; |
| 697 | @ <pre>%s(zDest)</pre> |
| 698 | free(zDest); |
| 699 | @ <hr>additional information may be found in the web documentation: |
| 700 | @ <a href="http://www.fossil-scm.org/fossil/doc/tip/www/cmd_%s(aCommand[idx].zName).wiki"> |
| 701 | @ cmd_%s(aCommand[idx].zName)</a>, |
| 702 | } |
| 703 | } |
| 704 | @ see also the list of |
| 705 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -692,13 +692,13 @@ | |
| 692 | }else{ |
| 693 | zDest[dest++] = zSrc[src++]; |
| 694 | } |
| 695 | } |
| 696 | zDest[dest] = 0; |
| 697 | @ <div class="cmdhelp">%s(zDest)</div> |
| 698 | free(zDest); |
| 699 | @ <hr/>additional information may be found in the web documentation: |
| 700 | @ <a href="http://www.fossil-scm.org/fossil/doc/tip/www/cmd_%s(aCommand[idx].zName).wiki"> |
| 701 | @ cmd_%s(aCommand[idx].zName)</a>, |
| 702 | } |
| 703 | } |
| 704 | @ see also the list of |
| 705 |
+1
-1
| --- src/report.c | ||
| +++ src/report.c | ||
| @@ -80,11 +80,11 @@ | ||
| 80 | 80 | Th_Render(zScript); |
| 81 | 81 | |
| 82 | 82 | blob_reset(&ril); |
| 83 | 83 | if( g.thTrace ) Th_Trace("END_REPORTLIST<br />\n", -1); |
| 84 | 84 | |
| 85 | - style_footer(); | |
| 85 | + style_footer_cmdref("ticket",0); | |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | /* |
| 89 | 89 | ** Remove whitespace from both ends of a string. |
| 90 | 90 | */ |
| 91 | 91 |
| --- src/report.c | |
| +++ src/report.c | |
| @@ -80,11 +80,11 @@ | |
| 80 | Th_Render(zScript); |
| 81 | |
| 82 | blob_reset(&ril); |
| 83 | if( g.thTrace ) Th_Trace("END_REPORTLIST<br />\n", -1); |
| 84 | |
| 85 | style_footer(); |
| 86 | } |
| 87 | |
| 88 | /* |
| 89 | ** Remove whitespace from both ends of a string. |
| 90 | */ |
| 91 |
| --- src/report.c | |
| +++ src/report.c | |
| @@ -80,11 +80,11 @@ | |
| 80 | Th_Render(zScript); |
| 81 | |
| 82 | blob_reset(&ril); |
| 83 | if( g.thTrace ) Th_Trace("END_REPORTLIST<br />\n", -1); |
| 84 | |
| 85 | style_footer_cmdref("ticket",0); |
| 86 | } |
| 87 | |
| 88 | /* |
| 89 | ** Remove whitespace from both ends of a string. |
| 90 | */ |
| 91 |
+6
-6
| --- src/setup.c | ||
| +++ src/setup.c | ||
| @@ -217,11 +217,11 @@ | ||
| 217 | 217 | @ <span class="usertype">nobody</span>. |
| 218 | 218 | @ </p></li> |
| 219 | 219 | @ |
| 220 | 220 | @ </ol> |
| 221 | 221 | @ </td></tr></table> |
| 222 | - style_footer_cmdref("user"); | |
| 222 | + style_footer_cmdref("user",0); | |
| 223 | 223 | } |
| 224 | 224 | |
| 225 | 225 | /* |
| 226 | 226 | ** Return true if zPw is a valid password string. A valid |
| 227 | 227 | ** password string is: |
| @@ -664,11 +664,11 @@ | ||
| 664 | 664 | @ template for users who are allowed more access than |
| 665 | 665 | @ <span class="usertype">anonymous</span>, |
| 666 | 666 | @ but less than a <span class="usertype">developer</span>. |
| 667 | 667 | @ </p></li> |
| 668 | 668 | @ </ul> |
| 669 | - style_footer_cmdref("user"); | |
| 669 | + style_footer_cmdref("user",0); | |
| 670 | 670 | } |
| 671 | 671 | |
| 672 | 672 | |
| 673 | 673 | /* |
| 674 | 674 | ** Generate a checkbox for an attribute. |
| @@ -1004,11 +1004,11 @@ | ||
| 1004 | 1004 | @ See also the <a href="setup_header">header</a> and |
| 1005 | 1005 | @ <a href="setup_footer">footer</a> editing screens. |
| 1006 | 1006 | @ <blockquote><pre> |
| 1007 | 1007 | cgi_append_default_css(); |
| 1008 | 1008 | @ </pre></blockquote> |
| 1009 | - style_footer(); | |
| 1009 | + style_footer_cmdref("configuration","area skin"); | |
| 1010 | 1010 | db_end_transaction(0); |
| 1011 | 1011 | } |
| 1012 | 1012 | |
| 1013 | 1013 | /* |
| 1014 | 1014 | ** WEBPAGE: setup_header |
| @@ -1042,11 +1042,11 @@ | ||
| 1042 | 1042 | @ See also the <a href="setup_editcss">CSS</a> and |
| 1043 | 1043 | @ <a href="setup_footer">footer</a> editing screeens. |
| 1044 | 1044 | @ <blockquote><pre> |
| 1045 | 1045 | @ %h(zDefaultHeader) |
| 1046 | 1046 | @ </pre></blockquote> |
| 1047 | - style_footer(); | |
| 1047 | + style_footer_cmdref("configuration","area skin"); | |
| 1048 | 1048 | db_end_transaction(0); |
| 1049 | 1049 | } |
| 1050 | 1050 | |
| 1051 | 1051 | /* |
| 1052 | 1052 | ** WEBPAGE: setup_footer |
| @@ -1079,11 +1079,11 @@ | ||
| 1079 | 1079 | @ See also the <a href="setup_editcss">CSS</a> and |
| 1080 | 1080 | @ <a href="setup_header">header</a> editing screens. |
| 1081 | 1081 | @ <blockquote><pre> |
| 1082 | 1082 | @ %h(zDefaultFooter) |
| 1083 | 1083 | @ </pre></blockquote> |
| 1084 | - style_footer(); | |
| 1084 | + style_footer_cmdref("configuration","area skin"); | |
| 1085 | 1085 | db_end_transaction(0); |
| 1086 | 1086 | } |
| 1087 | 1087 | |
| 1088 | 1088 | /* |
| 1089 | 1089 | ** WEBPAGE: setup_logo |
| @@ -1148,8 +1148,8 @@ | ||
| 1148 | 1148 | @ |
| 1149 | 1149 | @ <p><span class="note">Note:</span> Your browser has probably cached the |
| 1150 | 1150 | @ logo image, so you will probably need to press the Reload button on your |
| 1151 | 1151 | @ browser after changing the logo to provoke your browser to reload the new |
| 1152 | 1152 | @ logo image. </p> |
| 1153 | - style_footer(); | |
| 1153 | + style_footer_cmdref("configuration","area skin"); | |
| 1154 | 1154 | db_end_transaction(0); |
| 1155 | 1155 | } |
| 1156 | 1156 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -217,11 +217,11 @@ | |
| 217 | @ <span class="usertype">nobody</span>. |
| 218 | @ </p></li> |
| 219 | @ |
| 220 | @ </ol> |
| 221 | @ </td></tr></table> |
| 222 | style_footer_cmdref("user"); |
| 223 | } |
| 224 | |
| 225 | /* |
| 226 | ** Return true if zPw is a valid password string. A valid |
| 227 | ** password string is: |
| @@ -664,11 +664,11 @@ | |
| 664 | @ template for users who are allowed more access than |
| 665 | @ <span class="usertype">anonymous</span>, |
| 666 | @ but less than a <span class="usertype">developer</span>. |
| 667 | @ </p></li> |
| 668 | @ </ul> |
| 669 | style_footer_cmdref("user"); |
| 670 | } |
| 671 | |
| 672 | |
| 673 | /* |
| 674 | ** Generate a checkbox for an attribute. |
| @@ -1004,11 +1004,11 @@ | |
| 1004 | @ See also the <a href="setup_header">header</a> and |
| 1005 | @ <a href="setup_footer">footer</a> editing screens. |
| 1006 | @ <blockquote><pre> |
| 1007 | cgi_append_default_css(); |
| 1008 | @ </pre></blockquote> |
| 1009 | style_footer(); |
| 1010 | db_end_transaction(0); |
| 1011 | } |
| 1012 | |
| 1013 | /* |
| 1014 | ** WEBPAGE: setup_header |
| @@ -1042,11 +1042,11 @@ | |
| 1042 | @ See also the <a href="setup_editcss">CSS</a> and |
| 1043 | @ <a href="setup_footer">footer</a> editing screeens. |
| 1044 | @ <blockquote><pre> |
| 1045 | @ %h(zDefaultHeader) |
| 1046 | @ </pre></blockquote> |
| 1047 | style_footer(); |
| 1048 | db_end_transaction(0); |
| 1049 | } |
| 1050 | |
| 1051 | /* |
| 1052 | ** WEBPAGE: setup_footer |
| @@ -1079,11 +1079,11 @@ | |
| 1079 | @ See also the <a href="setup_editcss">CSS</a> and |
| 1080 | @ <a href="setup_header">header</a> editing screens. |
| 1081 | @ <blockquote><pre> |
| 1082 | @ %h(zDefaultFooter) |
| 1083 | @ </pre></blockquote> |
| 1084 | style_footer(); |
| 1085 | db_end_transaction(0); |
| 1086 | } |
| 1087 | |
| 1088 | /* |
| 1089 | ** WEBPAGE: setup_logo |
| @@ -1148,8 +1148,8 @@ | |
| 1148 | @ |
| 1149 | @ <p><span class="note">Note:</span> Your browser has probably cached the |
| 1150 | @ logo image, so you will probably need to press the Reload button on your |
| 1151 | @ browser after changing the logo to provoke your browser to reload the new |
| 1152 | @ logo image. </p> |
| 1153 | style_footer(); |
| 1154 | db_end_transaction(0); |
| 1155 | } |
| 1156 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -217,11 +217,11 @@ | |
| 217 | @ <span class="usertype">nobody</span>. |
| 218 | @ </p></li> |
| 219 | @ |
| 220 | @ </ol> |
| 221 | @ </td></tr></table> |
| 222 | style_footer_cmdref("user",0); |
| 223 | } |
| 224 | |
| 225 | /* |
| 226 | ** Return true if zPw is a valid password string. A valid |
| 227 | ** password string is: |
| @@ -664,11 +664,11 @@ | |
| 664 | @ template for users who are allowed more access than |
| 665 | @ <span class="usertype">anonymous</span>, |
| 666 | @ but less than a <span class="usertype">developer</span>. |
| 667 | @ </p></li> |
| 668 | @ </ul> |
| 669 | style_footer_cmdref("user",0); |
| 670 | } |
| 671 | |
| 672 | |
| 673 | /* |
| 674 | ** Generate a checkbox for an attribute. |
| @@ -1004,11 +1004,11 @@ | |
| 1004 | @ See also the <a href="setup_header">header</a> and |
| 1005 | @ <a href="setup_footer">footer</a> editing screens. |
| 1006 | @ <blockquote><pre> |
| 1007 | cgi_append_default_css(); |
| 1008 | @ </pre></blockquote> |
| 1009 | style_footer_cmdref("configuration","area skin"); |
| 1010 | db_end_transaction(0); |
| 1011 | } |
| 1012 | |
| 1013 | /* |
| 1014 | ** WEBPAGE: setup_header |
| @@ -1042,11 +1042,11 @@ | |
| 1042 | @ See also the <a href="setup_editcss">CSS</a> and |
| 1043 | @ <a href="setup_footer">footer</a> editing screeens. |
| 1044 | @ <blockquote><pre> |
| 1045 | @ %h(zDefaultHeader) |
| 1046 | @ </pre></blockquote> |
| 1047 | style_footer_cmdref("configuration","area skin"); |
| 1048 | db_end_transaction(0); |
| 1049 | } |
| 1050 | |
| 1051 | /* |
| 1052 | ** WEBPAGE: setup_footer |
| @@ -1079,11 +1079,11 @@ | |
| 1079 | @ See also the <a href="setup_editcss">CSS</a> and |
| 1080 | @ <a href="setup_header">header</a> editing screens. |
| 1081 | @ <blockquote><pre> |
| 1082 | @ %h(zDefaultFooter) |
| 1083 | @ </pre></blockquote> |
| 1084 | style_footer_cmdref("configuration","area skin"); |
| 1085 | db_end_transaction(0); |
| 1086 | } |
| 1087 | |
| 1088 | /* |
| 1089 | ** WEBPAGE: setup_logo |
| @@ -1148,8 +1148,8 @@ | |
| 1148 | @ |
| 1149 | @ <p><span class="note">Note:</span> Your browser has probably cached the |
| 1150 | @ logo image, so you will probably need to press the Reload button on your |
| 1151 | @ browser after changing the logo to provoke your browser to reload the new |
| 1152 | @ logo image. </p> |
| 1153 | style_footer_cmdref("configuration","area skin"); |
| 1154 | db_end_transaction(0); |
| 1155 | } |
| 1156 |
+1
-1
| --- src/skins.c | ||
| +++ src/skins.c | ||
| @@ -840,8 +840,8 @@ | ||
| 840 | 840 | @ </form></li> |
| 841 | 841 | } |
| 842 | 842 | } |
| 843 | 843 | db_finalize(&q); |
| 844 | 844 | @ </ol> |
| 845 | - style_footer(); | |
| 845 | + style_footer_cmdref("configuration","area skin"); | |
| 846 | 846 | db_end_transaction(0); |
| 847 | 847 | } |
| 848 | 848 |
| --- src/skins.c | |
| +++ src/skins.c | |
| @@ -840,8 +840,8 @@ | |
| 840 | @ </form></li> |
| 841 | } |
| 842 | } |
| 843 | db_finalize(&q); |
| 844 | @ </ol> |
| 845 | style_footer(); |
| 846 | db_end_transaction(0); |
| 847 | } |
| 848 |
| --- src/skins.c | |
| +++ src/skins.c | |
| @@ -840,8 +840,8 @@ | |
| 840 | @ </form></li> |
| 841 | } |
| 842 | } |
| 843 | db_finalize(&q); |
| 844 | @ </ol> |
| 845 | style_footer_cmdref("configuration","area skin"); |
| 846 | db_end_transaction(0); |
| 847 | } |
| 848 |
+9
-2
| --- src/style.c | ||
| +++ src/style.c | ||
| @@ -119,13 +119,13 @@ | ||
| 119 | 119 | |
| 120 | 120 | /* |
| 121 | 121 | ** append a reference to command line to a web page |
| 122 | 122 | ** and generate the footer |
| 123 | 123 | */ |
| 124 | -void style_footer_cmdref( const char * const zCmd ){ | |
| 124 | +void style_footer_cmdref( const char * const zCmd, const char * const zSubCmd ){ | |
| 125 | 125 | @ <div class="cmdref">See also command line help: |
| 126 | - @ <a href="help?cmd=%s(zCmd)">%s(zCmd)</a> | |
| 126 | + @ <a href="help?cmd=%s(zCmd)">%s(zCmd)</a> %s(zSubCmd?zSubCmd:"") | |
| 127 | 127 | @ </div> |
| 128 | 128 | style_footer(); |
| 129 | 129 | } |
| 130 | 130 | |
| 131 | 131 | /* |
| @@ -747,10 +747,17 @@ | ||
| 747 | 747 | { "a.hidden", |
| 748 | 748 | "format for links, that should not be very visible", |
| 749 | 749 | @ font-size: xx-small; |
| 750 | 750 | @ color: #aaaaaa; |
| 751 | 751 | }, |
| 752 | + { "div.cmdhelp", | |
| 753 | + "format for single command display on the gui help page", | |
| 754 | + @ font-family: monospace; | |
| 755 | + @ padding-left: 4em; | |
| 756 | + @ padding-bottom: 1em; | |
| 757 | + @ white-space: pre; | |
| 758 | + }, | |
| 752 | 759 | { "div.cmdref", |
| 753 | 760 | "format for references to command line help entries the actual gui page." |
| 754 | 761 | "set \"display\" to \"none\" to suppress the display", |
| 755 | 762 | @ font-size: small; |
| 756 | 763 | @ text-align: right; |
| 757 | 764 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -119,13 +119,13 @@ | |
| 119 | |
| 120 | /* |
| 121 | ** append a reference to command line to a web page |
| 122 | ** and generate the footer |
| 123 | */ |
| 124 | void style_footer_cmdref( const char * const zCmd ){ |
| 125 | @ <div class="cmdref">See also command line help: |
| 126 | @ <a href="help?cmd=%s(zCmd)">%s(zCmd)</a> |
| 127 | @ </div> |
| 128 | style_footer(); |
| 129 | } |
| 130 | |
| 131 | /* |
| @@ -747,10 +747,17 @@ | |
| 747 | { "a.hidden", |
| 748 | "format for links, that should not be very visible", |
| 749 | @ font-size: xx-small; |
| 750 | @ color: #aaaaaa; |
| 751 | }, |
| 752 | { "div.cmdref", |
| 753 | "format for references to command line help entries the actual gui page." |
| 754 | "set \"display\" to \"none\" to suppress the display", |
| 755 | @ font-size: small; |
| 756 | @ text-align: right; |
| 757 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -119,13 +119,13 @@ | |
| 119 | |
| 120 | /* |
| 121 | ** append a reference to command line to a web page |
| 122 | ** and generate the footer |
| 123 | */ |
| 124 | void style_footer_cmdref( const char * const zCmd, const char * const zSubCmd ){ |
| 125 | @ <div class="cmdref">See also command line help: |
| 126 | @ <a href="help?cmd=%s(zCmd)">%s(zCmd)</a> %s(zSubCmd?zSubCmd:"") |
| 127 | @ </div> |
| 128 | style_footer(); |
| 129 | } |
| 130 | |
| 131 | /* |
| @@ -747,10 +747,17 @@ | |
| 747 | { "a.hidden", |
| 748 | "format for links, that should not be very visible", |
| 749 | @ font-size: xx-small; |
| 750 | @ color: #aaaaaa; |
| 751 | }, |
| 752 | { "div.cmdhelp", |
| 753 | "format for single command display on the gui help page", |
| 754 | @ font-family: monospace; |
| 755 | @ padding-left: 4em; |
| 756 | @ padding-bottom: 1em; |
| 757 | @ white-space: pre; |
| 758 | }, |
| 759 | { "div.cmdref", |
| 760 | "format for references to command line help entries the actual gui page." |
| 761 | "set \"display\" to \"none\" to suppress the display", |
| 762 | @ font-size: small; |
| 763 | @ text-align: right; |
| 764 |
+1
-1
| --- src/tag.c | ||
| +++ src/tag.c | ||
| @@ -531,11 +531,11 @@ | ||
| 531 | 531 | @ <li><span class="tagDsp">%h(zName)</span></li> |
| 532 | 532 | } |
| 533 | 533 | } |
| 534 | 534 | @ </ul> |
| 535 | 535 | db_finalize(&q); |
| 536 | - style_footer(); | |
| 536 | + style_footer_cmdref("tags","list"); | |
| 537 | 537 | } |
| 538 | 538 | |
| 539 | 539 | /* |
| 540 | 540 | ** Draw the names of all tags added to check-in rid. Only tags |
| 541 | 541 | ** that are directly applied to rid are named. Propagated tags |
| 542 | 542 |
| --- src/tag.c | |
| +++ src/tag.c | |
| @@ -531,11 +531,11 @@ | |
| 531 | @ <li><span class="tagDsp">%h(zName)</span></li> |
| 532 | } |
| 533 | } |
| 534 | @ </ul> |
| 535 | db_finalize(&q); |
| 536 | style_footer(); |
| 537 | } |
| 538 | |
| 539 | /* |
| 540 | ** Draw the names of all tags added to check-in rid. Only tags |
| 541 | ** that are directly applied to rid are named. Propagated tags |
| 542 |
| --- src/tag.c | |
| +++ src/tag.c | |
| @@ -531,11 +531,11 @@ | |
| 531 | @ <li><span class="tagDsp">%h(zName)</span></li> |
| 532 | } |
| 533 | } |
| 534 | @ </ul> |
| 535 | db_finalize(&q); |
| 536 | style_footer_cmdref("tags","list"); |
| 537 | } |
| 538 | |
| 539 | /* |
| 540 | ** Draw the names of all tags added to check-in rid. Only tags |
| 541 | ** that are directly applied to rid are named. Propagated tags |
| 542 |
+3
-1
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -952,11 +952,11 @@ | ||
| 952 | 952 | db_prepare(&q, "SELECT * FROM timeline ORDER BY timestamp DESC /*scan*/"); |
| 953 | 953 | @ <h2>%b(&desc)</h2> |
| 954 | 954 | blob_reset(&desc); |
| 955 | 955 | www_print_timeline(&q, tmFlags, 0); |
| 956 | 956 | db_finalize(&q); |
| 957 | - style_footer_cmdref("timeline"); | |
| 957 | + style_footer_cmdref("timeline",0); | |
| 958 | 958 | } |
| 959 | 959 | |
| 960 | 960 | /* |
| 961 | 961 | ** The input query q selects various records. Print a human-readable |
| 962 | 962 | ** summary of those records. |
| @@ -1095,10 +1095,12 @@ | ||
| 1095 | 1095 | ** t = tickets only |
| 1096 | 1096 | ** e = events only |
| 1097 | 1097 | ** |
| 1098 | 1098 | ** The information can also be used in the gui: |
| 1099 | 1099 | ** * go to the <a href="timeline">timeline</a> page |
| 1100 | +** * or the "history" links on the dedicated details views(events, | |
| 1101 | +** files, tickets, ..) | |
| 1100 | 1102 | ** |
| 1101 | 1103 | ** See also: <a>descendants</a> |
| 1102 | 1104 | */ |
| 1103 | 1105 | void timeline_cmd(void){ |
| 1104 | 1106 | Stmt q; |
| 1105 | 1107 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -952,11 +952,11 @@ | |
| 952 | db_prepare(&q, "SELECT * FROM timeline ORDER BY timestamp DESC /*scan*/"); |
| 953 | @ <h2>%b(&desc)</h2> |
| 954 | blob_reset(&desc); |
| 955 | www_print_timeline(&q, tmFlags, 0); |
| 956 | db_finalize(&q); |
| 957 | style_footer_cmdref("timeline"); |
| 958 | } |
| 959 | |
| 960 | /* |
| 961 | ** The input query q selects various records. Print a human-readable |
| 962 | ** summary of those records. |
| @@ -1095,10 +1095,12 @@ | |
| 1095 | ** t = tickets only |
| 1096 | ** e = events only |
| 1097 | ** |
| 1098 | ** The information can also be used in the gui: |
| 1099 | ** * go to the <a href="timeline">timeline</a> page |
| 1100 | ** |
| 1101 | ** See also: <a>descendants</a> |
| 1102 | */ |
| 1103 | void timeline_cmd(void){ |
| 1104 | Stmt q; |
| 1105 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -952,11 +952,11 @@ | |
| 952 | db_prepare(&q, "SELECT * FROM timeline ORDER BY timestamp DESC /*scan*/"); |
| 953 | @ <h2>%b(&desc)</h2> |
| 954 | blob_reset(&desc); |
| 955 | www_print_timeline(&q, tmFlags, 0); |
| 956 | db_finalize(&q); |
| 957 | style_footer_cmdref("timeline",0); |
| 958 | } |
| 959 | |
| 960 | /* |
| 961 | ** The input query q selects various records. Print a human-readable |
| 962 | ** summary of those records. |
| @@ -1095,10 +1095,12 @@ | |
| 1095 | ** t = tickets only |
| 1096 | ** e = events only |
| 1097 | ** |
| 1098 | ** The information can also be used in the gui: |
| 1099 | ** * go to the <a href="timeline">timeline</a> page |
| 1100 | ** * or the "history" links on the dedicated details views(events, |
| 1101 | ** files, tickets, ..) |
| 1102 | ** |
| 1103 | ** See also: <a>descendants</a> |
| 1104 | */ |
| 1105 | void timeline_cmd(void){ |
| 1106 | Stmt q; |
| 1107 |
+5
-5
| --- src/tkt.c | ||
| +++ src/tkt.c | ||
| @@ -366,11 +366,11 @@ | ||
| 366 | 366 | @ </ul> |
| 367 | 367 | } |
| 368 | 368 | db_finalize(&q); |
| 369 | 369 | } |
| 370 | 370 | |
| 371 | - style_footer_cmdref("info"); | |
| 371 | + style_footer_cmdref("info",0); | |
| 372 | 372 | } |
| 373 | 373 | |
| 374 | 374 | /* |
| 375 | 375 | ** TH command: append_field FIELD STRING |
| 376 | 376 | ** |
| @@ -528,11 +528,11 @@ | ||
| 528 | 528 | cgi_redirect(mprintf("%s/tktview/%s", g.zBaseURL, zNewUuid)); |
| 529 | 529 | return; |
| 530 | 530 | } |
| 531 | 531 | @ </form> |
| 532 | 532 | if( g.thTrace ) Th_Trace("END_TKTVIEW<br />\n", -1); |
| 533 | - style_footer(); | |
| 533 | + style_footer_cmdref("ticket","add"); | |
| 534 | 534 | } |
| 535 | 535 | |
| 536 | 536 | /* |
| 537 | 537 | ** WEBPAGE: tktedit |
| 538 | 538 | ** WEBPAGE: debug_tktedit |
| @@ -595,11 +595,11 @@ | ||
| 595 | 595 | cgi_redirect(mprintf("%s/tktview/%s", g.zBaseURL, zName)); |
| 596 | 596 | return; |
| 597 | 597 | } |
| 598 | 598 | @ </form> |
| 599 | 599 | if( g.thTrace ) Th_Trace("BEGIN_TKTEDIT<br />\n", -1); |
| 600 | - style_footer(); | |
| 600 | + style_footer_cmdref("ticket","change"); | |
| 601 | 601 | } |
| 602 | 602 | |
| 603 | 603 | /* |
| 604 | 604 | ** Check the ticket table schema in zSchema to see if it appears to |
| 605 | 605 | ** be well-formed. If everything is OK, return NULL. If something is |
| @@ -701,11 +701,11 @@ | ||
| 701 | 701 | } |
| 702 | 702 | db_prepare(&q, zSQL); |
| 703 | 703 | free(zSQL); |
| 704 | 704 | www_print_timeline(&q, TIMELINE_ARTID, 0); |
| 705 | 705 | db_finalize(&q); |
| 706 | - style_footer(); | |
| 706 | + style_footer_cmdref("timeline",0); | |
| 707 | 707 | } |
| 708 | 708 | |
| 709 | 709 | /* |
| 710 | 710 | ** WEBPAGE: tkthistory |
| 711 | 711 | ** URL: /tkthistory?name=TICKETUUID |
| @@ -788,11 +788,11 @@ | ||
| 788 | 788 | } |
| 789 | 789 | manifest_clear(&m); |
| 790 | 790 | } |
| 791 | 791 | } |
| 792 | 792 | db_finalize(&q); |
| 793 | - style_footer(); | |
| 793 | + style_footer_cmdref("timeline",0); | |
| 794 | 794 | } |
| 795 | 795 | |
| 796 | 796 | /* |
| 797 | 797 | ** Return TRUE if the given BLOB contains a newline character. |
| 798 | 798 | */ |
| 799 | 799 |
| --- src/tkt.c | |
| +++ src/tkt.c | |
| @@ -366,11 +366,11 @@ | |
| 366 | @ </ul> |
| 367 | } |
| 368 | db_finalize(&q); |
| 369 | } |
| 370 | |
| 371 | style_footer_cmdref("info"); |
| 372 | } |
| 373 | |
| 374 | /* |
| 375 | ** TH command: append_field FIELD STRING |
| 376 | ** |
| @@ -528,11 +528,11 @@ | |
| 528 | cgi_redirect(mprintf("%s/tktview/%s", g.zBaseURL, zNewUuid)); |
| 529 | return; |
| 530 | } |
| 531 | @ </form> |
| 532 | if( g.thTrace ) Th_Trace("END_TKTVIEW<br />\n", -1); |
| 533 | style_footer(); |
| 534 | } |
| 535 | |
| 536 | /* |
| 537 | ** WEBPAGE: tktedit |
| 538 | ** WEBPAGE: debug_tktedit |
| @@ -595,11 +595,11 @@ | |
| 595 | cgi_redirect(mprintf("%s/tktview/%s", g.zBaseURL, zName)); |
| 596 | return; |
| 597 | } |
| 598 | @ </form> |
| 599 | if( g.thTrace ) Th_Trace("BEGIN_TKTEDIT<br />\n", -1); |
| 600 | style_footer(); |
| 601 | } |
| 602 | |
| 603 | /* |
| 604 | ** Check the ticket table schema in zSchema to see if it appears to |
| 605 | ** be well-formed. If everything is OK, return NULL. If something is |
| @@ -701,11 +701,11 @@ | |
| 701 | } |
| 702 | db_prepare(&q, zSQL); |
| 703 | free(zSQL); |
| 704 | www_print_timeline(&q, TIMELINE_ARTID, 0); |
| 705 | db_finalize(&q); |
| 706 | style_footer(); |
| 707 | } |
| 708 | |
| 709 | /* |
| 710 | ** WEBPAGE: tkthistory |
| 711 | ** URL: /tkthistory?name=TICKETUUID |
| @@ -788,11 +788,11 @@ | |
| 788 | } |
| 789 | manifest_clear(&m); |
| 790 | } |
| 791 | } |
| 792 | db_finalize(&q); |
| 793 | style_footer(); |
| 794 | } |
| 795 | |
| 796 | /* |
| 797 | ** Return TRUE if the given BLOB contains a newline character. |
| 798 | */ |
| 799 |
| --- src/tkt.c | |
| +++ src/tkt.c | |
| @@ -366,11 +366,11 @@ | |
| 366 | @ </ul> |
| 367 | } |
| 368 | db_finalize(&q); |
| 369 | } |
| 370 | |
| 371 | style_footer_cmdref("info",0); |
| 372 | } |
| 373 | |
| 374 | /* |
| 375 | ** TH command: append_field FIELD STRING |
| 376 | ** |
| @@ -528,11 +528,11 @@ | |
| 528 | cgi_redirect(mprintf("%s/tktview/%s", g.zBaseURL, zNewUuid)); |
| 529 | return; |
| 530 | } |
| 531 | @ </form> |
| 532 | if( g.thTrace ) Th_Trace("END_TKTVIEW<br />\n", -1); |
| 533 | style_footer_cmdref("ticket","add"); |
| 534 | } |
| 535 | |
| 536 | /* |
| 537 | ** WEBPAGE: tktedit |
| 538 | ** WEBPAGE: debug_tktedit |
| @@ -595,11 +595,11 @@ | |
| 595 | cgi_redirect(mprintf("%s/tktview/%s", g.zBaseURL, zName)); |
| 596 | return; |
| 597 | } |
| 598 | @ </form> |
| 599 | if( g.thTrace ) Th_Trace("BEGIN_TKTEDIT<br />\n", -1); |
| 600 | style_footer_cmdref("ticket","change"); |
| 601 | } |
| 602 | |
| 603 | /* |
| 604 | ** Check the ticket table schema in zSchema to see if it appears to |
| 605 | ** be well-formed. If everything is OK, return NULL. If something is |
| @@ -701,11 +701,11 @@ | |
| 701 | } |
| 702 | db_prepare(&q, zSQL); |
| 703 | free(zSQL); |
| 704 | www_print_timeline(&q, TIMELINE_ARTID, 0); |
| 705 | db_finalize(&q); |
| 706 | style_footer_cmdref("timeline",0); |
| 707 | } |
| 708 | |
| 709 | /* |
| 710 | ** WEBPAGE: tkthistory |
| 711 | ** URL: /tkthistory?name=TICKETUUID |
| @@ -788,11 +788,11 @@ | |
| 788 | } |
| 789 | manifest_clear(&m); |
| 790 | } |
| 791 | } |
| 792 | db_finalize(&q); |
| 793 | style_footer_cmdref("timeline",0); |
| 794 | } |
| 795 | |
| 796 | /* |
| 797 | ** Return TRUE if the given BLOB contains a newline character. |
| 798 | */ |
| 799 |
+6
-2
| --- src/wiki.c | ||
| +++ src/wiki.c | ||
| @@ -164,11 +164,11 @@ | ||
| 164 | 164 | @ <li> <form method="get" action="%s(g.zBaseURL)/wfind"><div> |
| 165 | 165 | @ Search wiki titles: <input type="text" name="title"/> |
| 166 | 166 | @ <input type="submit" /></div></form> |
| 167 | 167 | @ </li> |
| 168 | 168 | @ </ul> |
| 169 | - style_footer_cmdref("wiki"); | |
| 169 | + style_footer_cmdref("wiki",0); | |
| 170 | 170 | return; |
| 171 | 171 | } |
| 172 | 172 | if( check_name(zPageName) ) return; |
| 173 | 173 | isSandbox = is_sandbox(zPageName); |
| 174 | 174 | if( isSandbox ){ |
| @@ -252,10 +252,14 @@ | ||
| 252 | 252 | db_finalize(&q); |
| 253 | 253 | |
| 254 | 254 | if( !isSandbox ){ |
| 255 | 255 | manifest_clear(&m); |
| 256 | 256 | } |
| 257 | + /* don'tshow the help cross reference, because we are rendering | |
| 258 | + ** the wiki conten! | |
| 259 | + ** style_footer_cmdref("wiki","export"); | |
| 260 | + */ | |
| 257 | 261 | style_footer(); |
| 258 | 262 | } |
| 259 | 263 | |
| 260 | 264 | /* |
| 261 | 265 | ** WEBPAGE: wikiedit |
| @@ -693,11 +697,11 @@ | ||
| 693 | 697 | @ <li><a href="%s(g.zTop)/wiki?name=%T(zName)"><s>%h(zName)</s></a></li> |
| 694 | 698 | } |
| 695 | 699 | } |
| 696 | 700 | db_finalize(&q); |
| 697 | 701 | @ </ul> |
| 698 | - style_footer_cmdref("wiki"); | |
| 702 | + style_footer_cmdref("wiki","list"); | |
| 699 | 703 | } |
| 700 | 704 | |
| 701 | 705 | /* |
| 702 | 706 | ** WEBPAGE: wfind |
| 703 | 707 | ** |
| 704 | 708 |
| --- src/wiki.c | |
| +++ src/wiki.c | |
| @@ -164,11 +164,11 @@ | |
| 164 | @ <li> <form method="get" action="%s(g.zBaseURL)/wfind"><div> |
| 165 | @ Search wiki titles: <input type="text" name="title"/> |
| 166 | @ <input type="submit" /></div></form> |
| 167 | @ </li> |
| 168 | @ </ul> |
| 169 | style_footer_cmdref("wiki"); |
| 170 | return; |
| 171 | } |
| 172 | if( check_name(zPageName) ) return; |
| 173 | isSandbox = is_sandbox(zPageName); |
| 174 | if( isSandbox ){ |
| @@ -252,10 +252,14 @@ | |
| 252 | db_finalize(&q); |
| 253 | |
| 254 | if( !isSandbox ){ |
| 255 | manifest_clear(&m); |
| 256 | } |
| 257 | style_footer(); |
| 258 | } |
| 259 | |
| 260 | /* |
| 261 | ** WEBPAGE: wikiedit |
| @@ -693,11 +697,11 @@ | |
| 693 | @ <li><a href="%s(g.zTop)/wiki?name=%T(zName)"><s>%h(zName)</s></a></li> |
| 694 | } |
| 695 | } |
| 696 | db_finalize(&q); |
| 697 | @ </ul> |
| 698 | style_footer_cmdref("wiki"); |
| 699 | } |
| 700 | |
| 701 | /* |
| 702 | ** WEBPAGE: wfind |
| 703 | ** |
| 704 |
| --- src/wiki.c | |
| +++ src/wiki.c | |
| @@ -164,11 +164,11 @@ | |
| 164 | @ <li> <form method="get" action="%s(g.zBaseURL)/wfind"><div> |
| 165 | @ Search wiki titles: <input type="text" name="title"/> |
| 166 | @ <input type="submit" /></div></form> |
| 167 | @ </li> |
| 168 | @ </ul> |
| 169 | style_footer_cmdref("wiki",0); |
| 170 | return; |
| 171 | } |
| 172 | if( check_name(zPageName) ) return; |
| 173 | isSandbox = is_sandbox(zPageName); |
| 174 | if( isSandbox ){ |
| @@ -252,10 +252,14 @@ | |
| 252 | db_finalize(&q); |
| 253 | |
| 254 | if( !isSandbox ){ |
| 255 | manifest_clear(&m); |
| 256 | } |
| 257 | /* don'tshow the help cross reference, because we are rendering |
| 258 | ** the wiki conten! |
| 259 | ** style_footer_cmdref("wiki","export"); |
| 260 | */ |
| 261 | style_footer(); |
| 262 | } |
| 263 | |
| 264 | /* |
| 265 | ** WEBPAGE: wikiedit |
| @@ -693,11 +697,11 @@ | |
| 697 | @ <li><a href="%s(g.zTop)/wiki?name=%T(zName)"><s>%h(zName)</s></a></li> |
| 698 | } |
| 699 | } |
| 700 | db_finalize(&q); |
| 701 | @ </ul> |
| 702 | style_footer_cmdref("wiki","list"); |
| 703 | } |
| 704 | |
| 705 | /* |
| 706 | ** WEBPAGE: wfind |
| 707 | ** |
| 708 |