Mercurial > defr > templates
annotate blog_post.xml @ 17:d4ac7cef0cdd
Recherche du fichier de template dans le path.
Cela permet de définir proprement un include_path en début de script,
et de ne préciser que le nom du fichier template en paramètre du
constructeur.
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Wed, 24 Oct 2007 20:49:32 +0200 |
parents | 673d9845fc16 |
children |
rev | line source |
---|---|
webmaster@13 | 1 <?xml version='1.0' encoding='utf-8'?> |
webmaster@13 | 2 <div class='PostContent Weird' |
webmaster@13 | 3 xmlns='http://www.w3.org/1999/xhtml' |
webmaster@13 | 4 xmlns:tr='http://defr.net/2007/template' |
webmaster@13 | 5 tr:id='post'> |
webmaster@13 | 6 <h2><tr:postTitle /> | <span class='Date'><tr:postDate /></span></h2> |
webmaster@13 | 7 <img tr:id='mood' class='mood' /> |
webmaster@13 | 8 |
webmaster@13 | 9 <tr:postContent /> |
webmaster@13 | 10 |
webmaster@13 | 11 <p class='postInfos'> |
webmaster@13 | 12 <span class='Tags'><em>Tags</em> : <tr:postTags /></span><br /> |
webmaster@13 | 13 <a href="/blog/posts/321-Une_nuit_en_Corail_Lunea"><tr:postNumber /></a> - |
webmaster@13 | 14 <a href="/blog/posts/321-Une_nuit_en_Corail_Lunea"><tr:postComments /></a> |
webmaster@13 | 15 </p> |
webmaster@13 | 16 </div> |