PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » Pager » Bug #7073

Some title tags are not changed

Details

Submitted2006-03-09 12:21 UTC
Fromanders at norrbring dot se
Assignedquipo
StatusBogus
PackagePager
PHP Version4.3.3
OSLinux
Roadmaps(Not assigned)

Comments

[2006-03-09 12:21 UTC] anders at norrbring dot se

Description:
------------
By using config parameters 'firstLinkTitle' and 'lastLinkTitle', I hoped to be able to change the title tags for the first and last pages to something more appropriate, but these two doesn't change from the default.

Test script:
---------------
$pagerOptions = array(
'mode' => 'Sliding',
'delta' => 3,
'perPage' => 2,
'linkClass' => 'pagelink',
'spacesBeforeSeparator' => 2,
'spacesAfterSeparator' => 2,
'firstPageText' => 'Första',
'lastPageText' => 'Sista',
'altPage' => 'Sida',
'altPrev' => 'Föregående sida',
'altNext' => 'Nästa sida',
'prevImg' => '<< Föregående',
'nextImg' => 'Nästa >>',
'firstLinkTitle' => 'Första',
'lastLinkTitle' => 'Sista'
);

Expected result:
----------------
<a href="/index.php?visa=guestbook&pageID=23" class="pagelink" title="Sista">[Sista]</a>

Actual result:
--------------
<a href="/index.php?visa=guestbook&pageID=23" class="pagelink" title="last page">[Sista]</a>