diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-07-08 09:37:04 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-07-08 09:37:04 +0000 |
| commit | 71852b35cf55beaa9366821722a70399101860d7 (patch) | |
| tree | 61aa8516a46b26876edf82f3460fef60b9e8a43e /templates/admin_permissions.tpl | |
| parent | 4c218fbbb10c9b0365f38a265aedc1fe032fb218 (diff) | |
| download | users-71852b35cf55beaa9366821722a70399101860d7.tar.gz users-71852b35cf55beaa9366821722a70399101860d7.tar.bz2 users-71852b35cf55beaa9366821722a70399101860d7.zip | |
add a basic overview of what content has custom permissions for easier access and better control over what is going on
Diffstat (limited to 'templates/admin_permissions.tpl')
| -rw-r--r-- | templates/admin_permissions.tpl | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/admin_permissions.tpl b/templates/admin_permissions.tpl index 41846ea..d6cf28a 100644 --- a/templates/admin_permissions.tpl +++ b/templates/admin_permissions.tpl @@ -5,6 +5,7 @@ </div> <div class="body"> + <p class="help">{tr}Hover your mouse over the permissions and a descirption of the permission will appear{/tr}</p> {formfeedback hash=$feedback} {form} @@ -59,6 +60,33 @@ {/foreach} </dl> {/if} + + {if $contentWithPermissions} + <h2>{tr}Content with individual Permissions{/tr}</h2> + <ul> + {foreach from=$contentWithPermissions item=content key=content_type_guid} + <li><em>{$gLibertySystem->getContentTypeDescription($content_type_guid)}</em> + <ul> + {foreach from=$content item=perms key=content_id} + <li><a href="{$smarty.const.LIBERTY_PKG_URL}content_permissions.php?content_id={$content_id}">{$perms.0.title}</a> + <ul> + {foreach from=$perms item=perm} + <li> + {$perm.group_name}: {if $perm.is_excluded} + {biticon iname=list-remove iexplain="Removed Permission"} + {else} + {biticon iname=list-add iexplain="Added Permission"} + {/if} {$perm.perm_name} + </li> + {/foreach} + </ul> + </li> + {/foreach} + </ul> + </li> + {/foreach} + </ul> + {/if} </div><!-- end .body --> </div><!-- end .users --> {/strip} |
