managepermissions.smarty.2.tmp
来自「PHP 知识管理系统(基于树结构的知识管理系统), 英文原版的PHP源码。」· TMP 代码 · 共 42 行
TMP
42 行
<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 + =
减小字号Ctrl + -
显示快捷键?