
TwoBlog skin help. This document contains a list of the elements available for each function in templates/template.txt
DISPLAYTEMPLATE
<? echo $articlename ?>
// Print the entry's name
<? echo $name ?>
// Print the name of the user that posted the entry
<? echo $message ?>
// Print the entry's body text
<? echo $time ?>
// Print the time at which the entry was posted
<? echo $emailaddress ?>
// Print the email address of the user that posted the entry
<? echo $keywords ?>
// Print the keywords for the entry
COMMENTTEMPLATE
<? echo $name ?>
// Print the commenter's name
<?if($email !=""){?> <a href="mailto:<? echo $email ?>">[ mail ]</a><?}?>
// Print the commenter's email address
<?if($website !=""){?><a href="<? echo $website ?>" target="_blank">[ web ]</a><?}?>
// Print the commenter's web URL
<? echo $comment ?>
// Print the commenter's comment
COMMENTADDFORM
<? FORM($comments,$id,$articlename); ?>
// Display the form to add comments
PLUGINTOP
None
PLUGINBOTTOM
None
LAYOUT
<? HEAD() ?>
// Place this between your <head> tags (required)
<? echo $title ?>
// Print the blog's title
<? echo $blogdescription ?>
// Print the blog's description
<?NEWSGET($comments);COMMENTSGET($comments,$id);
FORMFORCOMMENTS($comments,$id,$articlename);?>
// Display the entries or entry with comments
<? DROPDOWNARCHIVE(); ?>
// Display the drop-down archive menu
<? PLUGINS(); ?>
// Display the plugins with PLUGINTOP before and PLUGINBOTTOM after each module
END