Re: [PHPTAL] How to uses correctly PHPTAL to limit the copy/paste of XHTML ?

2008-04-25 Thread Guillaume Lecanu
Le jeudi 24 avril 2008 à 23:31 +0200, Thomas Müller a écrit : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Guillaume Lecanu schrieb: > > Le mercredi 23 avril 2008 à 17:49 +0200, Christoph Frick a écrit : > > > >> On Wed, Apr 23, 2008 at 05:07:47PM +0200, Guillaume Lecanu wrote: > >> > >

Re: [PHPTAL] How to uses correctly PHPTAL to limit the copy/paste of XHTML ?

2008-04-24 Thread Thomas Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Guillaume Lecanu schrieb: > Le mercredi 23 avril 2008 à 17:49 +0200, Christoph Frick a écrit : > >> On Wed, Apr 23, 2008 at 05:07:47PM +0200, Guillaume Lecanu wrote: >> >> >>> Like index.php and about.php have the same menu, I have added a >>> /templa

Re: [PHPTAL] How to uses correctly PHPTAL to limit the copy/paste of XHTML ?

2008-04-23 Thread Guillaume Lecanu
Le mercredi 23 avril 2008 à 17:49 +0200, Christoph Frick a écrit : > On Wed, Apr 23, 2008 at 05:07:47PM +0200, Guillaume Lecanu wrote: > > > > Like index.php and about.php have the same menu, I have added a > > /templates/macros.html page. In this macros.html, I have added the > > menu div wit

Re: [PHPTAL] How to uses correctly PHPTAL to limit the copy/paste of XHTML ?

2008-04-23 Thread Christoph Frick
On Wed, Apr 23, 2008 at 05:07:47PM +0200, Guillaume Lecanu wrote: > Like index.php and about.php have the same menu, I have added a > /templates/macros.html page. In this macros.html, I have added the > menu div with the attribute metal:define-macro="menu". In the 2 > others templates pages, I

[PHPTAL] How to uses correctly PHPTAL to limit the copy/paste of XHTML ?

2008-04-23 Thread Guillaume Lecanu
Hi, I'm trying to works with PHPTAL since 2/3 days only. And I would like to explain how I uses it, to permit to the PHPTAL team to tell me if I'm wrong. Example of a very small site : /index.php <= a simple homepage /about.php <= a simple page So I have 2 templates : /templates/index.php /tem