Fork me on GitHub

Rapport de message :*
 

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}><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
Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

128 Personne(s) en ligne (111 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 128 | Plus ...