{if !empty($perms['parent']) || $userInfo['role'] == 'operator'} {if $action=='userpost'}
{/if}
{php}$i=0;{/php} {foreach $perms['parent'] as $key => $value}
展开
{if count($perms['parent'][$key]) >1} {foreach $perms['parent'][$key] as $ke => $val} {if $ke != 'text'} {else} {/if} {/foreach}
{/if} {if !empty($perms['son'][$key])} {foreach $perms['son'][$key] as $ke => $val} {/foreach} {/if}
{php}$i++;{/php} {/foreach}
{/if}