summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-07-22 21:03:19 +0200
committerThomas Lange <code@nerdmind.de>2021-07-22 21:03:19 +0200
commit7c4a69b1cea2b2efe98982c5113c95a1f35524db (patch)
tree85203c1b1822f8250c2869aeb83398e72dc965ad
parent3110e98a7b1bbaecb37d3430983b7855a40a924d (diff)
downloadwiki-7c4a69b1cea2b2efe98982c5113c95a1f35524db.tar.gz
wiki-7c4a69b1cea2b2efe98982c5113c95a1f35524db.tar.xz
wiki-7c4a69b1cea2b2efe98982c5113c95a1f35524db.zip
Add pagination reference to search result template
-rw-r--r--Templates.md24
1 files changed, 11 insertions, 13 deletions
diff --git a/Templates.md b/Templates.md
index d27d5ac..2fe94a0 100644
--- a/Templates.md
+++ b/Templates.md
@@ -81,33 +81,25 @@ This is the default startpage template which contains a list with the last posts
Overview template which contains the site navigation and a list of category items to be displayed.
* `$LIST['CATEGORIES']`: Contains a list of category items for the current site
-* `$PAGINATION['THIS']`: Contains the current site number of the list navigation
-* `$PAGINATION['LAST']`: Contains the last site number of the list navigation
-* `$PAGINATION['HTML']`: Contains the pagination template with the list navigation
+* `$PAGINATION`: [See reference for `@PAGINATION`]
## Page List Template `html/page/list.php`
Overview template which contains the site navigation and a list of page items to be displayed.
* `$LIST['PAGES']`: Contains a list of page items for the current site
-* `$PAGINATION['THIS']`: Contains the current site number of the list navigation
-* `$PAGINATION['LAST']`: Contains the last site number of the list navigation
-* `$PAGINATION['HTML']`: Contains the pagination template with the list navigation
+* `$PAGINATION`: [See reference for `@PAGINATION`]
## Post List Template `html/post/list.php`
Overview template which contains the site navigation and a list of post items to be displayed.
* `$LIST['POSTS']`: Contains a list of post items for the current site
-* `$PAGINATION['THIS']`: Contains the current site number of the list navigation
-* `$PAGINATION['LAST']`: Contains the last site number of the list navigation
-* `$PAGINATION['HTML']`: Contains the pagination template with the list navigation
+* `$PAGINATION`: [See reference for `@PAGINATION`]
## User List 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
-* `$PAGINATION['THIS']`: Contains the current site number of the list navigation
-* `$PAGINATION['LAST']`: Contains the last site number of the list navigation
-* `$PAGINATION['HTML']`: Contains the pagination template with the list navigation
+* `$PAGINATION`: [See reference for `@PAGINATION`]
## Category Item Template `html/category/item.php`
Represents a single category to display within the list template.
@@ -200,6 +192,7 @@ Result template with a list of posts and the formular to repeat the search.
* `$FORM['OPTIONS']['D']`: Contains a list of possible days to select
* `$FORM['OPTIONS']['M']`: Contains a list of possible months to select
* `$FORM['OPTIONS']['Y']`: Contains a list of possible years to select
+* `$PAGINATION`: [See reference for `@PAGINATION`]
## Pagination Template `html/pagination.php`
Contains the site navigation for post, page and user list (and for the home template)
@@ -294,4 +287,9 @@ Default template for error page 404 Not Found.
* `$USER['ATTR']['FULLNAME']`**{!}**: Raw attribute data from database column `fullname`
* `$USER['ATTR']['MAILADDR']`**{!}**: Raw attribute data from database column `mailaddr`
* `$USER['ATTR']['TIME_INSERT']`: Raw attribute data from database column `time_insert`
-* `$USER['ATTR']['TIME_UPDATE']`: Raw attribute data from database column `time_update` \ No newline at end of file
+* `$USER['ATTR']['TIME_UPDATE']`: Raw attribute data from database column `time_update`
+
+### `@PAGINATION`
+* `$PAGINATION['THIS']`: Contains the current site number of the list navigation
+* `$PAGINATION['LAST']`: Contains the last site number of the list navigation
+* `$PAGINATION['HTML']`: Contains the pagination template with the list navigation \ No newline at end of file