Home » HTML » Pager » Bug #7243
spacesAfterSeparator and spacesBeforeSeparator are not Working
Details
| Submitted | 2006-03-29 10:30 UTC |
|---|---|
| From | jmzeag at yahoo dot es |
| Assigned | quipo |
| Status | Bogus |
| Package | Pager |
| PHP Version | 5.0.0 |
| OS | Windows XP |
| Roadmaps | (Not assigned) |
Comments
[2006-03-29 10:30 UTC] jmzeag at yahoo dot es
Description:
------------
I´m defining these two properties with 0 spaces but it´s not working and the package renders always 3 spaces after the separator, that is defined as ''.
Test script:
---------------
define('SEPARATOR', '');
define('SPACES_SEPARATOR',0);
define('CUR_PAGE_LINK_CLASS_NAME', 'curNumber');
$params = array('spacesAfterSeparator ' => SPACES_SEPARATOR,
'spacesBeforeSeparator' => SPACES_SEPARATOR 'separator' => SEPARATOR,
'curPageLinkClassName' => CUR_PAGE_LINK_CLASS_NAME);
Expected result:
----------------
<a href='javascript:void(0)' onclick='var form = document.getElementById("fFiltro"); var input = ""; form.action = "/brick/www/index.php?action=list&table=inmuebles"; form.method = "POST"; input = document.createElement("input"); input.type = "hidden"; input.name = "pageid"; input.value = "1"; form.appendChild(input); form.submit(); return false;' title='page 1'>1</a> <span class="curNumber">2</span>
Actual result:
--------------
<a href='javascript:void(0)' onclick='var form = document.getElementById("fFiltro"); var input = ""; form.action = "/brick/www/index.php?action=list&table=inmuebles"; form.method = "POST"; input = document.createElement("input"); input.type = "hidden"; input.name = "pageid"; input.value = "1"; form.appendChild(input); form.submit(); return false;' title='page 1'>1</a> <span class="curNumber">2</span>
[2006-03-30 08:10 UTC] jmzeag at yahoo dot es
Ooops! Sorry for the mistake. Sometimes when I code I´m so blind.
Thank you.