From a3fa78ae370701cd48c2ee806684176970bdfc01 Mon Sep 17 00:00:00 2001 From: "bitweaver.org" Date: Sun, 15 Jul 2007 18:05:33 +0000 Subject: UI update --- templates/content_permissions.tpl | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'templates/content_permissions.tpl') diff --git a/templates/content_permissions.tpl b/templates/content_permissions.tpl index 0600928..3eaa83f 100644 --- a/templates/content_permissions.tpl +++ b/templates/content_permissions.tpl @@ -24,14 +24,19 @@ {tr}Permission{/tr} {foreach from=$contentPerms.groups item=group} - {if count($contentPerms.groups) gt 10}{$group.group_name|truncate:4:false}{else}{$group.group_name}{/if} + + {if count($contentPerms.groups) gt 10}{$group.group_name|truncate:4:false}{else}{$group.group_name}{/if} + + {/foreach} {/capture} {$th} {foreach from=$contentPerms.assignable key=perm item=permInfo name=perms} + {* {if ($smarty.foreach.perms.iteration % 10) eq 0 and ($smarty.foreach.perms.total - $smarty.foreach.perms.iteration) gt 5}{$th}{/if} + *} {$permInfo.perm_desc}
({$permInfo.perm_name}) {foreach from=$contentPerms.groups key=groupId item=groupInfo} @@ -47,7 +52,9 @@ {assign var=icon value="list-remove"} {* is_revoked icon *} {/if} {/if} - {smartlink itra=false ititle="`$contentPerms.groups.$groupId.group_name` :: $perm" ibiticon=icons/$size$icon action=$action content_id=$gContent->mContentId perm=$perm group_id=$groupId} + + {smartlink itra=false ititle="`$contentPerms.groups.$groupId.group_name` :: $perm" ibiticon=icons/$size$icon action=$action content_id=$gContent->mContentId perm=$perm group_id=$groupId} + {/foreach} {/foreach} @@ -57,7 +64,7 @@

{tr}Legend{/tr}

{foreach from=$contentPerms.groups item=group} -
{$group.group_name|truncate:4:false}
+
{$group.group_id}
{$group.group_name}: {$group.group_desc}
{/foreach}
-- cgit v1.3