FrontPage 

TB Wiki

Login

Regression Test

Expected HTML for page "DocThemes"


expected html
nothing
t1A theme allows you to specify the page "decorations" which surround the contentt
2of a miki page. To create a theme, create the files:
3<ul><li>&lt;theme&gt;.header
4<li>&lt;theme&gt;.footer
5<li>&lt;theme&gt;.css - stylesheet file
6</ul>
7<p>
8The default theme for a wiki is specied in the top-level CGI file as the
9string value of config.default_theme.  For example:
10config.default_theme="tbwiki"
11<p>
12Users can select a different theme, and this is stored in their account
13data in e.g. data/admin/User1 as the value for "theme".
14<p>
15The list of allowed themes (for user selection) is generated by scanning
16the data/pages directory, and listing all basenames for files ending in
17'.header'.
18<p>
19The format of the header and footer files is raw HTML.  You can reference
20some tbwiki system variables, to place items wherever you want on the
21page.  The header and footer files go in the data/pages directory, just like
22any other file (this might be a security risk).  The stylesheet file goes in
23the 'css' directory.
24<p>
25Here are some of the variables available, and what they mean:
26<ul><li>content_type - specifies the type of page to return (usually text/html)
27<li>title - the page title
28<li>system_title - the name of the miki site
29<li>base_css_url - the base web directory where css files are stored
30<li>stylesheet - the name of the css file (default is 'tbwiki.css', but it varies
31 depending on the theme.
32<li>login_form - puts a link to the login form, or the name of the currently logged-in user
33<li>login_form_nobr - user stuff in a single line
34<li>nav_box_sidebar - a sidebar table showing a list of navigation links
35<li>nav_bar_bar - a sequence of navigation links
36<li>search_form - a table with a search form in it
37<li>search_form_nobr - a search form in a single line
38<li>toolbox - a sidebard table showing a list of actions you can perform
39<li>message - will display a message, usually reflecting the status of the last action performe
40</ul>
41<p>
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op

Differences for page "DocThemes"


expected html
generated html
t No Differences Found t No Differences Found 
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op

Update saved output

Back to diff page

Return to Regression_Test page
TBWiki engine 1.9.3 by Tim Bird