summaryrefslogtreecommitdiff
path: root/kohana/views/pagination/punbb.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-15 08:37:09 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-15 08:37:09 +0000
commit31759cb3b3090c1b9d68ac54f2d2622584003563 (patch)
tree97a6029ab240a940abddf8235e57984232037aff /kohana/views/pagination/punbb.php
parente73bd90285e1082449990e8118b91aa853eb5e6f (diff)
Delete trunk/kohana and trunk/modules/unit_test in preparation to refresh
them properly from the vendor branch.
Diffstat (limited to 'kohana/views/pagination/punbb.php')
-rw-r--r--kohana/views/pagination/punbb.php37
1 files changed, 0 insertions, 37 deletions
diff --git a/kohana/views/pagination/punbb.php b/kohana/views/pagination/punbb.php
deleted file mode 100644
index 3bb62676..00000000
--- a/kohana/views/pagination/punbb.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-/**
- * PunBB pagination style
- *
- * @preview Pages: 1 … 4 5 6 7 8 … 15
- */
-?>
-
-<p class="pagination">
-
- <?php echo Kohana::lang('pagination.pages') ?>:
-
- <?php if ($current_page > 3): ?>
- <a href="<?php echo str_replace('{page}', 1, $url) ?>">1</a>
- <?php if ($current_page != 4) echo '&hellip;' ?>
- <?php endif ?>
-
-
- <?php for ($i = $current_page - 2, $stop = $current_page + 3; $i < $stop; ++$i): ?>
-
- <?php if ($i < 1 OR $i > $total_pages) continue ?>
-
- <?php if ($current_page == $i): ?>
- <strong><?php echo $i ?></strong>
- <?php else: ?>
- <a href="<?php echo str_replace('{page}', $i, $url) ?>"><?php echo $i ?></a>
- <?php endif ?>
-
- <?php endfor ?>
-
-
- <?php if ($current_page <= $total_pages - 3): ?>
- <?php if ($current_page != $total_pages - 3) echo '&hellip;' ?>
- <a href="<?php echo str_replace('{page}', $total_pages, $url) ?>"><?php echo $total_pages ?></a>
- <?php endif ?>
-
-</p> \ No newline at end of file