Tom Hayakawa
tom_g3x****@users*****
2006年 10月 20日 (金) 02:01:50 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.20 xoops2jp/html/modules/user/admin/templates/group_property.html:1.1.2.20.2.1 --- xoops2jp/html/modules/user/admin/templates/group_property.html:1.1.2.20 Fri Aug 25 17:26:10 2006 +++ xoops2jp/html/modules/user/admin/templates/group_property.html Fri Oct 20 02:01:49 2006 @@ -137,13 +137,13 @@ <th colspan="4"><{$smarty.const._AD_USER_LANG_PERM_GROUP_PERM_BLOCK}> <{if $i == 0}>( <{$smarty.const._LEFT}> ) <{elseif $i == 1}>( <{$smarty.const._RIGHT}> ) - <{elseif $i == 2}>( <{$smarty.const._CENTER}> ) - <{elseif $i == 3}>( <{$smarty.const._CENTER}>-<{$smarty.const._LEFT}> ) - <{elseif $i == 4}>( <{$smarty.const._CENTER}>-<{$smarty.const._RIGHT}> ) + <{elseif $i == 4}>( <{$smarty.const._CENTER}> ) + <{elseif $i == 2}>( <{$smarty.const._CENTER}>-<{$smarty.const._LEFT}> ) + <{elseif $i == 3}>( <{$smarty.const._CENTER}>-<{$smarty.const._RIGHT}> ) <{/if}></th> </tr> <tr> - <{foreach item=perm from=$permissions name="BlockPer"}> + <{foreach item=perm from=$permissions name=$i}> <td class="head" style="width:35%;"> <{if $perm->mItem->isActive()}> <{$perm->mItem->getName()|escape}> @@ -158,12 +158,9 @@ -- <{/if}> </td> - <{if $smarty.foreach.BlockPer.last}> - </tr> - <{else}> - <{cycle values=",</tr><tr>" name="BlockPer"}> - <{/if}> + <{cycle values=",</tr><tr>" name=$i}> <{/foreach}> + </tr> </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.25.2.1 xoops2jp/html/modules/user/admin/templates/group_perm.html:1.1.2.25.2.2 --- xoops2jp/html/modules/user/admin/templates/group_perm.html:1.1.2.25.2.1 Mon Oct 16 00:29:45 2006 +++ xoops2jp/html/modules/user/admin/templates/group_perm.html Fri Oct 20 02:01:49 2006 @@ -100,13 +100,13 @@ <th colspan="4"><{$smarty.const._AD_USER_LANG_PERM_GROUP_PERM_BLOCK}> <{if $i == 0}>( <{$smarty.const._LEFT}> ) <{elseif $i == 1}>( <{$smarty.const._RIGHT}> ) - <{elseif $i == 2}>( <{$smarty.const._CENTER}> ) - <{elseif $i == 3}>( <{$smarty.const._CENTER}>-<{$smarty.const._LEFT}> ) - <{elseif $i == 4}>( <{$smarty.const._CENTER}>-<{$smarty.const._RIGHT}> ) + <{elseif $i == 4}>( <{$smarty.const._CENTER}> ) + <{elseif $i == 2}>( <{$smarty.const._CENTER}>-<{$smarty.const._LEFT}> ) + <{elseif $i == 3}>( <{$smarty.const._CENTER}>-<{$smarty.const._RIGHT}> ) <{/if}></th> </tr> <tr> - <{foreach item=perm from=$permissions name="BlockPer"}> + <{foreach item=perm from=$permissions name=$i}> <td class="head" style="width:35%;"> <{if $perm->mItem->isActive()}> <{$perm->mItem->getName()|escape}> @@ -117,12 +117,9 @@ <td class="even"><{assign var="getId" value=$perm->getId() }> <label><input type="checkbox" name="block[<{$getId}>]" value="1" <{if $perm->mValue==1}>checked="checked"<{/if}> /><{$smarty.const._AD_USER_LANG_PERM_ACCESS}></label> </td> - <{if $smarty.foreach.BlockPer.last}> - </tr> - <{else}> - <{cycle values=",</tr><tr>" name="BlockPer"}> - <{/if}> + <{cycle values=",</tr><tr>" name=$i}> <{/foreach}> + </tr> </table> <br /> <{/foreach}>