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

Back to archive index

Minahito minah****@users*****
2005年 12月 30日 (金) 17:30:06 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.1 xoops2jp/html/modules/user/admin/templates/group_property.html:1.1.2.2
--- xoops2jp/html/modules/user/admin/templates/group_property.html:1.1.2.1	Thu Dec 29 00:18:13 2005
+++ xoops2jp/html/modules/user/admin/templates/group_property.html	Fri Dec 30 17:30:06 2005
@@ -69,8 +69,92 @@
 <div style="text-align:center;"><{xoops_pagenavi pagenavi=$pageNavi}></div>
 
 
-<h5>なにを表示しようかなぁ~~~~</h5>
+<h4><{$smarty.const._MD_A_USER_LANG_PERM_ACCESS_ADMIN}></h4>
 
-<{$modulePermissions|debug_print_var}>
+<h5><{$smarty.const._MD_A_USER_LANG_PERM_MODULE_ACCESS}></h5>
+<table class="outer" cellspacing="2">
+  <tr class="head">
+    <th colspan="4"><{$smarty.const._MD_A_USER_LANG_PERM_SYSTEM_PERM_MODULE}></th>
+  </tr>
+  <tbody>
+  <tr>
+  <{foreach item=perm from=$systemPermissions key="perm_key"}>
+    <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}>
+        <{$smarty.const._MD_A_USER_LANG_PERM_ADMIN}>
+      <{else}>
+        --
+      <{/if}>
+    </td>
+    <{cycle values=",</tr><tr>" name="systr"}>
+  <{/foreach}>
+  </tr>
+  </tbody>
+</table>
+<br />
+<table class="outer" cellspacing="2">
+  <tr class="head">
+    <th colspan="4"><{$smarty.const._MD_A_USER_LANG_PERM_GROUP_PERM_MODULE}></th>
+  </tr>
+  <tbody>
+  <tr>
+  <{foreach item=perm from=$modulePermissions }>
+    <td class="head" style="width:25%;">&nbsp;<{$perm->mItem->getName()|escape}></td>
+    <td class="even"><{assign var="getId" value=$perm->getId() }>
+      <{if $perm->mValue & 1}>
+        <{$smarty.const._MD_A_USER_LANG_PERM_ACCESS}>
+      <{else}>
+        --
+      <{/if}>
+      <{if $perm->mValue & 2}>
+        <{$smarty.const._MD_A_USER_LANG_PERM_ADMIN}>
+      <{else}>
+        --
+      <{/if}>
+    </td>
+    <{cycle values=",</tr><tr>" name="systr"}>
+  <{/foreach}>
+  </tr>
+  </tbody>
+</table>
+<br />
 
 
+<h5><{$smarty.const._MD_A_USER_LANG_PERM_BLOCK_ACCESS}></h5>
+
+<{foreach key=i item=permissions from=$blockPermissions}>
+<table class="outer" cellspacing="2">
+  <tr class="head">
+    <th colspan="4"><{$smarty.const._MD_A_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}> )
+      <{/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._MD_A_USER_LANG_PERM_ACCESS}>
+        <{else}>
+        --
+        <{/if}>
+      </td>
+    <{cycle values=",</tr><tr>" name="blktr"}>
+  <{/foreach}>
+    </tr>
+  </tbody>
+</table>
+<br />
+<{/foreach}>


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