| 1 |
<?php |
<?php |
| 2 |
// $Id: paging.module,v 1.43 2009/04/18 21:34:06 Gurpartap Exp $ |
// $Id: paging.module,v 1.44 2009/04/18 21:50:06 Gurpartap Exp $ |
| 3 |
// Original module written by Marco Scutari. |
// Original module written by Marco Scutari. |
| 4 |
// Rewritten and considerably shortened and made more Drupal-friendly by Earl Miles. |
// Rewritten and considerably shortened and made more Drupal-friendly by Earl Miles. |
| 5 |
// Yet again rewritten, extended and currently maintained by Gurpartap Singh. |
// Yet again rewritten, extended and currently maintained by Gurpartap Singh. |
| 795 |
function paging_filter_tips($delta, $format, $long = FALSE) { |
function paging_filter_tips($delta, $format, $long = FALSE) { |
| 796 |
if ($long) { |
if ($long) { |
| 797 |
// Display paging help text in filter tips. |
// Display paging help text in filter tips. |
| 798 |
return '<h1>' . t('Paging Help') . '</h1>' . paging_help('admin/help#paging'); |
return '<h1>' . t('Paging Help') . '</h1>' . paging_help('admin/help#paging', array()); |
| 799 |
} |
} |
| 800 |
else { |
else { |
| 801 |
return t('Use %separator to create page breaks.', array('%separator' => $GLOBALS['_paging_sep'])); |
return t('Use %separator to create page breaks.', array('%separator' => $GLOBALS['_paging_sep'])); |