Component to publish documents
Title of the document
You enter here the text of the document
You generally use the section component to organise
the document in multiple sections.
you enter here a small introduction to the document
Every document written with tlmpdoc must call the
document component. The text is written in the
body functag.
Control the presentation of a document
Title of the section
You enter here the text of the section
Calls to section may be nestedt to describe sub-sub section.
Define a sub-section in a document
Title of the box
Send more text to the box
This function is not generally used directly, but the tlmpwebcc
transform any text line into a call to fputs. The sample component
intercept these calls and format them appropriatly.
String to add to the box
You enter the text of the sample code here
You enter the text of the code sample in the body
functag and it is displayed in a box with the title
under it.
Define a code sample in a box
Add one one to the sample box
Control string
Include a text document and place each line in the sample box
The document is generally a code sample or any ascii document.
File path
Include a text document and place each line in the sample box
The document is generally a code sample or any ascii document.
File path
Prefix insert in front of each line
Select the width (percent of the width of tha page) of the sample box
A table is normally used to hold the sample. You control the width
in percent. The default is 60.
Select the number of tabs to insert in front of each line
The default is 0.
Set the HTML table statement option
The default is border=1. You can set something else.
If you pass a NULL parameter, no table statement is use. The
output is simple a bunch of lines in a "pre" HTML statement.
HTML table options
Write your document there
In general, you are using the component document or project
here.
It uses the ID (a string) you pass as the key to manage the document
in the database.
It is using the path of the web page relative to document root
as the ID to classify the document in the database.
docsession manages the SQL database collecting
users (readers) sessions. The database collects which
page have been read, and which version. When the user
visit the document, we can show what is new, what has
changed and so on. This is done on a personal basis.
docsession uses cookies to track users.
Control the presentation of a document
Define a URL pointing to a document of this project
Documents are numbered starting at one. You specify a title
and a document number.
Document number (1,2,3 or 4)
Title of the link
The component manage the main page of a web project.
Framework to publish project
Present one document
This function is called to present any document. The default is to
dispatch to the documentN functag. This functag allows for many
documents.
Document to display
Title of the project
Present one document
This present the document number 1
Document to display
Title of the project
Present one document
This present the document number 2
Document to display
Title of the project
Present one document
This present the document number 3
Document to display
Title of the project
Present one document
This present the document number 4
Document to display
Title of the project
Present some news about the project
Project title
Return true if there are some news to display
Project title
Display the change logs of the project
project title
Return true if there are some logs to display.
Project title
Display references and pointers to related projects
Project title
Display the logo or the center of the main page
Project title
Control the presentation and disposition of the various components
Present the master index of the project on the side
Project title
Project title