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

Back to archive index

Tom Hayakawa tom_g3x****@users*****
2006年 8月 12日 (土) 14:43:12 JST


Index: xoops2jp/html/modules/user/admin/templates/group_property.html
diff -u xoops2jp/html/modules/user/admin/templates/group_property.html:1.1.2.9 xoops2jp/html/modules/user/admin/templates/group_property.html:1.1.2.10
--- xoops2jp/html/modules/user/admin/templates/group_property.html:1.1.2.9	Thu Jul 13 19:53:25 2006
+++ xoops2jp/html/modules/user/admin/templates/group_property.html	Sat Aug 12 14:43:12 2006
@@ -81,9 +81,8 @@
   <tr class="head">
     <th colspan="4"><{$smarty.const._AD_USER_LANG_PERM_SYSTEM_PERM_MODULE}></th>
   </tr>
-  <tbody>
   <tr>
-  <{foreach item=perm from=$systemPermissions key="perm_key"}>
+  <{foreach item=perm from=$systemPermissions key="perm_key" name="SysPer"}>
     <td class="head" style="width:35%;">&nbsp;<{$perm->mItem->getName()|escape}></td>
     <td class="even"><{assign var="getId" value=$perm->getId() }>
       <{if $perm->mValue==2}>
@@ -92,20 +91,21 @@
         --
       <{/if}>
     </td>
-    <{cycle values=",</tr><tr>" name="systr"}>
+      <{if $smarty.foreach.SysPer.last}>
+        </tr>
+      <{else}>
+        <{cycle values=",</tr><tr>" name="SysPer"}>
+      <{/if}>
   <{/foreach}>
-  </tr>
-  </tbody>
 </table>
 <br />
 <{/if}>
-<table class="outer" cellspacing="2">
+<table class="outer">
   <tr class="head">
     <th colspan="4"><{$smarty.const._AD_USER_LANG_PERM_GROUP_PERM_MODULE}></th>
   </tr>
-  <tbody>
   <tr>
-  <{foreach item=perm from=$modulePermissions }>
+  <{foreach item=perm from=$modulePermissions name="ModPer"}>
     <td class="head" style="width:25%;">&nbsp;<{$perm->mItem->getName()|escape}></td>
     <td class="even">
       <{assign var="getId" value=$perm->getId() }>
@@ -120,10 +120,12 @@
         --
       <{/if}>
     </td>
-    <{cycle values=",</tr><tr>" name="systr"}>
+     <{if $smarty.foreach.ModPer.last}>
+        </tr>
+      <{else}>
+        <{cycle values=",</tr><tr>" name="ModPer"}>
+      <{/if}>
   <{/foreach}>
-  </tr>
-  </tbody>
 </table>
 
 <br />
@@ -140,27 +142,28 @@
       <{elseif $i == 4}>( <{$smarty.const._CENTER}>-<{$smarty.const._RIGHT}> )
       <{/if}></th>
   </tr>
-  <tbody>
   <tr>
-  <{foreach item=perm from=$permissions name="blktr"}>
-      <td class="head" style="width:35%;">&nbsp;
-        <{if $perm->mItem->isActive()}>
-          <{$perm->mItem->getName()|escape}>
-        <{else}>
-          <span style="color:gray;"><{$perm->mItem->getName()|escape}></span>
-        <{/if}>
-      </td>
-      <td class="even"><{assign var="getId" value=$perm->getId() }>
-        <{if $perm->mValue==1}>
-          <{$smarty.const._AD_USER_LANG_PERM_ACCESS}>
-        <{else}>
-        --
-        <{/if}>
-      </td>
-    <{cycle values=",</tr><tr>" name="blktr"}>
+  <{foreach item=perm from=$permissions name="BlockPer"}>
+    <td class="head" style="width:35%;">&nbsp;
+      <{if $perm->mItem->isActive()}>
+        <{$perm->mItem->getName()|escape}>
+      <{else}>
+        <span style="color:gray;"><{$perm->mItem->getName()|escape}></span>
+      <{/if}>
+    </td>
+    <td class="even"><{assign var="getId" value=$perm->getId() }>
+      <{if $perm->mValue==1}>
+        <{$smarty.const._AD_USER_LANG_PERM_ACCESS}>
+      <{else}>
+      --
+      <{/if}>
+    </td>
+    <{if $smarty.foreach.BlockPer.last}>
+      </tr>
+    <{else}>
+      <{cycle values=",</tr><tr>" name="BlockPer"}>
+    <{/if}>
   <{/foreach}>
-    </tr>
-  </tbody>
 </table>
 <br />
 <{/foreach}>
Index: xoops2jp/html/modules/user/admin/templates/group_perm.html
diff -u xoops2jp/html/modules/user/admin/templates/group_perm.html:1.1.2.16 xoops2jp/html/modules/user/admin/templates/group_perm.html:1.1.2.17
--- xoops2jp/html/modules/user/admin/templates/group_perm.html:1.1.2.16	Thu Aug 10 20:06:25 2006
+++ xoops2jp/html/modules/user/admin/templates/group_perm.html	Sat Aug 12 14:43:12 2006
@@ -57,17 +57,19 @@
   <tr>
     <th colspan="4"><{$smarty.const._AD_USER_LANG_PERM_SYSTEM_PERM_MODULE}></th>
   </tr>
-  <tbody>
   <tr>
-  <{foreach item=perm from=$systemPermissions key="perm_key"}>
+  <{foreach item=perm from=$systemPermissions key="perm_key" name="SysPer"}>
     <td class="head" style="width:35%;">&nbsp;<{$perm->mItem->getName()|escape}></td>
     <td class="even"><{assign var="getId" value=$perm->getId() }>
       <input type="checkbox" name="system[<{$getId}>]" value="2" <{if $perm->mValue==2}>checked="checked"<{/if}> /><{$smarty.const._AD_USER_LANG_PERM_ADMIN}>
     </td>
-    <{cycle values=",</tr><tr>" name="systr"}>
+    <{if $smarty.foreach.SysPer.last}>
+      </tr>
+    <{else}>
+      <{cycle values=",</tr><tr>" name="SysPer"}>
+    <{/if}>
   <{/foreach}>
   </tr>
-  </tbody>
 </table>
 <br />
 <{/if}>
@@ -75,18 +77,20 @@
   <tr>
     <th colspan="4"><{$smarty.const._AD_USER_LANG_PERM_GROUP_PERM_MODULE}></th>
   </tr>
-  <tbody>
   <tr>
-  <{foreach item=perm from=$modulePermissions }>
+  <{foreach item=perm from=$modulePermissions name="ModPer"}>
     <td class="head" style="width:25%;">&nbsp;<{$perm->mItem->getName()|escape}></td>
     <td class="even"><{assign var="getId" value=$perm->getId() }>
       <input type="checkbox" name="module[<{$getId}>]" value="1" <{if $perm->mValue & 1}>checked="checked"<{/if}> /><{$smarty.const._AD_USER_LANG_PERM_ACCESS}>
       <input type="checkbox" name="module_admin[<{$getId}>]" value="2" <{if $perm->mValue & 2}>checked="checked"<{/if}> /><{$smarty.const._AD_USER_LANG_PERM_ADMIN}>
     </td>
-    <{cycle values=",</tr><tr>" name="systr"}>
+    <{if $smarty.foreach.ModPer.last}>
+      </tr>
+    <{else}>
+      <{cycle values=",</tr><tr>" name="ModPer"}>
+    <{/if}>
   <{/foreach}>
   </tr>
-  </tbody>
 </table>
 <br />
 
@@ -103,28 +107,30 @@
       <{elseif $i == 4}>( <{$smarty.const._CENTER}>-<{$smarty.const._RIGHT}> )
       <{/if}></th>
   </tr>
-  <tbody>
   <tr>
-  <{foreach item=perm from=$permissions name="blktr"}>
-      <td class="head" style="width:35%;">&nbsp;
-        <{if $perm->mItem->isActive()}>
-          <{$perm->mItem->getName()|escape}>
-        <{else}>
-          <span style="color:gray;"><{$perm->mItem->getName()|escape}></span>
-        <{/if}>
-      </td>
-      <td class="even"><{assign var="getId" value=$perm->getId() }>
-          <input type="checkbox" name="block[<{$getId}>]" value="1" <{if $perm->mValue==1}>checked="checked"<{/if}> /><{$smarty.const._AD_USER_LANG_PERM_ACCESS}>
-      </td>
-    <{cycle values=",</tr><tr>" name="blktr"}>
+  <{foreach item=perm from=$permissions name="BlockPer"}>
+    <td class="head" style="width:35%;">&nbsp;
+      <{if $perm->mItem->isActive()}>
+        <{$perm->mItem->getName()|escape}>
+      <{else}>
+        <span style="color:gray;"><{$perm->mItem->getName()|escape}></span>
+      <{/if}>
+    </td>
+    <td class="even"><{assign var="getId" value=$perm->getId() }>
+      <input type="checkbox" name="block[<{$getId}>]" value="1" <{if $perm->mValue==1}>checked="checked"<{/if}> /><{$smarty.const._AD_USER_LANG_PERM_ACCESS}>
+    </td>
+    <{if $smarty.foreach.BlockPer.last}>
+      </tr>
+    <{else}>
+      <{cycle values=",</tr><tr>" name="BlockPer"}>
+    <{/if}>
   <{/foreach}>
-    </tr>
-  </tbody>
+  </tr>
 </table>
 <br />
 <{/foreach}>
 
-<div style="text-align:center;">
+<div class="pagenavi">
 <{xoops_input type=hidden name=groupid value=$group->get('groupid')}>
 <input type="submit" value="<{$smarty.const._SUBMIT}>" class="formButton" />
 <input type="reset" value="<{$smarty.const._AD_USER_LANG_RESET}>" class="formButton" />


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