📄 managepermissions.smarty.tmp
字号:
<h2>{i18n arg_statename=$context->oState->getName()}Manage Permissions: #statename#{/i18n}</h2>{if empty($perm_grid)}<div class="ktInfoMessage"><span>{i18n}No permissions are controlled by this state. Indicate below which permissions are controlled to allocate them.{/i18n}</span></div>{else}<p class="descriptiveText">{i18n}Once you've selected the permissions you want to controlfor this workflow state, you should allocate these to the appropriate groupsand roles.{/i18n}</p><a class="ktAction ktEdit ktActionDescribed" href="{addQS context=$context}action=allocatepermissions{/addQS}">{i18n}Allocate permissions{/i18n}</a><a href="{addQS context=$context}action=allocatepermissions{/addQS}">{i18n}Allocate permissions{/i18n}</a>{/if}<h3>{i18n}Specify permissions{/i18n}</h3>{capture assign=permgrid}<p class="descriptiveText">{i18n}Select the permissions you want controlled by this state.{/i18n}</p><table class="kt_collection" cellspacing="0"> <thead> <tr> {foreach from=$perms item=oPerm} <th class="centered">{i18n}{$oPerm->getHumanName()}{/i18n}</th> {/foreach} </tr> </thead> <tbody> <tr> {foreach from=$perms item=oPerm} {assign value=$oPerm->getId() var=perm_id} <td class="centered"><input type="checkbox" name="fControlled[{$perm_id}]" {if ($perm_grid[$perm_id])}checked="true"{/if}/></td> {/foreach} </tr> </tbody></table>{/capture}{$form->renderContaining($permgrid, $form->renderButtons())}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -