diff --git a/app/design/frontend/base/default/template/catalog/product/list/toolbar.phtml b/app/design/frontend/base/default/template/catalog/product/list/toolbar.phtml
index c969979f3da..e8f39fe21fe 100644
--- a/app/design/frontend/base/default/template/catalog/product/list/toolbar.phtml
+++ b/app/design/frontend/base/default/template/catalog/product/list/toolbar.phtml
@@ -22,7 +22,7 @@
/**
* Product list toolbar
*
- * @see Mage_Catalog_Block_Product_List_Toolbar
+ * @var Mage_Catalog_Block_Product_List_Toolbar $this
*/
?>
getCollection()->getSize()): ?>
@@ -36,19 +36,20 @@
-
-
- __('per page') ?>
-
-
+ getAvailableLimit() ?>
+ 1): ?>
+
+
+ __('per page') ?>
+
+
getPagerHtml() ?>
-
isExpanded() ): ?>
@@ -58,7 +59,7 @@
getModes(); ?>
1): ?>
- getModes() as $_code=>$_label): ?>
+ getModes() as $_code => $_label): ?>
isModeActive($_code)): ?>
@@ -72,13 +73,13 @@
- getCurrentDirection() == 'desc'): ?>
+ getCurrentDirection() === 'desc'): ?>
diff --git a/app/design/frontend/base/default/template/page/html/pager.phtml b/app/design/frontend/base/default/template/page/html/pager.phtml
index 1010cedb18c..71bf455c2b1 100644
--- a/app/design/frontend/base/default/template/page/html/pager.phtml
+++ b/app/design/frontend/base/default/template/page/html/pager.phtml
@@ -22,7 +22,7 @@
/**
* Pager template
*
- * @see Mage_Page_Block_Html_Pager
+ * @var Mage_Page_Block_Html_Pager $this
*/
?>
getCollection()->getSize()): ?>
@@ -41,17 +41,18 @@
- getShowPerPage()): ?>
-
-
- __('per page') ?>
-
+ getAvailableLimit() ?>
+ 1): ?>
+
+
+ __('per page') ?>
+
getLastPageNum()>1): ?>
@@ -86,7 +87,6 @@
-
canShowNextJump()): ?>
...
@@ -107,7 +107,6 @@
-
diff --git a/app/design/frontend/default/iphone/template/page/html/pager.phtml b/app/design/frontend/default/iphone/template/page/html/pager.phtml
index 94ad83b021b..3413e510faf 100644
--- a/app/design/frontend/default/iphone/template/page/html/pager.phtml
+++ b/app/design/frontend/default/iphone/template/page/html/pager.phtml
@@ -22,7 +22,7 @@
/**
* Pager template
*
- * @see Mage_Page_Block_Html_Pager
+ * @var Mage_Page_Block_Html_Pager $this
*/
?>
getCollection()->getSize()): ?>
@@ -33,7 +33,6 @@
getShowAmounts()): ?>
-
getLastPageNum()>1): ?>
__('Items %s to %s of %s total', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
@@ -42,17 +41,18 @@
- getShowPerPage()): ?>
-
-
- __('per page') ?>
-
+ getAvailableLimit() ?>
+ 1): ?>
+
+
+ __('per page') ?>
+
getLastPageNum()>1): ?>
@@ -69,7 +69,7 @@
getFramePages() as $_page): ?>
isPageCurrent($_page)): ?>
-
diff --git a/app/design/frontend/rwd/default/template/catalog/product/list/toolbar.phtml b/app/design/frontend/rwd/default/template/catalog/product/list/toolbar.phtml
index 2f39c40f5fa..1cd05c1a622 100644
--- a/app/design/frontend/rwd/default/template/catalog/product/list/toolbar.phtml
+++ b/app/design/frontend/rwd/default/template/catalog/product/list/toolbar.phtml
@@ -22,7 +22,7 @@
/**
* Product list toolbar
*
- * @see Mage_Catalog_Block_Product_List_Toolbar
+ * @var Mage_Catalog_Block_Product_List_Toolbar $this
*/
?>
getCollection()->getSize()): ?>
@@ -34,7 +34,7 @@
getModes(); ?>
1): ?>
- getModes() as $_code=>$_label): ?>
+ getModes() as $_code => $_label): ?>
isModeActive($_code)): ?>
@@ -48,13 +48,13 @@
- getCurrentDirection() == 'desc'): ?>
+ getCurrentDirection() === 'desc'): ?>
__('Set Ascending Direction') ?>
__('Set Descending Direction') ?>
@@ -74,16 +74,19 @@
-
-
-
-
+ getAvailableLimit() ?>
+ 1): ?>
+
+
+
+
+
getPagerHtml() ?>
diff --git a/app/design/frontend/rwd/default/template/page/html/pager.phtml b/app/design/frontend/rwd/default/template/page/html/pager.phtml
index 588d03c45db..2d4b92f65e7 100644
--- a/app/design/frontend/rwd/default/template/page/html/pager.phtml
+++ b/app/design/frontend/rwd/default/template/page/html/pager.phtml
@@ -22,7 +22,7 @@
/**
* Pager template
*
- * @see Mage_Page_Block_Html_Pager
+ * @var Mage_Page_Block_Html_Pager $this
*/
?>
getCollection()->getSize()): ?>
@@ -45,17 +45,18 @@
- getShowPerPage()): ?>
-
-
-
-
+ getAvailableLimit() ?>
+ 1): ?>
+
+
+
+