Mercurial > p > roundup > code
comparison doc/customizing.txt @ 3968:5857cd1a0db9
add language to the "request" template var
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 19 Feb 2008 23:45:33 +0000 |
| parents | 586679a314f7 |
| children | bca7c59ac400 |
comparison
equal
deleted
inserted
replaced
| 3967:b1e81ad3fa6a | 3968:5857cd1a0db9 |
|---|---|
| 1 =================== | 1 =================== |
| 2 Customising Roundup | 2 Customising Roundup |
| 3 =================== | 3 =================== |
| 4 | 4 |
| 5 :Version: $Revision: 1.222 $ | 5 :Version: $Revision: 1.223 $ |
| 6 | 6 |
| 7 .. This document borrows from the ZopeBook section on ZPT. The original is at: | 7 .. This document borrows from the ZopeBook section on ZPT. The original is at: |
| 8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx | 8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx |
| 9 | 9 |
| 10 .. contents:: | 10 .. contents:: |
| 1873 **request** | 1873 **request** |
| 1874 Includes information about the current request, including: | 1874 Includes information about the current request, including: |
| 1875 - the current index information (``filterspec``, ``filter`` args, | 1875 - the current index information (``filterspec``, ``filter`` args, |
| 1876 ``properties``, etc) parsed out of the form. | 1876 ``properties``, etc) parsed out of the form. |
| 1877 - methods for easy filterspec link generation | 1877 - methods for easy filterspec link generation |
| 1878 - *user*, the current user item as an HTMLItem instance | 1878 - "form" |
| 1879 - *form* | |
| 1880 The current CGI form information as a mapping of form argument name | 1879 The current CGI form information as a mapping of form argument name |
| 1881 to value | 1880 to value (specifically a cgi.FieldStorage) |
| 1881 - "env" the CGI environment variables | |
| 1882 - "base" the base URL for this instance | |
| 1883 - "user" a HTMLItem instance for the current user | |
| 1884 - "language" as determined by the browser or config | |
| 1885 - "classname" the current classname (possibly None) | |
| 1886 - "template" the current template (suffix, also possibly None) | |
| 1882 **config** | 1887 **config** |
| 1883 This variable holds all the values defined in the tracker config.ini | 1888 This variable holds all the values defined in the tracker config.ini |
| 1884 file (eg. TRACKER_NAME, etc.) | 1889 file (eg. TRACKER_NAME, etc.) |
| 1885 **db** | 1890 **db** |
| 1886 The current database, used to access arbitrary database items. | 1891 The current database, used to access arbitrary database items. |
