actions_edit.smarty.tmp

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

TMP
50
字号
<h2>{i18n}Assign blocked actions{/i18n}</h2><p class="descriptiveText important">{i18n}Actions which are checked on this page will <strong>not</strong> be available to users.{/i18n}</p><form method="POST" action="{$smarty.server.PHP_SELF}"><fieldset><legend>{i18n}Assign Blocked Actions{/i18n}</legend>{foreach from=$args item=v key=k}    <input type="hidden" name="{$k}" value="{$v}" />{/foreach}<div class="action_overview_scroll"><table class="kt_collection narrow" cellspacing="0">    <thead>        <th>{i18n}State{/i18n}</th>      {foreach from=$actions item=oAction}        <th>        	{if $oAction->getDisplayName() != ''}        		{$oAction->getDisplayName()}        	{else}	        		{$oAction->getName()}        	{/if}        </th>        {/foreach}    </thead>        <tbody>      {foreach from=$states item=oState}      {assign value=$oState->getId() var=state_id}        <tr>            <td>{$oState->getName()}</td>            {foreach from=$actions item=oAction}            {assign value=$oAction->getName() var=action_id}                <td class="centered">                          <input type="checkbox" name="fActions[{$state_id}][{$action_id}]" value="{$action_id}" {if ($grid.$state_id.$action_id)}checked="true"{/if} />                </td>            {/foreach}        </tr>      {/foreach}    </tbody></table></div><div class="form_actions">    <input type="submit" value="{i18n}Block actions{/i18n}" />    <a href="{addQS context=$context}action=actionsoverview{/addQS}" class="form_cancel">{i18n}Cancel{/i18n}</a></div></fieldset></form>

⌨️ 快捷键说明

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