{if $do == 'account'}

公众号名称 |

公众号码 | 当前所属用户 |
--- | --- | ---
{loop $wechats $row}
{$row['name']} | {if $row['owner']}当前用户{else}{$row['member']['username']}{/if} | {if $row['owner']}收回管理权限{else}授权此用户管理{/if}
{/loop}

{$pager}
{/if} {if $do == 'module'}

模块名称 | 模块标识 | 功能简述 | 可访问否 |
--- | --- | --- | --- | ---
{loop $modules $row}
{$row['title']} | {$row['name']} | {$row['ability']} | {if $row['owner']}可访问{/if}{if $row['issystem']}系统模块{/if} | {if !empty($groupsmodules['modules']) && in_array($row['mid'], $groupsmodules['modules'])}继承用户组{else}{if !$row['issystem']}{if $row['owner']}收回访问权限{else}授权此用户访问{/if}{/if}{/if}
{/loop}

{$pager}
{/if} {if $do == 'template'}

模板名称 | 模板标识 | 功能简介 | 可访问否 |
--- | --- | --- | --- | ---
{loop $templates $temp}
{$temp['title']} | {$temp['name']} | {$temp['description']} | {if $temp['owner']}可访问{/if}{if $temp['name'] == 'default'}系统模块{/if} | {if !empty($groupsmodules['templates']) && in_array($temp['id'], $groupsmodules['templates'])}继承用户组{else}{if $temp['name'] != 'default'}{if $temp['owner']}收回访问权限{else}授权此用户访问{/if}{/if}{/if}
{/loop}

{$pager}
{/if}