Re: date module news | Titre du sujet : Re: date module news par grosdunord sur 27/11/2010 10:37:51
bin dans le template news pc je n'y et pas toucher par contre dans le template mobile non il n'y a plus de smarty now:
voici le template mobile new_items.html
<table cellpadding="0" cellspacing="0" class="item">
<tr>
<td>
<table cellpadding="0" cellspacing="0" width="98%">
<tr>
<td class="itemHead">
<span class="itemTitle">
<{$story.topic_title}> : <{$story.news_title}>
</span>
</td>
</tr>
<tr>
<td class="itemInfo"><span class="mois"><{$story.posttime|date_format:"%b"}></span><span class="jour"><{$story.posttime|date_format:"%e"}></span></td>
</tr>
<tr>
<td class="itemBody"><{$story.imglink}><p class="itemText"><{$story.text}></p></td>
</tr>
<tr>
<td class="itemFoot"><span class="itemAdminLink"><{$story.adminlink}></span><{if $rates}><b><{$lang_ratingc}></b> <{$story.rating}> (<{$story.votes}>) - <a href="<{$xoops_url}>/modules/news/ratenews.php?storyid=<{$story.id}>" rel="nofollow"><{$lang_ratethisnews}></a> - <{/if}><span class="itemPermaLink"><{$story.morelink}></span></td>
</tr>
</table>
</td>
</tr>
</table>
le truc c'est que la date reste celle du jour ou on et si demain je vais dessus les date seront a celle de demain auinsi de suite
|
|