<?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_Template_IT</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/23764" />
      <rdf:li rdf:resource="http://pear.php.net/bug/21056" />
      <rdf:li rdf:resource="http://pear.php.net/bug/20571" />
      <rdf:li rdf:resource="http://pear.php.net/bug/17877" />
      <rdf:li rdf:resource="http://pear.php.net/bug/12813" />

     </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/23764">
      <title>HTML_Template_IT: Bug 23764 [Open] Contains deprecated each()</title>
      <link>http://pear.php.net/bugs/23764</link>
      <content:encoded><![CDATA[<pre>HTML_Template_IT Bug
Reported by tonymarston
2018-09-02T10:04:02+00:00
PHP: Irrelevant OS: Windows 10 Package Version: 1.3.1

Description:
------------
Script HTML/template/itx.php contains each() which is deprecated in PHP 7.2 and needs t be replaced for 7.3</pre>]]></content:encoded>
      <description><![CDATA[<pre>HTML_Template_IT Bug
Reported by tonymarston
2018-09-02T10:04:02+00:00
PHP: Irrelevant OS: Windows 10 Package Version: 1.3.1

Description:
------------
Script HTML/template/itx.php contains each() which is deprecated in PHP 7.2 and needs t be replaced for 7.3</pre>]]></description>
      <dc:date>2018-09-02T10:04:02+00:00</dc:date>
      <dc:creator>tony &amp;#x61;&amp;#116; marston-home &amp;#x64;&amp;#111;&amp;#x74; demon &amp;#x64;&amp;#111;&amp;#x74; co &amp;#x64;&amp;#111;&amp;#x74; uk</dc:creator>
      <dc:subject>HTML_Template_IT Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/21056">
      <title>HTML_Template_IT: Documentation Problem 21056 [Open] Minor fault in Introduction</title>
      <link>http://pear.php.net/bugs/21056</link>
      <content:encoded><![CDATA[<pre>HTML_Template_IT Documentation Problem
Reported by chrissharkman
2016-04-22T06:05:08+00:00
PHP: Irrelevant OS: Mac Package Version: 1.3.0

Description:
------------
The script example in Introduction contains

$tpl-&gt;parseCurrentBlock(&quot;cell&quot;) ;

where as parseCurrentBlock() does not take any arguments. So it 
should be

$tpl-&gt;parseCurrentBlock();</pre>]]></content:encoded>
      <description><![CDATA[<pre>HTML_Template_IT Documentation Problem
Reported by chrissharkman
2016-04-22T06:05:08+00:00
PHP: Irrelevant OS: Mac Package Version: 1.3.0

Description:
------------
The script example in Introduction contains

$tpl-&gt;parseCurrentBlock(&quot;cell&quot;) ;

where as parseCurrentBlock() does not take any arguments. So it 
should be

$tpl-&gt;parseCurrentBlock();</pre>]]></description>
      <dc:date>2016-04-22T06:05:08+00:00</dc:date>
      <dc:creator>ch &amp;#x64;&amp;#111;&amp;#x74; sharkman &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>HTML_Template_IT Documentation Problem</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/20571">
      <title>HTML_Template_IT: Bug 20571 [Open] ITX function call in block</title>
      <link>http://pear.php.net/bugs/20571</link>
      <content:encoded><![CDATA[<pre>HTML_Template_IT Bug
Reported by petermacko
2015-07-14T13:08:38+00:00
PHP: 5.6.3 OS: Windows (IIS) Package Version: 1.3.0

Description:
------------
Im using ITX template HTML maker. I would like to use functions in html 
templates implemented in ITX classfile. But my problem is that function 
work only in 
main template. But I would like to use function calls in blockfile calls. 
When i add function to block file which is included in main template 
function is not called 
and in content is still function name and parameter. 

This is my code:

$this-&gt;tpl = new HTML_Template_ITX();

$this-&gt;tpl-&gt;loadTemplatefile(&quot;index.tpl.php&quot;, true, true);
$this-&gt;tpl-&gt;addBlockfile(&quot;CONTENT&quot;, &quot;CONTENT&quot;, 
&quot;doch_kalendar.tpl.php&quot;);
		
$this-&gt;tpl-&gt;setCallbackFunction('t', 't'); 
$this-&gt;tpl-&gt;performCallback();
        
in the doch_kalendar.tpl.php i have this statement:

func_t(&quot;previousperiod&quot;)
&lt;b&gt;some html code&lt;/b&gt;

If i add this statement: func_t(&quot;previousperiod&quot;) to index.tpl.php function 
in this template is called.


Test script:
---------------
$this-&gt;tpl = new HTML_Template_ITX();

$this-&gt;tpl-&gt;loadTemplatefile(&quot;index.tpl.php&quot;, true, true);
$this-&gt;tpl-&gt;addBlockfile(&quot;CONTENT&quot;, &quot;CONTENT&quot;, &quot;doch_kalendar.tpl.php&quot;);
		
$this-&gt;tpl-&gt;setCallbackFunction('t', 't'); 
$this-&gt;tpl-&gt;performCallback();

Expected result:
----------------
.....index.tpl.php content before......


Previous period
&lt;b&gt;some html code&lt;/b&gt;


....index.tpl.php content after.....

Actual result:
--------------
.....index.tpl.php content before......


func_t(&quot;previousperiod&quot;)
&lt;b&gt;some html code&lt;/b&gt;


....index.tpl.php content after.....</pre>]]></content:encoded>
      <description><![CDATA[<pre>HTML_Template_IT Bug
Reported by petermacko
2015-07-14T13:08:38+00:00
PHP: 5.6.3 OS: Windows (IIS) Package Version: 1.3.0

Description:
------------
Im using ITX template HTML maker. I would like to use functions in html 
templates implemented in ITX classfile. But my problem is that function 
work only in 
main template. But I would like to use function calls in blockfile calls. 
When i add function to block file which is included in main template 
function is not called 
and in content is still function name and parameter. 

This is my code:

$this-&gt;tpl = new HTML_Template_ITX();

$this-&gt;tpl-&gt;loadTemplatefile(&quot;index.tpl.php&quot;, true, true);
$this-&gt;tpl-&gt;addBlockfile(&quot;CONTENT&quot;, &quot;CONTENT&quot;, 
&quot;doch_kalendar.tpl.php&quot;);
		
$this-&gt;tpl-&gt;setCallbackFunction('t', 't'); 
$this-&gt;tpl-&gt;performCallback();
        
in the doch_kalendar.tpl.php i have this statement:

func_t(&quot;previousperiod&quot;)
&lt;b&gt;some html code&lt;/b&gt;

If i add this statement: func_t(&quot;previousperiod&quot;) to index.tpl.php function 
in this template is called.


Test script:
---------------
$this-&gt;tpl = new HTML_Template_ITX();

$this-&gt;tpl-&gt;loadTemplatefile(&quot;index.tpl.php&quot;, true, true);
$this-&gt;tpl-&gt;addBlockfile(&quot;CONTENT&quot;, &quot;CONTENT&quot;, &quot;doch_kalendar.tpl.php&quot;);
		
$this-&gt;tpl-&gt;setCallbackFunction('t', 't'); 
$this-&gt;tpl-&gt;performCallback();

Expected result:
----------------
.....index.tpl.php content before......


Previous period
&lt;b&gt;some html code&lt;/b&gt;


....index.tpl.php content after.....

Actual result:
--------------
.....index.tpl.php content before......


func_t(&quot;previousperiod&quot;)
&lt;b&gt;some html code&lt;/b&gt;


....index.tpl.php content after.....</pre>]]></description>
      <dc:date>2015-07-14T13:08:38+00:00</dc:date>
      <dc:creator>pmacko &amp;#x61;&amp;#116; outlook &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>HTML_Template_IT Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/17877">
      <title>HTML_Template_IT: Bug 17877 [Verified] Not always replacing placeholders in added blocktemplates</title>
      <link>http://pear.php.net/bugs/17877</link>
      <content:encoded><![CDATA[<pre>HTML_Template_IT Bug
Reported by asheidan
2010-09-21T02:11:44+00:00
PHP: 5.3.2 OS: MacOSX (probably all) Package Version: 1.3.0

Description:
------------
When adding another template with addBlockfile placeholders 
aren't replaced as they should. If a placeholder is present in both 
of the templates it's only replaced in the &quot;outer&quot; template.

Test script:
---------------
### outer.tpl #########
List:
&lt;!-- BEGIN ITEM --&gt;
 * {bar}
&lt;!-- END ITEM --&gt;
{foo}

### inner.tpl #########
{foo} lorem ipsum

### script.php #########
require_once('HTML/Template/ITX.php');

$tpl = new HTML_Template_ITX();

$tpl-&gt;loadTemplateFile('outer.tpl');

$tpl-&gt;addBlockfile('bar','INNER','inner.tpl');

$tpl-&gt;setCurrentBlock();
$tpl-&gt;setVariable('foo',&quot;monkey&quot;);

$tpl-&gt;show();


Expected result:
----------------
List:

 * monkey lorem ipsum

monkey

Actual result:
--------------
List:

monkey</pre>]]></content:encoded>
      <description><![CDATA[<pre>HTML_Template_IT Bug
Reported by asheidan
2010-09-21T02:11:44+00:00
PHP: 5.3.2 OS: MacOSX (probably all) Package Version: 1.3.0

Description:
------------
When adding another template with addBlockfile placeholders 
aren't replaced as they should. If a placeholder is present in both 
of the templates it's only replaced in the &quot;outer&quot; template.

Test script:
---------------
### outer.tpl #########
List:
&lt;!-- BEGIN ITEM --&gt;
 * {bar}
&lt;!-- END ITEM --&gt;
{foo}

### inner.tpl #########
{foo} lorem ipsum

### script.php #########
require_once('HTML/Template/ITX.php');

$tpl = new HTML_Template_ITX();

$tpl-&gt;loadTemplateFile('outer.tpl');

$tpl-&gt;addBlockfile('bar','INNER','inner.tpl');

$tpl-&gt;setCurrentBlock();
$tpl-&gt;setVariable('foo',&quot;monkey&quot;);

$tpl-&gt;show();


Expected result:
----------------
List:

 * monkey lorem ipsum

monkey

Actual result:
--------------
List:

monkey</pre>]]></description>
      <dc:date>2010-10-03T22:20:40+00:00</dc:date>
      <dc:creator>asheidan &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>HTML_Template_IT Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/12813">
      <title>HTML_Template_IT: Feature/Change Request 12813 [Assigned] Make setOption() useful, or provide accessors</title>
      <link>http://pear.php.net/bugs/12813</link>
      <content:encoded><![CDATA[<pre>HTML_Template_IT Feature/Change Request
Reported by obw
2008-01-03T00:13:01+00:00
PHP: 5.2.5 OS: all Package Version: 1.2.1

Description:
------------
setOption() does not work as advertised in the documentation. In fact, all options given in the docs must be accessed as public properties of the object instead.

setOption() supports only two options not documented, which can be seen in lines 354 ff. of IT.php, named preserve_data and use_preg.



Test script:
---------------
$tpl= new HTML_Template_IT();
// throws error and does not work
tpl-&gt;setOption('removeEmptyBlocks', false);

// instead use:
$tpl-&gt;removeEmptyBlocks = false;</pre>]]></content:encoded>
      <description><![CDATA[<pre>HTML_Template_IT Feature/Change Request
Reported by obw
2008-01-03T00:13:01+00:00
PHP: 5.2.5 OS: all Package Version: 1.2.1

Description:
------------
setOption() does not work as advertised in the documentation. In fact, all options given in the docs must be accessed as public properties of the object instead.

setOption() supports only two options not documented, which can be seen in lines 354 ff. of IT.php, named preserve_data and use_preg.



Test script:
---------------
$tpl= new HTML_Template_IT();
// throws error and does not work
tpl-&gt;setOption('removeEmptyBlocks', false);

// instead use:
$tpl-&gt;removeEmptyBlocks = false;</pre>]]></description>
      <dc:date>2010-03-03T04:53:55+00:00</dc:date>
      <dc:creator>obw &amp;#x61;&amp;#116; amarok &amp;#x64;&amp;#111;&amp;#x74; ping &amp;#x64;&amp;#111;&amp;#x74; de</dc:creator>
      <dc:subject>HTML_Template_IT Feature/Change Request</dc:subject>
    </item>
</rdf:RDF>
