diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2015-01-23 11:34:40 +0100 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2015-01-23 11:48:05 +0100 |
| commit | 7014d824f010ced8e9930dc149bb2cde953e3d77 (patch) | |
| tree | bc9bd4b61329317ea960ccbc03fe72b29c55504b /tests/pagination/templates | |
| parent | 40ab75478ed7427985e4d147eb6573ce8bb351fc (diff) | |
| download | forums-7014d824f010ced8e9930dc149bb2cde953e3d77.tar forums-7014d824f010ced8e9930dc149bb2cde953e3d77.tar.gz forums-7014d824f010ced8e9930dc149bb2cde953e3d77.tar.bz2 forums-7014d824f010ced8e9930dc149bb2cde953e3d77.tar.xz forums-7014d824f010ced8e9930dc149bb2cde953e3d77.zip | |
[ticket/13538] Add test for pagination in nested loop
PHPBB3-13538
Diffstat (limited to 'tests/pagination/templates')
| -rw-r--r-- | tests/pagination/templates/pagination_sub.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/pagination/templates/pagination_sub.html b/tests/pagination/templates/pagination_sub.html new file mode 100644 index 0000000000..1d87940e5d --- /dev/null +++ b/tests/pagination/templates/pagination_sub.html @@ -0,0 +1,17 @@ +pagination +<!-- BEGIN sub --> +:per_page:{sub.PER_PAGE} +:current_page:{sub.CURRENT_PAGE} +:base_url:{sub.BASE_URL} +<!-- BEGIN pagination --> +<!-- IF sub.pagination.S_IS_PREV -->:previous:{sub.pagination.PAGE_NUMBER}:{sub.pagination.PAGE_URL} +<!-- ELSEIF sub.pagination.S_IS_CURRENT -->:current:{sub.pagination.PAGE_NUMBER}:{sub.pagination.PAGE_URL} +<!-- ELSEIF sub.pagination.S_IS_ELLIPSIS -->:ellipsis:{sub.pagination.PAGE_NUMBER}:{sub.pagination.PAGE_URL} +<!-- ELSEIF sub.pagination.S_IS_NEXT -->:next:{sub.pagination.PAGE_NUMBER}:{sub.pagination.PAGE_URL} +<!-- ELSE -->:else:{sub.pagination.PAGE_NUMBER}:{sub.pagination.PAGE_URL} +<!-- ENDIF --> +<!-- END pagination --> +<!-- IF U_PREVIOUS_PAGE -->:u_prev:{sub.U_PREVIOUS_PAGE}<!-- ENDIF --> + +<!-- IF U_NEXT_PAGE -->:u_next:{sub.U_NEXT_PAGE}<!-- ENDIF --> +<!-- END sub --> |
