Templates
Please refer to document structure as well.
All templates are stored in one place and follow the same logic, however several of them are for administrator only.
User templates (document templates)
Administrative templates
Frontend:
Main:
Template name | Used in | Description | Passed variables |
header | This is the first html code passed to the browser. Please check the document structure page and this FAQ to learn more. | ||
footer |
This is the last html code sent to the browser | ||
menujs1 |
settings for javascript menu | This template contains settings for built-in javascript menu and is passed to the browser where such menu is used | |
admin_originalpicture | Original sized image pages | When users click to get stored image in original size, this is the template that is used to accomodate the image | $text1 - image $text2 - description |
admin_comment | forums | Represents template for one row in forums and page comments | $text1 - background colour for the row (one of two colours set in configuration, varies with each row) $text2 - comment contents (subject+text+optional 'edited by' information) $text3 - author name $text4 - author stars/rank $text5 - author emblem $text6 - submission time $text7 - action links (Edit and/or Mail) |
admin_comments | forums and vote add-ons in normal pages | Template for comments in forums and page comments |
$text1 - action for the form tag and refresh javascript (contains full current URL) |
admin_forumvote | forums | One row for votes display |
$text1 - vote text |
admin_forumvotes | forums | Votes display | $text1 - the full defintion for the form tag (except for the word form) $text2 - name for the votes $text3 - contents for the votes (graph, etc. created with rows of admin_forumvote) $text4 - button to vote |
admin_commentformforloggeduseradvanced | forums | The code of the advanced form for inputting/editing comments, displays for logged users only. | $text1 - the full defintion for the form tag (except for the word form and form name) $text2 - name of the logged on user $text3 - notification checkbox $text4 - comment subject $text5 - comment text $text6 - deletion button (if relevant) $text7 - display of the votes (if relevant) |
admin_commentformadvanced | forums | The code of the advanced form for inputting/editing comments. Displays for unlogged users only (the visible difference between the previous template is in $text3) | $text1 - the full defintion for the form tag (except for the word form and form name) $text2 - name of the logged on user $text3 - email of the user (unlogged user who wished to get notified of new comments) $text4 - comment subject $text5 - comment text $text6 - deletion button (if relevant) $text7 - display of the votes (if relevant) |
admin_commentforum | forums | One row of the list of forums in admin_commentforums | $text1- changing colour (between #CCFFFF and white) $text2 - name with link to the forum document $text3 - number of forum topics $text4 - number of forum comments $text5 - number of forum views $text6 - last comment time and author |
admin_commentforums | forums | The display of all forums. | $text1 - the list of forums $text2 - who is online $text4 - multiple page navigator $text5 - link to the newest member $text6 - number of registered users $text7 - number of comments in all forums |
admin_commenttopic | forums | $text1 - $text2 - $text3 - $text4 - $text5 - $text6 - | |
admin_commenttopics | forums | $text1 - $text2 - $text3 - $text4 - $text5 - $text6 - | |
admin_commentformforloggeduser | forums | $text1 - $text2 - $text3 - $text4 - $text5 - $text6 - | |
admin_commentform | forums | $text1 - $text2 - $text3 - $text4 - $text5 - $text6 - | |
admin_forummailinbox | forums | $text1 - $text2 - $text3 - $text4 - $text5 - $text6 - | |
admin_forummailrow | forums | $text1 - $text2 - $text3 - $text4 - $text5 - $text6 - | |
admin_forummailform | forums | $text1 - $text2 - $text3 - $text4 - $text5 - $text6 - | |
admin_forummailshow | forums | $text1 - $text2 - $text3 - $text4 - $text5 - $text6 - | |
admin_setting | forums | $text1 - $text2 - $text3 - $text4 - $text5 - $text6 - | |
admin_settings | forums | $text1 - $text2 - $text3 - $text4 - $text5 - $text6 - | |
admin_login | forums | $text1 - $text2 - $text3 - $text4 - $text5 - $text6 - | |
admin_listusers | forums | $text1 - $text2 - $text3 - $text4 - $text5 - $text6 - | |
admin_listuser | forums | $text1 - $text2 - $text3 - $text4 - $text5 - $text6 - |
Backend
admin_headerforcms (corrective header for use inside CMS document editor, usually stays blank)
admin_footerforcms (corrective footer for use inside CMS document editor, usually stays blank)
Asteri.sk ©2003