Update of /cvsroot/xoops/xoops2/modules/system/templates In directory sc8-pr-cvs1:/tmp/cvs-serv22595/modules/system/templates Added Files: system_comment.html system_comments_flat.html system_comments_nest.html system_comments_thread.html Log Message: initial upload --- NEW FILE: system_comment.html --- <!-- start comment post --> <tr> <td class="head"><a id="newscomment<{$comment.id}>"></a> <{$comment.poster.uname}></td> <td class="head"><div class="comDate"><span class="comDateCaption"><{$lang_posted}>:</span> <{$comment.date_posted}> <span class="comDateCaption"><{$lang_updated}>:</span> <{$comment.date_modified}></div></td> </tr> <tr> <{if $comment.poster.id != 0}> <td class="odd"><div class="comUserRank"><div class="comUserRankText"><{$comment.poster.rank_title}></div><img class="comUserRankImg" src="<{$xoops_url}>/uploads/<{$comment.poster.rank_image}>" alt="" /></div><img class="comUserImg" src="<{$xoops_url}>/uploads/<{$comment.poster.avatar}>" alt="" /><div class="comUserStat"><span class="comUserStatCaption"><{$lang_joined}>:</span> <{$comment.poster.regdate}></div><div class="comUserStat"><span class="comUserStatCaption"><{$lang_from}>:</span> <{$comment.poster.from}></div><div class="comUserStat"><span class="comUserStatCaption"><{$lang_posts}>:</span> <{$comment.poster.postnum}></div><div class="comUserStatus"><{$comment.poster.status}></div></td> <{else}> <td class="odd"> </td> <{/if}> <td class="odd"> <div class="comTitle"><{$comment.image}><{$comment.title}></div><div class="comText"><{$comment.text}></div> </td> </tr> <tr> <td class="even"></td> <{if $xoops_isadmin == true}> <td class="even" align="right"> <a href="comment_edit.php?com_itemid=<{$comment.itemid}>&com_id=<{$comment.id}>&com_mode=<{$comment_mode}>&com_order=<{$comment_order}>"><img src="<{$xoops_url}>/images/icons/edit.gif" alt="<{$lang_edit}>" /></a><a href="comment_delete.php?com_itemid=<{$comment.itemid}>&com_id=<{$comment.id}>&com_mode=<{$comment_mode}>&com_order=<{$comment_order}>"><img src="<{$xoops_url}>/images/icons/delete.gif" alt="<{$lang_delete}>" /></a><a href="comment_reply.php?com_itemid=<{$comment.itemid}>&com_id=<{$comment.id}>&com_mode=<{$comment_mode}>&com_order=<{$comment_order}>"><img src="<{$xoops_url}>/images/icons/reply.gif" alt="<{$lang_reply}>" /></a> </td> <{elseif $xoops_isuser == true && $xoops_userid == $comment.poster.id}> <td class="even" align="right"> <a href="comment_edit.php?com_itemid=<{$comment.itemid}>&com_id=<{$comment.id}>&com_mode=<{$comment_mode}>&com_order=<{$comment_order}>"><img src="<{$xoops_url}>/images/icons/edit.gif" alt="<{$lang_edit}>" /></a><a href="comment_reply.php?com_itemid=<{$comment.itemid}>&com_id=<{$comment.id}>&com_mode=<{$comment_mode}>&com_order=<{$comment_order}>"><img src="<{$xoops_url}>/images/icons/reply.gif" alt="<{$lang_reply}>" /></a> </td> <{elseif $xoops_isuser == true || $anon_canpost == true}> <td class="even" align="right"> <a href="comment_reply.php?com_itemid=<{$comment.itemid}>&com_id=<{$comment.id}>&com_mode=<{$comment_mode}>&com_order=<{$comment_order}>"><img src="<{$xoops_url}>/images/icons/reply.gif" alt="<{$lang_reply}>" /></a> </td> <{else}> <td class="even"> </td> <{/if}> </tr> <!-- end comment post --> --- NEW FILE: system_comments_flat.html --- <table class="outer" cellpadding="5" cellspacing="1"> <tr> <th width="20%"><{$lang_poster}></td> <th><{$lang_thread}></td> </tr> <{foreach item=comment from=$comments}> <{include file="db:system_comment.html" comment=$comment}> <{/foreach}> </table> --- NEW FILE: system_comments_nest.html --- <{section name=i loop=$comments}> <br /> <table cellspacing="1" class="outer"> <tr> <th width="20%"><{$lang_poster}></th> <th><{$lang_thread}></th> </tr> <{include file="db:system_comment.html" comment=$comments[i]}> </table> <!-- start comment replies --> <{foreach item=reply from=$comments[i].replies}> <br /> <table cellspacing="0" border="0"> <tr> <td width="<{$reply.prefix}>"></td> <td> <table class="outer" cellspacing="1"> <tr> <th width="20%"><{$lang_poster}></th> <th><{$lang_thread}></th> </tr> <{include file="db:system_comment.html" comment=$reply}> </table> </td> </tr> </table> <{/foreach}> <!-- end comment tree --> <{/section}> --- NEW FILE: system_comments_thread.html --- <{section name=i loop=$comments}> <br /> <table cellspacing="1" class="outer"> <tr> <th width="20%"><{$lang_poster}></th> <th><{$lang_thread}></th> </tr> <{include file="db:system_comment.html" comment=$comments[i]}> </table> <{if $show_threadnav == true}> <div style="text-align:left; margin:3px; padding: 5px;"> <a href="<{$comment_url}>"><{$lang_top}></a> | <a href="<{$comment_url}>&com_id=<{$comments[i].pid}>&com_rootid=<{$comments[i].rootid}>#newscomment<{$comments[i].pid}>"><{$lang_parent}></a> </div> <{/if}> <{if $comments[i].show_replies == true}> <!-- start comment tree --> <br /> <table cellspacing="1" class="outer"> <tr> <th width="50%"><{$lang_subject}></th> <th width="20%" align="center"><{$lang_poster}></th> <th align="right"><{$lang_posted}></th> </tr> <{foreach item=reply from=$comments[i].replies}> <tr> <td class="even"><{$reply.prefix}> <a href="<{$comment_url}>&com_id=<{$reply.id}>&com_rootid=<{$reply.root_id}>"><{$reply.title}></a></td> <td class="odd" align="center"><{$reply.poster.uname}></td> <td class="even" align="right"><{$reply.date_posted}></td> </tr> <{/foreach}> </table> <!-- end comment tree --> <{/if}> <{/section}> |