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

Back to archive index

Tom Hayakawa tom_g3x****@users*****
2006年 2月 3日 (金) 01:08:30 JST


Index: xoops2jp/html/modules/base/admin/templates/comment_list.html
diff -u xoops2jp/html/modules/base/admin/templates/comment_list.html:1.1.2.2 xoops2jp/html/modules/base/admin/templates/comment_list.html:1.1.2.3
--- xoops2jp/html/modules/base/admin/templates/comment_list.html:1.1.2.2	Mon Jan 30 13:35:01 2006
+++ xoops2jp/html/modules/base/admin/templates/comment_list.html	Fri Feb  3 01:08:30 2006
@@ -12,21 +12,12 @@
     <th><{$smarty.const._AD_BASE_LANG_COM_ID}><br />
       <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_ID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
       <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_ID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
-    <th><{$smarty.const._AD_BASE_LANG_COM_PID}><br />
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_PID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_PID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
-    <th><{$smarty.const._AD_BASE_LANG_COM_ROOTID}><br />
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_ROOTID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_ROOTID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
     <th><{$smarty.const._AD_BASE_LANG_COM_MODID}><br />
       <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_MODID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
       <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_MODID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
-    <th><{$smarty.const._AD_BASE_LANG_COM_ITEMID}><br />
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_ITEMID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_ITEMID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
-    <th><{$smarty.const._AD_BASE_LANG_COM_ICON}><br />
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_ICON}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_ICON}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
+    <th><{$smarty.const._AD_BASE_LANG_COM_TITLE}><br />
+      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_TITLE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
+      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_TITLE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
     <th><{$smarty.const._AD_BASE_LANG_COM_CREATED}><br />
       <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_CREATED}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
       <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_CREATED}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
@@ -39,60 +30,25 @@
     <th><{$smarty.const._AD_BASE_LANG_COM_IP}><br />
       <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_IP}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
       <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_IP}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
-    <th><{$smarty.const._AD_BASE_LANG_COM_TITLE}><br />
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_TITLE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_TITLE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
-    <th><{$smarty.const._AD_BASE_LANG_COM_TEXT}><br />
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_TEXT}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_TEXT}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
-    <th><{$smarty.const._AD_BASE_LANG_COM_SIG}><br />
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_SIG}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_SIG}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
     <th><{$smarty.const._AD_BASE_LANG_COM_STATUS}><br />
       <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_STATUS}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
       <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_STATUS}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
-    <th><{$smarty.const._AD_BASE_LANG_COM_EXPARAMS}><br />
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_EXPARAMS}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_EXPARAMS}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
-    <th><{$smarty.const._AD_BASE_LANG_DOHTML}><br />
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_DOHTML}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_DOHTML}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
-    <th><{$smarty.const._AD_BASE_LANG_DOSMILEY}><br />
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_DOSMILEY}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_DOSMILEY}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
-    <th><{$smarty.const._AD_BASE_LANG_DOXCODE}><br />
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_DOXCODE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_DOXCODE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
-    <th><{$smarty.const._AD_BASE_LANG_DOIMAGE}><br />
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_DOIMAGE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_DOIMAGE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
-    <th><{$smarty.const._AD_BASE_LANG_DOBR}><br />
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_DOBR}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_DOBR}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
     <th><{$smarty.const._AD_BASE_LANG_CONTROL}></th>
   </tr>
   <{foreach item=obj from=$objects}>
     <tr class="<{cycle values='odd,even'}>" style="text-align:center">
       <td><{$obj->getVar('com_id')}></td>
-      <td><{$obj->getVar('com_pid')}></td>
-      <td><{$obj->getVar('com_rootid')}></td>
       <td><{$obj->getVar('com_modid')}></td>
-      <td><{$obj->getVar('com_itemid')}></td>
-      <td><{$obj->getVar('com_icon')}></td>
-      <td><{$obj->getVar('com_created')}></td>
-      <td><{$obj->getVar('com_modified')}></td>
-      <td><{$obj->getVar('com_uid')}></td>
-      <td><{$obj->getVar('com_ip')}></td>
       <td><{$obj->getVar('com_title')}></td>
-      <td><{$obj->getVar('com_text')}></td>
-      <td><{$obj->getVar('com_sig')}></td>
-      <td><{$obj->getVar('com_status')}></td>
-      <td><{$obj->getVar('com_exparams')}></td>
-      <td><{$obj->getVar('dohtml')}></td>
-      <td><{$obj->getVar('dosmiley')}></td>
-      <td><{$obj->getVar('doxcode')}></td>
-      <td><{$obj->getVar('doimage')}></td>
-      <td><{$obj->getVar('dobr')}></td>
+      <td><{$obj->getVar('com_created')|xoops_formattimestamp:l}></td>
+      <td><{$obj->getVar('com_modified')|xoops_formattimestamp:l}></td>
+      <td><a href="<{$smarty.const.XOOPS_URL}>/modules/user/index.php?action=UserInfo&uid=<{$obj->getVar('com_uid')}>"><{$obj->getVar('com_uid')}></a></td>
+      <td><{$obj->getVar('com_ip')}></td>
+      <td>
+        <{if $obj->getVar('com_status') == 1 }>
+          <img src="<{"icons/active.gif"|theme}>" />
+        <{/if}>
+      </td>
       <td>
         <a href="./index.php?action=CommentEdit&amp;com_id=<{$obj->get('com_id')|escape}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" /></a>
         <a href="./index.php?action=CommentDelete&amp;com_id=<{$obj->get('com_id')|escape}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" /></a>
Index: xoops2jp/html/modules/base/admin/templates/comment_edit.html
diff -u xoops2jp/html/modules/base/admin/templates/comment_edit.html:1.1.2.4 xoops2jp/html/modules/base/admin/templates/comment_edit.html:1.1.2.5
--- xoops2jp/html/modules/base/admin/templates/comment_edit.html:1.1.2.4	Thu Feb  2 22:50:45 2006
+++ xoops2jp/html/modules/base/admin/templates/comment_edit.html	Fri Feb  3 01:08:30 2006
@@ -94,7 +94,7 @@
     <tr>
       <td class="head"><{$smarty.const._AD_BASE_LANG_COM_TITLE}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=com_title value=$actionForm->get('com_title') size=15 maxlength=255}>
+        <{xoops_input type=text name=com_title value=$actionForm->get('com_title') size=60 maxlength=255}>
       </td>
     </tr>
     <tr>
@@ -106,7 +106,8 @@
     <tr>
       <td class="head"><{$smarty.const._AD_BASE_LANG_COM_SIG}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=checkbox name=com_sig value=1 default=$actionForm->get('com_sig')}>
+        <{xoops_input type=radio name=com_sig value=1 default=$actionForm->get('com_sig')}><{$smarty.const._YES}>
+        <{xoops_input type=radio name=com_sig value=0 default=$actionForm->get('com_sig')}><{$smarty.const._NO}>
       </td>
     </tr>
     <tr>
@@ -122,33 +123,18 @@
       </td>
     </tr>
     <tr>
-      <td class="head"><{$smarty.const._AD_BASE_LANG_DOHTML}></td>
+      <td class="head"><{$smarty.const._AD_BASE_LANG_CONTROL}></td>
       <td class="<{cycle values="odd,even"}>">
         <{xoops_input type=checkbox name=dohtml value=1 default=$actionForm->get('dohtml')}>
-      </td>
-    </tr>
-    <tr>
-      <td class="head"><{$smarty.const._AD_BASE_LANG_DOSMILEY}></td>
-      <td class="<{cycle values="odd,even"}>">
+        <{$smarty.const._AD_BASE_LANG_DOHTML}><br />
         <{xoops_input type=checkbox name=dosmiley value=1 default=$actionForm->get('dosmiley')}>
-      </td>
-    </tr>
-    <tr>
-      <td class="head"><{$smarty.const._AD_BASE_LANG_DOXCODE}></td>
-      <td class="<{cycle values="odd,even"}>">
+        <{$smarty.const._AD_BASE_LANG_DOSMILEY}><br />
         <{xoops_input type=checkbox name=doxcode value=1 default=$actionForm->get('doxcode')}>
-      </td>
-    </tr>
-    <tr>
-      <td class="head"><{$smarty.const._AD_BASE_LANG_DOIMAGE}></td>
-      <td class="<{cycle values="odd,even"}>">
+        <{$smarty.const._AD_BASE_LANG_DOXCODE}><br />
         <{xoops_input type=checkbox name=doimage value=1 default=$actionForm->get('doimage')}>
-      </td>
-    </tr>
-    <tr>
-      <td class="head"><{$smarty.const._AD_BASE_LANG_DOBR}></td>
-      <td class="<{cycle values="odd,even"}>">
+        <{$smarty.const._AD_BASE_LANG_DOIMAGE}><br />
         <{xoops_input type=checkbox name=dobr value=1 default=$actionForm->get('dobr')}>
+        <{$smarty.const._AD_BASE_LANG_DOBR}>
       </td>
     </tr>
     <tr>


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