From 52fa7ae9722c42a309db68a6af80609dfe97f920 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Fri, 24 Feb 2017 22:09:14 +0100 Subject: Forgotten things added. --- Templates.md | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/Templates.md b/Templates.md index c066e7c..7ddc728 100644 --- a/Templates.md +++ b/Templates.md @@ -64,6 +64,9 @@ Represents a single post to display within the feed template. ## Template `html/page/item.php` Represents a single page to display within the list template. +* `$PAGE`: [See reference for `@PAGE`] +* `$USER`: [See reference for `@USER`] + ## Template `html/page/list.php` Overview template which contains the site navigation and a list of page items to be displayed. @@ -72,8 +75,6 @@ Overview template which contains the site navigation and a list of page items to * `$PAGEINATION['LAST']`: Contains the last site number of the list navigation * `$PAGEINATION['HTML']`: Contains the pageination template with the list navigation -* `$PAGE`: [See reference for `@PAGE`] - ## Template `html/page/main.php` Main template for a single page. @@ -85,6 +86,9 @@ Main template for a single page. ## Template `html/post/item.php` Represents a single post to display within the list template. +* `$POST`: [See reference for `@POST`] +* `$USER`: [See reference for `@USER`] + ## Template `html/post/list.php` Overview template which contains the site navigation and a list of post items to be displayed. @@ -93,8 +97,6 @@ Overview template which contains the site navigation and a list of post items to * `$PAGEINATION['LAST']`: Contains the last site number of the list navigation * `$PAGEINATION['HTML']`: Contains the pageination template with the list navigation -* `$POST`: [See reference for `@POST`] - ## Template `html/post/main.php` Main template for a single post. @@ -128,6 +130,19 @@ Result template with a list of posts and the formular to repeat the search. * `$FORM['OPTIONS']['M']`: Contains a list of possible months to select * `$FORM['OPTIONS']['Y']`: Contains a list of possible years to select +## Template `html/user/item.php` +Represents a single user to display within the list template. + +* `$USER`: [See reference for `@USER`] + +## Template `html/user/list.php` +Overview template which contains the site navigation and a list of user items to be displayed. + +* `$LIST['USERS']`: Contains a list of user items for the current site +* `$PAGEINATION['THIS']`: Contains the current site number of the list navigation +* `$PAGEINATION['LAST']`: Contains the last site number of the list navigation +* `$PAGEINATION['HTML']`: Contains the pageination template with the list navigation + ## Template `html/user/main.php` Main template for a single user. -- cgit v1.2.3