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

Zurück zum Archiv-Index

Minahito minah****@users*****
2007年 2月 28日 (水) 18:30:49 JST


Index: xoops2jp/html/modules/user/admin/templates/mailjob_link_list.html
diff -u xoops2jp/html/modules/user/admin/templates/mailjob_link_list.html:1.1.2.4 xoops2jp/html/modules/user/admin/templates/mailjob_link_list.html:1.1.2.4.2.1
--- xoops2jp/html/modules/user/admin/templates/mailjob_link_list.html:1.1.2.4	Sun Dec  3 00:50:22 2006
+++ xoops2jp/html/modules/user/admin/templates/mailjob_link_list.html	Wed Feb 28 18:30:49 2007
@@ -33,18 +33,20 @@
       <a href="<{$pageNavi->renderUrlForSort()}>&amp;sort=<{$smarty.const.MAILJOB_LINK_SORT_KEY_MESSAGE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a>
       <a href="<{$pageNavi->renderUrlForSort()}>&amp;sort=-<{$smarty.const.MAILJOB_LINK_SORT_KEY_MESSAGE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th>
   </tr>
-  <{foreach item=obj from=$objects}>
-    <tr class="<{cycle values='odd,even'}>">
-      <td class="user_list_control"><{xoops_input type=checkbox name=uid key=$obj->get('uid')}></td>
-      <td class="user_list_id"><{$obj->getShow('uid')}></td>
-      <td class="user_list_name"><{$obj->get('uid')|xoops_user:uname}></td>
-      <td class="user_list_number"><{$obj->getShow('retry')}></td>
-      <td class="user_list_description"><{$obj->getShow('message')}></td>
+  <{if count($objects) > 0}>
+    <{foreach item=obj from=$objects}>
+      <tr class="<{cycle values='odd,even'}>">
+        <td class="user_list_control"><{xoops_input type=checkbox name=uid key=$obj->get('uid')}></td>
+        <td class="user_list_id"><{$obj->getShow('uid')}></td>
+        <td class="user_list_name"><{$obj->get('uid')|xoops_user:uname}></td>
+        <td class="user_list_number"><{$obj->getShow('retry')}></td>
+        <td class="user_list_description"><{$obj->getShow('message')}></td>
+      </tr>
+    <{/foreach}>
+    <tr>
+      <td colspan="5" class="foot"><input class="formButton" type="submit" value="<{$smarty.const._SUBMIT}>" /></td>
     </tr>
-  <{/foreach}>
-  <tr>
-    <td colspan="5" class="foot"><input class="formButton" type="submit" value="<{$smarty.const._SUBMIT}>" /></td>
-  </tr>
+  <{/if}>
 </table>
 </form>
 


xoops-cvslog メーリングリストの案内
Zurück zum Archiv-Index