Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Correct casing of 'Tcl' where needed. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
967050341d834fb4f559736a699bf90c |
| User & Date: | mistachkin 2015-01-23 21:03:08.282 |
Context
|
2015-01-23
| ||
| 22:55 | Enhance the /setup_skin page to enable renaming of custom skins. check-in: 2431ddf61b user: drh tags: trunk | |
| 21:03 | Correct casing of 'Tcl' where needed. check-in: 967050341d user: mistachkin tags: trunk | |
| 21:00 | Improvements to the 'enhanced' skin. check-in: ef006c3147 user: mistachkin tags: trunk | |
Changes
Changes to src/makemake.tcl.
1 2 | #!/usr/bin/tclsh # | | | 1 2 3 4 5 6 7 8 9 10 | #!/usr/bin/tclsh # # Run this Tcl script to generate the various makefiles for a variety # of platforms. Files generated include: # # src/main.mk # makefile for all unix systems # win/Makefile.mingw # makefile for mingw on windows # win/Makefile.* # makefiles for other windows compilers # # Run this script while in the "src" subdirectory. Like this: |
| ︙ | ︙ |
Changes to src/setup.c.
| ︙ | ︙ | |||
1600 1601 1602 1603 1604 1605 1606 |
@ <p class="generalError">Please add
@ <tt><base href="$secureurl/$current_page"></tt> after
@ <tt><head></tt> in the header!
@ <input type="submit" name="fixbase" value="Add <base> Now"></p>
}
login_insert_csrf_secret();
| | | 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 |
@ <p class="generalError">Please add
@ <tt><base href="$secureurl/$current_page"></tt> after
@ <tt><head></tt> in the header!
@ <input type="submit" name="fixbase" value="Add <base> Now"></p>
}
login_insert_csrf_secret();
@ <p>Edit HTML text with embedded TH1 (a Tcl dialect) that will be used to
@ generate the beginning of every page through start of the main
@ menu.</p>
textarea_attribute("", 35, 80, "header", "header",
builtin_text("skins/default.header"), 0);
@ <br />
@ <input type="submit" name="submit" value="Apply Changes" />
@ <input type="submit" name="clear" value="Revert To Default" />
|
| ︙ | ︙ | |||
1638 1639 1640 1641 1642 1643 1644 |
db_multi_exec("DELETE FROM config WHERE name='footer'");
cgi_replace_parameter("footer", builtin_text("skins/default.footer"));
}
style_header("Edit Page Footer");
@ <form action="%s(g.zTop)/setup_footer" method="post"><div>
login_insert_csrf_secret();
| | | 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 |
db_multi_exec("DELETE FROM config WHERE name='footer'");
cgi_replace_parameter("footer", builtin_text("skins/default.footer"));
}
style_header("Edit Page Footer");
@ <form action="%s(g.zTop)/setup_footer" method="post"><div>
login_insert_csrf_secret();
@ <p>Edit HTML text with embedded TH1 (a Tcl dialect) that will be used to
@ generate the end of every page.</p>
textarea_attribute("", 20, 80, "footer", "footer",
builtin_text("skins/default.footer"), 0);
@ <br />
@ <input type="submit" name="submit" value="Apply Changes" />
@ <input type="submit" name="clear" value="Revert To Default" />
@ </div></form>
|
| ︙ | ︙ |
Changes to src/th.h.
1 2 | /* This header file defines the external interface to the custom Scripting | | | 1 2 3 4 5 6 7 8 9 10 | /* This header file defines the external interface to the custom Scripting ** Language (TH) interpreter. TH is very similar to Tcl but is not an ** exact clone. */ /* ** Before creating an interpreter, the application must allocate and ** populate an instance of the following structure. It must remain valid ** for the lifetime of the interpreter. |
| ︙ | ︙ |
Changes to src/translate.c.
| ︙ | ︙ | |||
40 41 42 43 44 45 46 | ** rather than text that is to be output via cgi_printf(). Render it ** as such. ** ** Enhancement #2: ** ** Comments of the form: "/* @-comment: CC" cause CC to become a ** comment character for the @-substitution. Typical values for CC are | | | 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | ** rather than text that is to be output via cgi_printf(). Render it ** as such. ** ** Enhancement #2: ** ** Comments of the form: "/* @-comment: CC" cause CC to become a ** comment character for the @-substitution. Typical values for CC are ** "--" (for SQL text) or "#" (for Tcl script) or "//" (for C++ code). ** Lines of subsequent @-blocks that begin with CC are omitted from the ** output. ** */ #include <stdio.h> #include <ctype.h> #include <stdlib.h> |
| ︙ | ︙ |