Dans certains cas, il n'y a pas encore de balise <base> dans l'en-tête. On l'ajoute...
[Plinn.git] / skins / generic / content_byline.pt
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
5 <title>Content by line</title>
6 </head>
7 <body i18n:domain="cmf_default">
8 <div id="ContentByLine" metal:define-macro="byline"
9 tal:define="creator here/Creator;
10 creatorFullName python:mtool.getMemberFullNameById(creator, nameBefore=0) ;
11 date python:here.modified();
12 modificationDate python:date.strftime('%d/%m/%Y');
13 modificationTime python:date.strftime('%Hh%M')">
14 <span tal:omit-tag="" i18n:translate="">Modified on</span> <span tal:replace="modificationDate">Today</span> <span tal:omit-tag="" i18n:translate="">at</span> <span tal:replace="modificationTime">Hour</span> – <span tal:omit-tag="" i18n:translate="">creator: </span> <span tal:content="creatorFullName">Creator</span>
15 </div>
16 </body>
17 </html>