restrictions_edit.smarty
来自「PHP 知识管理系统(基于树结构的知识管理系统), 英文原版的PHP源码。」· SMARTY 代码 · 共 35 行
SMARTY
35 行
<h2>{i18n arg_name=$context->oTransition->getHumanName()}Transition Restrictions: #name#{/i18n}</h2> <p class="descriptiveText important">{i18n}All of these must allow the user to perform the transition.{/i18n}</p>{$add_form->render()} <br /> {if empty($aGuardTriggers)} <div class="ktInfoMessage"><span>{i18n}Anybody (with the ability to see the document) can perform this transition.{/i18n}</span></div> {else} <table class="kt_collection narrow" cellspacing="0"> <thead> <tr> <th>{i18n}Restriction{/i18n}</th> <th>{i18n}Edit{/i18n}</th> <th>{i18n}Delete{/i18n}</th> <th>{i18n}Configuration{/i18n}</th> </tr> </thead> <tbody> {foreach from=$aGuardTriggers item=oTrigger} <tr> <td>{$oTrigger->getName()}</td> <td>{if $oTrigger->bIsConfigurable}<a class="ktAction ktEdit" href="{addQS context=$context}action=editguardtrigger&fTriggerInstanceId={$oTrigger->getConfigId()}{/addQS}">edit</a>{else}—{/if}</td> <td><a class="ktAction ktDelete" href="{addQS context=$context}action=deleteguardtrigger&fTriggerInstanceId={$oTrigger->getConfigId()}{/addQS}">delete</a></td> <td>{$oTrigger->getConfigDescription()}</td> </tr> {/foreach} </tbody> </table> {/if}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?