{* $Id$ *} {foreach $fb as $info} {if $info.count > 0} {if $info.count == 1} {$poptitle = "{tr}Permission successfully changed{/tr}"} {if $info.type === 'global'} {$header = "{tr}Global permission{/tr}"} {else} {if $info.objid !== $info.objname} {$header = "{tr _0=$info.objtype _1="{$info.objname}" _2=$info.objid}Object permission for the %0 %1 (ID %2){/tr}"} {else} {$header = "{tr _0=$info.objtype _1="{$info.objname}"}Object permission for the %0 %1{/tr}"} {/if} {/if} {else} {$poptitle = "{tr}Permissions successfully changed{/tr}"} {if $info.type === 'global'} {$header = "{tr}Global permissions{/tr}"} {else} {if $info.objid !== $info.objname} {$header = "{tr _0=$info.objtype _1="{$info.objname}" _2=$info.objid}Object permissions for the %0 %1 (ID %2){/tr}"} {else} {$header = "{tr _0=$info.objtype _1="{$info.objname}"}Object permissions for the %0 %1{/tr}"} {/if} {/if} {/if} {remarksbox type='feedback' title="$poptitle"}