[xoops-cvslog 6210] CVS update: xoops2jp/html/modules/user/admin/templates

Back to archive index

Minahito minah****@users*****
2007年 2月 28日 (水) 19:08:31 JST


Index: xoops2jp/html/modules/user/admin/templates/mailjob_list.html
diff -u xoops2jp/html/modules/user/admin/templates/mailjob_list.html:1.1.2.12.2.3 xoops2jp/html/modules/user/admin/templates/mailjob_list.html:1.1.2.12.2.3.2.1
--- xoops2jp/html/modules/user/admin/templates/mailjob_list.html:1.1.2.12.2.3	Sun Dec  3 00:50:22 2006
+++ xoops2jp/html/modules/user/admin/templates/mailjob_list.html	Wed Feb 28 19:08:31 2007
@@ -32,7 +32,13 @@
   <{foreach item=obj from=$objects}>
     <tr class="<{cycle values='odd,even'}>">
       <td class="user_list_id"><{$obj->getShow('mailjob_id')}></td>
-      <td class="user_list_title"><a href="./index.php?action=MailjobSend&amp;mailjob_id=<{$obj->getShow('mailjob_id')}>"><{$obj->getShow('title')}></a></td>
+      <td class="user_list_title">
+        <{if $obj->getUserCount() > 0}>
+          <a href="./index.php?action=MailjobSend&amp;mailjob_id=<{$obj->getShow('mailjob_id')}>"><{$obj->getShow('title')}></a>
+        <{else}>
+          <a href="./index.php?action=MailjobView&amp;mailjob_id=<{$obj->getShow('mailjob_id')}>"><{$obj->getShow('title')}></a>
+        <{/if}>
+      </td>
       <td class="user_list_order">
         <{if $obj->getShow('is_pm') == 1}>
           <{$smarty.const._YES}>
@@ -49,15 +55,17 @@
       </td>
       <td class="user_list_date"><{$obj->get('create_unixtime')|date_format:"%Y/%m/%d %H:%M"}></td>
       <td class="user_list_number">
-        <{if $obj->mUserCount > 0}>
+        <{if $obj->getUserCount() > 0}>
           <span class="user_mailjob_count"><{$obj->mUserCount|xoops_escape}></span>
         <{else}>
           <{$smarty.const._AD_USER_LANG_COMPLETED}>
         <{/if}>
       </td>
       <td class="user_list_control">
-        <a href="./index.php?action=Mailjob_linkList&amp;mailjob_id=<{$obj->getShow('mailjob_id')}>"><img src="<{"icons/view.gif"|theme}>" alt="<{$smarty.const._VIEW}>" title="<{$smarty.const._VIEW}>" /></a>
-        <a href="./index.php?action=MailjobSend&amp;mailjob_id=<{$obj->getShow('mailjob_id')}>"><img src="<{"icons/send.gif"|theme}>" alt="<{$smarty.const._SEND}>" title="<{$smarty.const._SEND}>" /></a>
+        <{if $obj->getUserCount() > 0}>
+          <a href="./index.php?action=Mailjob_linkList&amp;mailjob_id=<{$obj->getShow('mailjob_id')}>"><img src="<{"icons/view.gif"|theme}>" alt="<{$smarty.const._VIEW}>" title="<{$smarty.const._VIEW}>" /></a>
+          <a href="./index.php?action=MailjobSend&amp;mailjob_id=<{$obj->getShow('mailjob_id')}>"><img src="<{"icons/send.gif"|theme}>" alt="<{$smarty.const._SEND}>" title="<{$smarty.const._SEND}>" /></a>
+        <{/if}>
         <a href="./index.php?action=MailjobEdit&amp;mailjob_id=<{$obj->getShow('mailjob_id')}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" title="<{$smarty.const._EDIT}>" /></a>
         <a href="./index.php?action=MailjobDelete&amp;mailjob_id=<{$obj->getShow('mailjob_id')}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" title="<{$smarty.const._DELETE}>" /></a>
       </td>


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