From 9af44666ba748030338ba320b3fca3183bb66daa Mon Sep 17 00:00:00 2001 From: Max Kremmel Date: Sun, 17 Jun 2007 17:14:54 +0000 Subject: massive rework of group permission assignment UI. this interface is a 'everything on one page' type solution. it also replaces the unassigned permissions page which was really just a temporary solution --- templates/admin_permissions.tpl | 58 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 templates/admin_permissions.tpl (limited to 'templates/admin_permissions.tpl') diff --git a/templates/admin_permissions.tpl b/templates/admin_permissions.tpl new file mode 100644 index 0000000..704ca50 --- /dev/null +++ b/templates/admin_permissions.tpl @@ -0,0 +1,58 @@ +{strip} +
+
+

{tr}Assign Group Permissions{/tr}

+
+ +
+ {formfeedback hash=$feedback} + + {form} + + + {smartlink ititle=All package=$packageKey} + {foreach from=$permPackages key=i item=packageKey} + {if $gBitSystem->isPackageActive($packageKey)} +  • {smartlink ititle=$gBitSystem->mPackages.$packageKey.name|default:$packageKey package=$packageKey} + {/if} + {/foreach} + + + + + + + + {foreach from=$allGroups item=group} + + {/foreach} + + {foreach from=$allPerms item=perm key=p} + + + + + {foreach from=$allGroups item=group} + + {/foreach} + + {/foreach} +
{tr}Available Permissions{/tr}
{tr}Permission{/tr}{tr}Package{/tr}{$group.group_id}
{if $unassignedPerms.$p}{biticon iname=dialog-warning iexplian="Unassigned Permission"}{/if}{$p}{$perm.package} + +
+ +
+ +
+ {/form} + +
+ {foreach from=$allGroups item=group} +
{$group.group_id}
+
{$group.group_name}: {$group.group_desc}
+ {/foreach} +
+ +
+
+{/strip} -- cgit v1.3