The entry template defines how the plog entry is presented, I.E. where the title, date, author, text & images appear.
The image template defines how images are presented within an entry and on the Image page.
The image tag template defines how each image is presented, I.E. borders, size.
| Tag | Valid Template(s) | Represents |
|---|---|---|
| <PImagearea> | Entry Template | Placement of the Image Template |
| <PImagetag> | Image Template | Placement of the Image Tag |
| <PImagesource> | Image Tag | Image path/name |
| <PImagesize> | Image Tag | Image dimensions in HTML IMG format |
| <PImagename> | Image Template, Image Tag | Image name with file type |
| <PImageentry> | Image Template, Image Tag | Image entry |
| <PImagecaption> | Image Template, Image Tag | Image caption |
| <PImageheadline> | Image Template, Image Tag | Image headline |
| <PImagecopyright> | Image Template, Image Tag | Image copyright string |
| <PImagecreatedate> | Image Template, Image Tag | Image create date |
| <PSitetitle> | Entry Template | Plog title |
| <PSitesubtitle> | Entry Template | Plog subtitle |
| <PTitle> | Entry Template | Entry title |
| <PDay> | Entry Template | Entry day of the week, note that plog day format must be set |
| <PDate> | Entry Template | Entry date, note that plog date format must be set & valid |
| <PTime> | Entry Template | Entry time, note that plog time format must be set & valid |
| <PAuthor> | Entry Template, Image Template, Image Tag | Entry author name |
| <PAuthoralias> | Entry Template, Image Template, Image Tag | Entry author alias |
| <PAuthoremail> | Entry Template, Image Template, Image Tag | Entry author email address (this tag is not recommended for public plogs) |
| <PAuthorcopyright> | Entry Template, Image Template, Image Tag | Author copyright string |
| <PEntry> | Entry Template | Entry text |
| <PEntercommentstart> | Entry Template | Start position for a link to comments |
| <PEntercommentend> | Entry Template | End position for a link to comments |
| <PComments> | Entry Template | |
| <PCommentcount> | Entry Template | Number of comments on an entry |
| <PDirectlinkstart> | Entry Template | Start position for a direct link to the entry |
| <PDirectlinkend> | Entry Template | End position for a direct link to the entry |
| <PImagedirectlinkstart> | Image Template, Image Tag | Start position for a direct link to the image |
| <PImagedirectlinkend> | Image Template, Image Tag | End position for a direct link to the image |
| <PCommentname> | Comment List, Comment Entry | Name associated with a comment |
| <PCommentday> | Comment List | Day the comment was entered, note that plog day format must be set |
| <PCommentdate> | Comment List | Date the comment was entered, note that plog date format must be set & valid |
| <PCommenttime> | Comment List | Time the comment was entered, note that plog time format must be set & valid |
| <PCommenttext> | Comment List, Comment Entry | Comment text |
| <PCommenturl> | Comment List, Comment Entry | URL associated with a comment |
| <PCommentemail> | Comment Entry | Email address associated with a comment |
| <PCommentsubmitbutton> | Comment Entry | Submit button for the comment entry form |
| <PListurl> | List Templates | URL of a link |
| <PListname> | List Templates | Name of the URL |
| a | "am" or "pm" |
| A | "AM" or "PM" |
| B | Swatch Internet time |
| d | day of the month, 2 digits with leading zeros; i.e. "01" to "31" |
| D | day of the week, textual, 3 letters; e.g. "Fri" |
| F | month, textual, long; e.g. "January" |
| g | hour, 12-hour format without leading zeros; i.e. "1" to "12" |
| G | hour, 24-hour format without leading zeros; i.e. "0" to "23" |
| h | hour, 12-hour format; i.e. "01" to "12" |
| H | hour, 24-hour format; i.e. "00" to "23" |
| i | minutes; i.e. "00" to "59" |
| I (capital 'i') | "1" if Daylight Savings Time, "0" otherwise. |
| j | day of the month without leading zeros; i.e. "1" to "31" |
| l (lowercase 'L') | day of the week, textual, long; e.g. "Friday" |
| L | boolean for whether it is a leap year; i.e. "0" or "1" |
| m | month; i.e. "01" to "12" |
| M | month, textual, 3 letters; e.g. "Jan" |
| n | month without leading zeros; i.e. "1" to "12" |
| O | Difference to Greenwich time in hours; e.g. "+0200" |
| r | RFC 822 formatted date; e.g. "Thu, 21 Dec 2000 16:01:07 +0200" (added in PHP 4.0.4) |
| s | seconds; i.e. "00" to "59" |
| S | English ordinal suffix for the day of the month, 2 characters; i.e. "st", "nd", "rd" or "th" |
| t | number of days in the given month; i.e. "28" to "31" |
| T | Timezone setting of this machine; e.g. "EST" or "MDT" |
| U | seconds since the Unix Epoch (January 1 1970 00:00:00 GMT) |
| w | day of the week, numeric, i.e. "0" (Sunday) to "6" (Saturday) |
| W | ISO-8601 week number of year, weeks starting on Monday (added in PHP 4.1.0) |
| Y | year, 4 digits; e.g. "1999" |
| y | year, 2 digits; e.g. "99" |
| z | day of the year; i.e. "0" to "365" |
| Z | timezone offset in seconds (i.e. "-43200" to "43200"). The offset for timezones west of UTC is always negative, and for those east of UTC is always positive. |
| Code Snippet | index | byimage | bycat | byentry | bydate | Description |
| <?php include ("usercfg.inc"); ?> | R | R | R | R | R | Site Configuration |
| <?php include ($srclib . "header.inc"); ?> | R | N/A | N/A | N/A | N/A | Display routines |
| <?php include ($srclib . "headerimage.inc"); ?> | N/A | R | N/A | N/A | N/A | Display routines |
| <?php include ($srclib . "headercat.inc"); ?> | N/A | N/A | R | N/A | N/A | Display routines |
| <?php include ($srclib . "headerentry.inc"); ?> | N/A | N/A | N/A | R | N/A | Display routines |
| <?php include ($srclib . "headerdates.inc"); ?> | N/A | N/A | N/A | N/A | R | Display routines |
| <?php include ($srclib . "title.inc"); ?> | O | O | O | O | O | Page title - this snippet should appear betweeen the HTML <title> tags |
| <?php include ($srclib . "plogname.inc"); ?> | O | O | O | O | O | Plog name |
| <?php include ($srclib . "recent.inc"); ?> | O | O | O | O | O | Link list to recent entries |
| <?php include ($srclib . "byDate.inc"); ?> | O | O | O | O | O | Link list to entries by date (month) |
| <?php include ($srclib . "byCategory.inc"); ?> | O | O | O | O | O | Link list to entries by category |
| <?php print (linklist($plog["ID"], $plog["linklist"], "putgrouphere")); ?> | O | O | O | O | O | Link list(s) to URLs assigned to the plog. If groups are assigned to the URLs enter the group in 'putgrouphere' to show each URL group list. Enter 'ALL' (in caps) to show all links regarless of group, enter 'BLANK' (in caps) to show only URLs with no group assigned. |
| <?php include ($srclib . "description.inc"); ?> | O | O | O | O | O | Plog description |
| <?php include ($srclib . "subtitle.inc"); ?> | O | O | O | O | O | Plog subtitle |
| <?php include ($srclib . "body.inc"); ?> | R | R | R | R | R | Displays the entries & images. |
| <?php include ($srclib . "copyright.inc"); ?> | O | O | O | O | O | Plog copyright |
| <?php include ($srclib . "dbclose.inc"); ?> | R | R | R | R | R | Display routine |
| <?php include ($srclib . "comments.inc"); ?> | N/A | N/A | N/A | O | N/A | Display & accept comments |
| <?php print '<a href="' . $plog["index"] . '"> Main </a>' ; ?> | N/A | O | O | O | O | Return to the Main (index) page |
| <?php print $prev ; ?> | N/A | N/A | N/A | N/A | O | Go to the previous months entries |
| <?php print $next ; ?> | N/A | N/A | N/A | N/A | O | Go to the next months entries |
| <?php include ($srclib . "randomimage.inc"); ?> | O | O | O | O | O | Display a random image |
| <?php print htmlit($plog["name"]) ; ?> | O | O | O | O | O | Plog name |
| <?php print htmlit($plog["description"]) ; ?> | O | O | O | O | O | Plog description |
| <?php print htmlit($plog["subtitle"]) ; ?> | O | O | O | O | O | Plog subtitle |
| <?php print htmlit($plog["copyright"]) ; ?> | O | O | O | O | O | Plog copyright |