From 9f108dd1a969473375341d92a7b1252fa2cedc9a Mon Sep 17 00:00:00 2001
From: mszulecki
Date: Thu, 14 Jun 2007 17:09:01 +0000
Subject: Initial import.
git-svn-id: http://svn.sukimashita.com/repos/mailadmin/trunk@2 4281df72-ff29-0410-8fee-2d9ac0c5f5a7
---
.../sfPropelAdmin/mailadmin/template/templates/_pager.php | 13 +++++++++++++
1 file changed, 13 insertions(+)
create mode 100644 data/generator/sfPropelAdmin/mailadmin/template/templates/_pager.php
(limited to 'data/generator/sfPropelAdmin/mailadmin/template/templates/_pager.php')
diff --git a/data/generator/sfPropelAdmin/mailadmin/template/templates/_pager.php b/data/generator/sfPropelAdmin/mailadmin/template/templates/_pager.php
new file mode 100644
index 0000000..818d925
--- /dev/null
+++ b/data/generator/sfPropelAdmin/mailadmin/template/templates/_pager.php
@@ -0,0 +1,13 @@
+[?php if($pager->getNbResults() > 25 || $pager->haveToPaginate()): ?]
+
+
+[?php if($pager->haveToPaginate()): ?]
+- Page [?php echo $pager->getPage() ?] of [?php echo $pager->getLastPage() ?]
+- [?php if($pager->getPage()!=$pager->getFirstPage()): ?][?php echo link_to(image_tag("first.gif", array('border' => 0, 'alt' => __('First'), 'title' => __('First'))), 'getModuleName() ?>/list?page='.$pager->getFirstPage()) ?]
+[?php echo link_to(image_tag("previous.gif", array('border' => 0, 'alt' => __('Previous'), 'title' => __('Previous'))), 'getModuleName() ?>/list?page='.$pager->getPreviousPage()) ?][?php endif; ?]
+[?php if($pager->getPage()!=$pager->getLastPage()): ?][?php echo link_to(image_tag("next.gif", array('border' => 0, 'alt' => __('Next'), 'title' => __('Next'))), 'getModuleName() ?>/list?page='.$pager->getNextPage()) ?]
+[?php echo link_to(image_tag("last.gif", array('border' => 0, 'alt' => __('Last'), 'title' => __('Last'))), 'getModuleName() ?>/list?page='.$pager->getLastPage()) ?][?php endif; ?]
+[?php endif; ?]
+
+
+[?php endif; ?]
--
cgit v1.1-32-gdbae