Re: Adding Includesupport to IntegratedTemplates
| From: | Bertrand Mansion | Date: | Mon, 21 Jan 2002 17:46:33 +0000 |
| Subject: | Re: Adding Includesupport to IntegratedTemplates | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-4020@lists.php.net to get a copy of this message | ||
<mail@martin-jansen.de> wrote :
> On Wed, 9 Jan 2002 15:50:28 +0100, Christian Dickmann wrote:
>
>> I added Includesupport to IT, because I needed it for
>> one of my projects.
>> Maybe you want to integrate my change into the
>> official development version.
>>
>> I do not know how to use "diff" and my first try resultet
>> in a failure.
>>
>> Here is my change:
>>
>> Replace
>>
>> return $content;
>>
>> with
>>
>> return preg_replace("#<!-- INCLUDE (.*) -->#ime",
>> "\$this->getFile('\\1')",$content);
>>
>> in pear/HTML/IT.php function getFile()
>> around Line 788.
>
> Commited.
>
> - Martin
Isn't it why ITX (not IT) was made for ?
Bertrand Mansion
Mamasam