{assign var=Rights value=$Site->getRights()} {title text="Seitenrechte"}
{$Rights->getColName('view')}
{explode var=$Site->getAttribute('pcsg.rights.view') delimiter=',' assign=gids} {assign var=name value=","} {foreach from=$gids item=gid} {if $Groups->getGroupNameById($gid)} {capture assign=name}{$name}{$Groups->getGroupNameById($gid)},{/capture} {/if} {/foreach}
 
{$Rights->getColName('edit')}
{explode var=$Site->getAttribute('pcsg.rights.edit') delimiter=',' assign=gids} {assign var=name value=","} {foreach from=$gids item=gid} {if $Groups->getGroupNameById($gid)} {capture assign=name}{$name}{$Groups->getGroupNameById($gid)},{/capture} {/if} {/foreach}
 
{$Rights->getColName('del')}
{explode var=$Site->getAttribute('pcsg.rights.delete') delimiter=',' assign=gids} {assign var=name value=","} {foreach from=$gids item=gid} {if $Groups->getGroupNameById($gid)} {capture assign=name}{$name}{$Groups->getGroupNameById($gid)},{/capture} {/if} {/foreach}
 
{$Rights->getColName('new')}
{explode var=$Site->getAttribute('pcsg.rights.new') delimiter=',' assign=gids} {assign var=name value=","} {foreach from=$gids item=gid} {if $Groups->getGroupNameById($gid)} {capture assign=name}{$name}{$Groups->getGroupNameById($gid)},{/capture} {/if} {/foreach}
{title text="Pluginrechte"} {assign var=allrights value=""} {foreach from=$Rights->getCols() key=right item=itm} {if $right != 'view' && $right != 'edit' && $right != 'del' && $right != 'new' } {capture assign=allrights}{$allrights},{$right}{/capture} {/if} {/foreach}
{$itm}
{capture assign=attributes}pcsg.rights.{$right}{/capture} {explode var=$Site->getAttribute($attributes) delimiter=',' assign=gids} {assign var=name value=","} {foreach from=$gids item=gid} {if $Groups->getGroupNameById($gid)} {capture assign=name}{$name}{$Groups->getGroupNameById($gid)},{/capture} {/if} {/foreach}