Re: Utiliser <{cycle values="odd,even"}>"> | Titre du sujet : Re: Utiliser <{cycle values="odd,even"}>"> par moss sur 10/10/2010 12:50:39
en fait c'est dans la mise en page de mes commentaires 'system_comment.html'
J'utilise deux fois le systeme de cycle et quand je le met 2 fois, du coup aucun ne fonctionne...
<div class="comment">
<div class="comments_wrap">
<div class="col-left">
<div class="<{cycle values="inside-even,inside-odd"}>">
<p><img class="comUserImg" src="<{$xoops_upload_url}>/<{$comment.poster.avatar}>" height="50" title="<{$lang_joined}> : <{$comment.poster.regdate}> | <{$lang_from}> : <{$comment.poster.from}> | <{$lang_posts}> : <{$comment.poster.postnum}>" /></p>
<p><a id="comment<{$comment.id}>"></a><{$comment.poster.uname}></p><img class="comUserRankImg" src="<{$xoops_upload_url}>/<{$comment.poster.rank_image}>" alt="<{$comment.poster.rank_title}>" title="<{$comment.poster.rank_title}>"/><br/>
</div>
</div>
<div class="<{cycle values="col-right-even,col-right-odd"}>">
<{$comment.text}><br/><br/>
<div class="comDate"><span class="comDateCaption"><{$lang_posted}>:</span> <{$comment.date_posted}>
</div>
</div>
<div class="reply">
<{if $xoops_iscommentadmin == true}> <span class="small_button"><a href="<{$editcomment_link}>&com_id=<{$comment.id}>" title="<{$lang_edit}>"><img src="<{xoImgUrl icons/action/pencil.png}>" /> <{$lang_edit}></a></span><span class="small_button"><a href="<{$deletecomment_link}>&com_id=<{$comment.id}>" title="<{$lang_delete}>"><img src="<{xoImgUrl icons/action/delete.png}>" /> <{$lang_delete}></a></span> <span class="small_button"><a href="<{$replycomment_link}>&com_id=<{$comment.id}>" title="<{$lang_reply}>"><img src="<{xoImgUrl icons/action/comment_add.png}>" /> <{$lang_reply}></a></span><{elseif $xoops_isuser == true && $xoops_userid == $comment.poster.id}> <span class="small_button"><a href="<{$editcomment_link}>&com_id=<{$comment.id}>" title="<{$lang_edit}>"><img src="<{xoImgUrl icons/action/pencil.png}>" /> <{$lang_edit}></a></span><span class="small_button"><a href="<{$replycomment_link}>&com_id=<{$comment.id}>" title="<{$lang_reply}>"><img src="<{xoImgUrl icons/action/comment_add.png}>" /> <{$lang_reply}></a></span><{elseif $xoops_isuser == true || $anon_canpost == true}><span class="small_button"><a href="<{$replycomment_link}>&com_id=<{$comment.id}>" title="<{$lang_reply}>"><img src="<{xoImgUrl icons/action/comment_add.png}>" /> <{$lang_reply}></a></span>
<{/if}>
</div>
<div class="fix"></div>
</div>
</div>
|
|