[xoops-cvslog 2693] CVS update: xoops2jp/html/modules/base/templates

Back to archive index

NobuNobu nobun****@users*****
2006年 4月 9日 (日) 10:24:04 JST


Index: xoops2jp/html/modules/base/templates/legacy_comment.html
diff -u /dev/null xoops2jp/html/modules/base/templates/legacy_comment.html:1.1.2.1
--- /dev/null	Sun Apr  9 10:24:04 2006
+++ xoops2jp/html/modules/base/templates/legacy_comment.html	Sun Apr  9 10:24:04 2006
@@ -0,0 +1,50 @@
+<!-- start comment post -->
+        <tr>
+          <td class="head"><a id="comment<{$comment.id}>"></a> <{$comment.poster.uname}></td>
+          <td class="head"><div class="comDate"><span class="comDateCaption"><{$lang_posted}>:</span> <{$comment.date_posted}>&nbsp;&nbsp;<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_upload_url}>/<{$comment.poster.rank_image}>" alt="" /></div><img class="comUserImg" src="<{$xoops_upload_url}>/<{$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_iscommentadmin == true}>
+
+          <td class="even" align="right">
+            <a href="<{$editcomment_link}>&amp;com_id=<{$comment.id}>"><img src="<{$xoops_url}>/images/icons/edit.gif" alt="<{$lang_edit}>" /></a><a href="<{$deletecomment_link}>&amp;com_id=<{$comment.id}>"><img src="<{$xoops_url}>/images/icons/delete.gif" alt="<{$lang_delete}>" /></a><a href="<{$replycomment_link}>&amp;com_id=<{$comment.id}>"><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="<{$editcomment_link}>&amp;com_id=<{$comment.id}>"><img src="<{$xoops_url}>/images/icons/edit.gif" alt="<{$lang_edit}>" /></a><a href="<{$replycomment_link}>&amp;com_id=<{$comment.id}>"><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="<{$replycomment_link}>&amp;com_id=<{$comment.id}>"><img src="<{$xoops_url}>/images/icons/reply.gif" alt="<{$lang_reply}>" /></a>
+          </td>
+
+          <{else}>
+
+          <td class="even"> </td>
+
+          <{/if}>
+
+        </tr>
+<!-- end comment post -->
\ No newline at end of file
Index: xoops2jp/html/modules/base/templates/legacy_comments_flat.html
diff -u /dev/null xoops2jp/html/modules/base/templates/legacy_comments_flat.html:1.1.2.1
--- /dev/null	Sun Apr  9 10:24:04 2006
+++ xoops2jp/html/modules/base/templates/legacy_comments_flat.html	Sun Apr  9 10:24:04 2006
@@ -0,0 +1,9 @@
+<table class="outer" cellpadding="5" cellspacing="1">
+  <tr>
+    <th width="20%"><{$lang_poster}></th>
+    <th><{$lang_thread}></th>
+  </tr>
+  <{foreach item=comment from=$comments}>
+    <{include file="db:legacy_comment.html" comment=$comment}>
+  <{/foreach}>
+</table>
\ No newline at end of file
Index: xoops2jp/html/modules/base/templates/legacy_comments_nest.html
diff -u /dev/null xoops2jp/html/modules/base/templates/legacy_comments_nest.html:1.1.2.1
--- /dev/null	Sun Apr  9 10:24:04 2006
+++ xoops2jp/html/modules/base/templates/legacy_comments_nest.html	Sun Apr  9 10:24:04 2006
@@ -0,0 +1,30 @@
+<{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:legacy_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}>
\ No newline at end of file
Index: xoops2jp/html/modules/base/templates/legacy_comments_thread.html
diff -u /dev/null xoops2jp/html/modules/base/templates/legacy_comments_thread.html:1.1.2.1
--- /dev/null	Sun Apr  9 10:24:04 2006
+++ xoops2jp/html/modules/base/templates/legacy_comments_thread.html	Sun Apr  9 10:24:04 2006
@@ -0,0 +1,37 @@
+<{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:legacy_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}>&amp;com_id=<{$comments[i].pid}>&amp;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}>&amp;com_id=<{$reply.id}>&amp;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}>
\ No newline at end of file
Index: xoops2jp/html/modules/base/templates/legacy_notification_select.html
diff -u /dev/null xoops2jp/html/modules/base/templates/legacy_notification_select.html:1.1.2.1
--- /dev/null	Sun Apr  9 10:24:04 2006
+++ xoops2jp/html/modules/base/templates/legacy_notification_select.html	Sun Apr  9 10:24:04 2006
@@ -0,0 +1,35 @@
+<{if $xoops_notification.show}>
+<form name="notification_select" action="<{$xoops_notification.target_page}>" method="post">
+<h4 style="text-align:center;"><{$lang_activenotifications}></h4>
+<input type="hidden" name="not_redirect" value="<{$xoops_notification.redirect_script}>" />
+<table class="outer">
+  <tr><th colspan="3"><{$lang_notificationoptions}></th></tr>
+  <tr>
+    <td class="head"><{$lang_category}></td>
+    <td class="head"><input name="allbox" id="allbox" onclick="xoopsCheckAll('notification_select','allbox');" type="checkbox" value="<{$lang_checkall}>" /></td>
+    <td class="head"><{$lang_events}></td>
+  </tr>
+  <{foreach name=outer item=category from=$xoops_notification.categories}>
+  <{foreach name=inner item=event from=$category.events}>
+  <tr>
+    <{if $smarty.foreach.inner.first}>
+    <td class="even" rowspan="<{$smarty.foreach.inner.total}>"><{$category.title}></td>
+    <{/if}>
+    <td class="odd">
+    <{counter assign=index}>
+    <input type="hidden" name="not_list[<{$index}>][params]" value="<{$category.name}>,<{$category.itemid}>,<{$event.name}>" />
+    <input type="checkbox" id="not_list[]" name="not_list[<{$index}>][status]" value="1" <{if $event.subscribed}>checked="checked"<{/if}> />
+    </td>
+    <td class="odd"><{$event.caption}></td>
+  </tr>
+  <{/foreach}>
+  <{/foreach}>
+  <tr>
+    <td class="foot" colspan="3" align="center"><input type="submit" name="not_submit" value="<{$lang_updatenow}>" /></td>
+  </tr>
+</table>
+<div align="center">
+<{$lang_notificationmethodis}>:&nbsp;<{$user_method}>&nbsp;&nbsp;[<a href="<{$editprofile_url}>"><{$lang_change}></a>]
+</div>
+</form>
+<{/if}>
\ No newline at end of file


xoops-cvslog メーリングリストの案内
Back to archive index