createtransition.smarty.svn-base

来自「PHP 知识管理系统(基于树结构的知识管理系统), 英文原版的PHP源码。」· SVN-BASE 代码 · 共 40 行

SVN-BASE
40
字号
<h2>{i18n}Manage Transitions{/i18n}</h2><p class="descriptiveText">{i18n}Transitions are what drive the workflow of documents.Each step that needs to be followed in the document's lifecycle couldmap to a transition, and can be allowed or denied by a combinationof roles, permissions and groups.{/i18n}</p><p class="descriptiveText">{i18n}Use the form below to create a new Transition, andassign or edit existing transitions using the table below.{/i18n}</p><form action="{$smarty.server.PHP_SELF}" method="POST"><fieldset><legend>{i18n}Create a new transition{/i18n}</legend><input type="hidden" name="action" value="newTransition" /><input type="hidden" name="fWorkflowId" value="{$oWorkflow->getId()}" />{* Standard Form *}{foreach item=oWidget from=$add_fields}  {$oWidget->render()}{/foreach}<div class="field"><label>{i18n}Source States{/i18n}</label><p class="descriptiveText">{i18n}Please select which states this transition should be available from.  <strong>Note</strong>that transitions are never available from their target state, even if you specify it below.{/i18n}</p>{foreach item=oState from=$workflow_info.states}<label><input type="checkbox" name="fStatesAvailableIn[{$oState->getId()}]" />{$oState->getName()}</label>{/foreach}</div><div class="form_actions"><input type="submit" name="submit" value="{i18n}Create transition{/i18n}" /></div></fieldset></form></form>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?