<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=Pager</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/20569" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18983" />
      <rdf:li rdf:resource="http://pear.php.net/bug/17309" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/20569">
      <title>Pager: Bug 20569 [Open] extraVars not used when append=false</title>
      <link>http://pear.php.net/bugs/20569</link>
      <content:encoded><![CDATA[<pre>Pager Bug
Reported by jonez
2015-07-10T14:56:12+00:00
PHP: Irrelevant OS:  Package Version: 2.4.9

Description:
------------
I'd like to have a url like &quot;/summary-1?var=foo&amp;baz=bing&quot; which should give me page 1 
with two extraVars appended, however this does not work because extraVars is 
ignored when append=false (which I need to have a %d replaced by the page number in 
the above example)</pre>]]></content:encoded>
      <description><![CDATA[<pre>Pager Bug
Reported by jonez
2015-07-10T14:56:12+00:00
PHP: Irrelevant OS:  Package Version: 2.4.9

Description:
------------
I'd like to have a url like &quot;/summary-1?var=foo&amp;baz=bing&quot; which should give me page 1 
with two extraVars appended, however this does not work because extraVars is 
ignored when append=false (which I need to have a %d replaced by the page number in 
the above example)</pre>]]></description>
      <dc:date>2015-07-10T14:58:18+00:00</dc:date>
      <dc:creator>jam &amp;#x61;&amp;#116; zoidtechnologies &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Pager Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18983">
      <title>Pager: Feature/Change Request 18983 [Assigned] Enhanced link formatting with &lt;li&gt; tags</title>
      <link>http://pear.php.net/bugs/18983</link>
      <content:encoded><![CDATA[<pre>Pager Feature/Change Request
Reported by mpgjunky
2011-11-12T02:56:03+00:00
PHP: 5.3.8 OS: Fedora 14 x64 Package Version: 2.4.8

Description:
------------
Hi,

I needed to display the paging links from Structures_Datagrid, 
using the Smarty renderer - to be 
used in an un-ordered list (&lt;ul&gt;) tag.

Therefore I needed each link wrapped inside an &lt;li&gt; tag, but I 
could not find a proper, simple 
method of achieving this. Perhaps I am wrong on this, and 
please forgive me if I am, but studying 
the code I noticed that the &lt;a&gt; tags has no pre/post options.

Therefore, I propose a little change with the introduction of an 
option:

var $_linkContainer = &quot;li&quot;;

and used like:

            return sprintf('%s&lt;a href=&quot;%s&quot;%s%s%s%s 
title=&quot;%s&quot;&gt;%s&lt;/a&gt;%s',
                           empty($this-&gt;_linkContainer) ? '' : 
'&lt;'.$this-&gt;_linkContainer.'&gt;',
                           htmlentities($this-&gt;_url . $href, 
ENT_COMPAT, 'UTF-8'),
                           empty($this-&gt;_classString) ? '' : ' '.$this-
&gt;_classString,
                           empty($this-&gt;_attributes)  ? '' : ' '.$this-
&gt;_attributes,
                           empty($this-&gt;_accesskey)   ? '' : ' 
accesskey=&quot;'.$this-&gt;_linkData[$this-
&gt;_urlVar].'&quot;',
                           empty($onclick)            ? '' : ' 
onclick=&quot;'.$onclick.'&quot;',
                           $altText,
                           $linkText,
                           empty($this-&gt;_linkContainer) ? '' : 
'&lt;/'.$this-&gt;_linkContainer.'&gt;'
            );

Furthermore, I would go as far as saying that the placing the 
'current page class' in a &lt;span&gt; tag 
is a little too rigid, and the code does not allow for a flexible 
approach like having in the &lt;a&gt; tag 
instead. The net result I was look for was something like:

&lt;ul&gt;
  &lt;li&gt;&lt;a&gt;1&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a class=&quot;current&quot;&gt;2&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

Alternatively, instead of using {getPaging} to output the links, 
why not have a {getLinks} smarty 
registered function, like in Pager-&gt;getLinks()? That way one 
could output them as one pleases.

If I am wrong in any, please ignore this feature request and 
accept my apologies. If there's a way 
of achieving the desired result that I may have missed, I 
would love to hear about it, and once 
again please accept my apologies.

Thanks,
Michael.

Test script:
---------------
{getPaging prevImg=&quot;&lt; Prev&quot; nextImg=&quot;Next &gt;&quot; separator=&quot;&quot; altPrev=&quot;Previous&quot; }

...in any smarty template


Expected result:
----------------
&lt;ul&gt;
  &lt;li&gt;&lt;a&gt;1&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a class=&quot;current&quot;&gt;2&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


Actual result:
--------------
&lt;b&gt;1&lt;/b&gt;Â |Â &lt;a href=&quot;blah&quot;&gt;2&lt;/a&gt;

the standard pager output.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Pager Feature/Change Request
Reported by mpgjunky
2011-11-12T02:56:03+00:00
PHP: 5.3.8 OS: Fedora 14 x64 Package Version: 2.4.8

Description:
------------
Hi,

I needed to display the paging links from Structures_Datagrid, 
using the Smarty renderer - to be 
used in an un-ordered list (&lt;ul&gt;) tag.

Therefore I needed each link wrapped inside an &lt;li&gt; tag, but I 
could not find a proper, simple 
method of achieving this. Perhaps I am wrong on this, and 
please forgive me if I am, but studying 
the code I noticed that the &lt;a&gt; tags has no pre/post options.

Therefore, I propose a little change with the introduction of an 
option:

var $_linkContainer = &quot;li&quot;;

and used like:

            return sprintf('%s&lt;a href=&quot;%s&quot;%s%s%s%s 
title=&quot;%s&quot;&gt;%s&lt;/a&gt;%s',
                           empty($this-&gt;_linkContainer) ? '' : 
'&lt;'.$this-&gt;_linkContainer.'&gt;',
                           htmlentities($this-&gt;_url . $href, 
ENT_COMPAT, 'UTF-8'),
                           empty($this-&gt;_classString) ? '' : ' '.$this-
&gt;_classString,
                           empty($this-&gt;_attributes)  ? '' : ' '.$this-
&gt;_attributes,
                           empty($this-&gt;_accesskey)   ? '' : ' 
accesskey=&quot;'.$this-&gt;_linkData[$this-
&gt;_urlVar].'&quot;',
                           empty($onclick)            ? '' : ' 
onclick=&quot;'.$onclick.'&quot;',
                           $altText,
                           $linkText,
                           empty($this-&gt;_linkContainer) ? '' : 
'&lt;/'.$this-&gt;_linkContainer.'&gt;'
            );

Furthermore, I would go as far as saying that the placing the 
'current page class' in a &lt;span&gt; tag 
is a little too rigid, and the code does not allow for a flexible 
approach like having in the &lt;a&gt; tag 
instead. The net result I was look for was something like:

&lt;ul&gt;
  &lt;li&gt;&lt;a&gt;1&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a class=&quot;current&quot;&gt;2&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

Alternatively, instead of using {getPaging} to output the links, 
why not have a {getLinks} smarty 
registered function, like in Pager-&gt;getLinks()? That way one 
could output them as one pleases.

If I am wrong in any, please ignore this feature request and 
accept my apologies. If there's a way 
of achieving the desired result that I may have missed, I 
would love to hear about it, and once 
again please accept my apologies.

Thanks,
Michael.

Test script:
---------------
{getPaging prevImg=&quot;&lt; Prev&quot; nextImg=&quot;Next &gt;&quot; separator=&quot;&quot; altPrev=&quot;Previous&quot; }

...in any smarty template


Expected result:
----------------
&lt;ul&gt;
  &lt;li&gt;&lt;a&gt;1&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a class=&quot;current&quot;&gt;2&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


Actual result:
--------------
&lt;b&gt;1&lt;/b&gt;Â |Â &lt;a href=&quot;blah&quot;&gt;2&lt;/a&gt;

the standard pager output.</pre>]]></description>
      <dc:date>2012-03-19T11:03:52+00:00</dc:date>
      <dc:creator>michael &amp;#x61;&amp;#116; stellarent &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Pager Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/17309">
      <title>Pager: Bug 17309 [Open] Improper url-encoding for POST forms</title>
      <link>http://pear.php.net/bugs/17309</link>
      <content:encoded><![CDATA[<pre>Pager Bug
Reported by alexander_jayson
2010-04-13T16:48:01+00:00
PHP: 4.3.9 OS: RHEL 4 Package Version: 2.4.8

Description:
------------
When creating paging with httpMethod = POST the imported submitted data (if importQuery is true, which it is by default) is url encoded erroneously if it contains a % character.

Test script:
---------------
Set param 'httpMethod' =&gt; 'POST'
'importQuery' must also be true, but it is by default

Then issue the links ($pager-&gt;getLinks();) for a multi-page result

If $_POST['test'] contained &quot;1%&quot; for example, the resulting JS code generated will be:
input.value = &quot;1%25&quot;;

Expected result:
----------------
Expected value would be input.value = &quot;1%&quot;;</pre>]]></content:encoded>
      <description><![CDATA[<pre>Pager Bug
Reported by alexander_jayson
2010-04-13T16:48:01+00:00
PHP: 4.3.9 OS: RHEL 4 Package Version: 2.4.8

Description:
------------
When creating paging with httpMethod = POST the imported submitted data (if importQuery is true, which it is by default) is url encoded erroneously if it contains a % character.

Test script:
---------------
Set param 'httpMethod' =&gt; 'POST'
'importQuery' must also be true, but it is by default

Then issue the links ($pager-&gt;getLinks();) for a multi-page result

If $_POST['test'] contained &quot;1%&quot; for example, the resulting JS code generated will be:
input.value = &quot;1%25&quot;;

Expected result:
----------------
Expected value would be input.value = &quot;1%&quot;;</pre>]]></description>
      <dc:date>2010-04-13T16:48:01+00:00</dc:date>
      <dc:creator>alexander &amp;#x64;&amp;#111;&amp;#x74; jayson &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Pager Bug</dc:subject>
    </item>
</rdf:RDF>
