<?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=HTML_QuickForm_CAPTCHA</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/15692" />
      <rdf:li rdf:resource="http://pear.php.net/bug/10042" />

     </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/15692">
      <title>HTML_QuickForm_CAPTCHA: Feature/Change Request 15692 [Open] Be able to specify an alt attribute</title>
      <link>http://pear.php.net/bugs/15692</link>
      <content:encoded><![CDATA[<pre>HTML_QuickForm_CAPTCHA Feature/Change Request
Reported by raziel057
2009-01-20T17:50:10+00:00
PHP: 5.2.6 OS: Win XP Package Version: 0.3.0

Description:
------------
Currently, it's not possible to add an &quot;Alt&quot; attribute in the image tag.

In the chass HTML_QuickForm_CAPTCHA_Image 

function toHtml() {
....
$html = $tabs.'&lt;a href=&quot;'.$this-&gt;_options['callback']
   .'&quot; target=&quot;_blank&quot; '
   .$this-&gt;_getAttrString($attr)
   .' onclick=&quot;var cancelClick = false; '
   .$this-&gt;getOnclickJs($imgName)
   .' return !cancelClick;&quot;&gt;&lt;img src=&quot;'
   .$this-&gt;_options['callback'].'&quot; name=&quot;'.$imgName
   .'&quot; id=&quot;'.$imgName.'&quot; width=&quot;'.$this-&gt;_options['width']
   .'&quot; height=&quot;'.$this-&gt;_options['height'].'&quot; title=&quot;'
   .htmlspecialchars($this-&gt;_options['alt']).'&quot; /&gt;&lt;/a&gt;';
...
}

$this-&gt;_options['alt'] is only used for the attribute &quot;title&quot;.

Could you please add the tag &quot;alt&quot;. To be xhtml 1.0 compliant the attribute &quot;alt&quot; must be specified in the tag &quot;img&quot;.

Thanks

Test script:
---------------
$options = array(
	'alt'	=&gt; 'test',
	'width'	=&gt; 205,
        'height'	=&gt; 80,
	'output'	=&gt; 'png',
	'callback'	=&gt; ...
);

Expected result:
----------------
&lt;img id=&quot;QF_CAPTCHA_captcha_question&quot; height=&quot;80&quot; width=&quot;205&quot; title=&quot;test&quot; alt=&quot;test&quot; name=&quot;QF_CAPTCHA_captcha_question&quot; src=&quot;qfcaptcha_image.php?var=Compte.class&quot;/&gt;

Actual result:
--------------
&lt;img id=&quot;QF_CAPTCHA_captcha_question&quot; height=&quot;80&quot; width=&quot;205&quot; title=&quot;test&quot; name=&quot;QF_CAPTCHA_captcha_question&quot; src=&quot;qfcaptcha_image.php?var=Compte.class&quot;/&gt;</pre>]]></content:encoded>
      <description><![CDATA[<pre>HTML_QuickForm_CAPTCHA Feature/Change Request
Reported by raziel057
2009-01-20T17:50:10+00:00
PHP: 5.2.6 OS: Win XP Package Version: 0.3.0

Description:
------------
Currently, it's not possible to add an &quot;Alt&quot; attribute in the image tag.

In the chass HTML_QuickForm_CAPTCHA_Image 

function toHtml() {
....
$html = $tabs.'&lt;a href=&quot;'.$this-&gt;_options['callback']
   .'&quot; target=&quot;_blank&quot; '
   .$this-&gt;_getAttrString($attr)
   .' onclick=&quot;var cancelClick = false; '
   .$this-&gt;getOnclickJs($imgName)
   .' return !cancelClick;&quot;&gt;&lt;img src=&quot;'
   .$this-&gt;_options['callback'].'&quot; name=&quot;'.$imgName
   .'&quot; id=&quot;'.$imgName.'&quot; width=&quot;'.$this-&gt;_options['width']
   .'&quot; height=&quot;'.$this-&gt;_options['height'].'&quot; title=&quot;'
   .htmlspecialchars($this-&gt;_options['alt']).'&quot; /&gt;&lt;/a&gt;';
...
}

$this-&gt;_options['alt'] is only used for the attribute &quot;title&quot;.

Could you please add the tag &quot;alt&quot;. To be xhtml 1.0 compliant the attribute &quot;alt&quot; must be specified in the tag &quot;img&quot;.

Thanks

Test script:
---------------
$options = array(
	'alt'	=&gt; 'test',
	'width'	=&gt; 205,
        'height'	=&gt; 80,
	'output'	=&gt; 'png',
	'callback'	=&gt; ...
);

Expected result:
----------------
&lt;img id=&quot;QF_CAPTCHA_captcha_question&quot; height=&quot;80&quot; width=&quot;205&quot; title=&quot;test&quot; alt=&quot;test&quot; name=&quot;QF_CAPTCHA_captcha_question&quot; src=&quot;qfcaptcha_image.php?var=Compte.class&quot;/&gt;

Actual result:
--------------
&lt;img id=&quot;QF_CAPTCHA_captcha_question&quot; height=&quot;80&quot; width=&quot;205&quot; title=&quot;test&quot; name=&quot;QF_CAPTCHA_captcha_question&quot; src=&quot;qfcaptcha_image.php?var=Compte.class&quot;/&gt;</pre>]]></description>
      <dc:date>2009-02-08T18:17:07+00:00</dc:date>
      <dc:creator>lallement &amp;#x61;&amp;#116; pt-consulting &amp;#x64;&amp;#111;&amp;#x74; lu</dc:creator>
      <dc:subject>HTML_QuickForm_CAPTCHA Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/10042">
      <title>HTML_QuickForm_CAPTCHA: Documentation Problem 10042 [Open] Suggestion for new users</title>
      <link>http://pear.php.net/bugs/10042</link>
      <content:encoded><![CDATA[<pre>HTML_QuickForm_CAPTCHA Documentation Problem
Reported by alex@...
2007-02-07T06:45:27+00:00
PHP: 4.3.11 OS: *nix Package Version: 0.2.1

Description:
------------
For new users testing/experimenting with the HTML_QuickForm_CAPTCHA package and the Image function:

Be aware that the $options array, which contains your font_path , font_file and so on, is stored as Session data.

So if you are changing any of the $options values (i.e. the font file), make sure you clear your session data - i.e. close the browser, or clear your cookies, otherwise, you won't see any changes.

Also, if you are having difficulties getting your image to display, below is an adjusted version of the sample qfcaptcha_form_image.php script which echo's the session data to a text file. It was helpful for me, I hope it can be helpful for someone else. 

Test script:
---------------
http://blog.akb.com.au/files/code/qfcaptcha_form_image.php.txt</pre>]]></content:encoded>
      <description><![CDATA[<pre>HTML_QuickForm_CAPTCHA Documentation Problem
Reported by alex@...
2007-02-07T06:45:27+00:00
PHP: 4.3.11 OS: *nix Package Version: 0.2.1

Description:
------------
For new users testing/experimenting with the HTML_QuickForm_CAPTCHA package and the Image function:

Be aware that the $options array, which contains your font_path , font_file and so on, is stored as Session data.

So if you are changing any of the $options values (i.e. the font file), make sure you clear your session data - i.e. close the browser, or clear your cookies, otherwise, you won't see any changes.

Also, if you are having difficulties getting your image to display, below is an adjusted version of the sample qfcaptcha_form_image.php script which echo's the session data to a text file. It was helpful for me, I hope it can be helpful for someone else. 

Test script:
---------------
http://blog.akb.com.au/files/code/qfcaptcha_form_image.php.txt</pre>]]></description>
      <dc:date>2007-02-15T15:57:26+00:00</dc:date>
      <dc:creator>alex &amp;#x61;&amp;#116; akb &amp;#x64;&amp;#111;&amp;#x74; com &amp;#x64;&amp;#111;&amp;#x74; au</dc:creator>
      <dc:subject>HTML_QuickForm_CAPTCHA Documentation Problem</dc:subject>
    </item>
</rdf:RDF>
