aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrae <paul@starstreak.net>2012-07-05 18:56:14 +0100
committerDrae <paul@starstreak.net>2012-07-18 14:31:21 +0100
commitdc71c0629e60acccd39b59538f2e7f5b09b32509 (patch)
treeb87e23a0e29124f25abecb06e2b1252e1d3655c3 /phpBB/styles/prosilver/template/mcp_topic.html
parent[ticket/10968] Render pagination within the template (diff)
downloadphpbb-dc71c0629e60acccd39b59538f2e7f5b09b32509.tar.gz
phpbb-dc71c0629e60acccd39b59538f2e7f5b09b32509.tar.bz2
phpbb-dc71c0629e60acccd39b59538f2e7f5b09b32509.zip
[feature/pagination-as-list] Various fixes and improvements
Extracted common template code for prosilver as per subsilver2. Various other fixups and oversight corrections, changed name of the "new" template function and re-introduced existing version. Altered on_page to compensate for removal of some templating vars from pagination routine. PHPBB3-10968
Diffstat (limited to 'phpBB/styles/prosilver/template/mcp_topic.html')
-rw-r--r--phpBB/styles/prosilver/template/mcp_topic.html15
1 files changed, 1 insertions, 14 deletions
diff --git a/phpBB/styles/prosilver/template/mcp_topic.html b/phpBB/styles/prosilver/template/mcp_topic.html
index 2a7b749027..a6938ee2fb 100644
--- a/phpBB/styles/prosilver/template/mcp_topic.html
+++ b/phpBB/styles/prosilver/template/mcp_topic.html
@@ -144,20 +144,7 @@ onload_functions.push('subPanels()');
<li class="rightside pagination">
<!-- IF TOTAL_POSTS --> {TOTAL_POSTS} &bull; <!-- ENDIF -->
<!-- IF .pagination -->
- <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull;
- <ul>
- <!-- BEGIN pagination -->
- <!-- IF pagination.S_IS_PREV -->
- <!-- ELSEIF pagination.S_IS_CURRENT -->
- <li class="active"><span>{pagination.PAGE_NUMBER}</span></li>
- <!-- ELSEIF pagination.S_IS_ELLIPSIS -->
- <li class="ellipsis"><span>{L_ELLIPSIS}</span></li>
- <!-- ELSEIF pagination.S_IS_NEXT -->
- <!-- ELSE -->
- <li><a href="{pagination.PAGE_URL}">{pagination.PAGE_NUMBER}</a></li>
- <!-- ENDIF -->
- <!-- END pagination -->
- </ul>
+ <!-- INCLUDE pagination.html -->
<!-- ELSE -->
{PAGE_NUMBER}
<!-- ENDIF -->