⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 edit_view.smarty

📁 PHP 知识管理系统(基于树结构的知识管理系统), 英文原版的PHP源码。
💻 SMARTY
字号:
<h2>{i18n}Edit View{/i18n}</h2><p class="descriptiveText">{i18n}The columns included in this view are displayed below.  To add additional columns into theview, use the form below the list.  To remove items, click on the "delete" icon next to the column name.  Note that some columns may be requiredin a given view. Also, while you canhave multiple copies of a given column in a specific view this is not recommended.{/i18n}</p>{if (!empty($current_columns))}<table class="kt_collection narrow" cellspacing="0">    <thead>        <tr>            <th>{i18n}Column{/i18n}</th>            <th>{i18n}Delete{/i18n}</th>            <th colspan="2">{i18n}Position{/i18n}</th>        </tr>    </thead>    <tbody>    {foreach name=cols from=$current_columns item=oColumn}        <tr>            <td>{$oColumn->getName()}</td>            {if $oColumn->getRequiredInView()}            <td>&mdash;</td>            {else}            <td><a href="{addQS}action=deleteEntry&entry_id={$oColumn->getEntryId()}&viewNS={$view}{/addQS}" class="ktAction ktDelete">{i18n}Delete{/i18n}</a></td>            {/if}            <td>                {if !$smarty.foreach.cols.first}                    <a href="{addQS}action=orderUp&entry_id={$oColumn->getEntryId()}&viewNS={$view}{/addQS}" class="ktAction ktMoveUp">{i18n}Reorder up{/i18n}</a>                {/if}            </td>            <td>                {if !$smarty.foreach.cols.last}                    <a href="{addQS}action=orderDown&entry_id={$oColumn->getEntryId()}&viewNS={$view}{/addQS}" class="ktAction ktMoveDown">{i18n}Reorder down{/i18n}</a>                {/if}            </td>        </tr>    {/foreach}    </tbody></table>{else}<div class="ktInfoMessage"><span>{i18n}No columns have been added to this view{/i18n}</span></div>{/if}<form method="POST" action="{$smarty.server.PHP_SELF}"><fieldset>    <legend>{i18n}Add a Column{/i18n}</legend>    {$add_field->render()}    <div class="form_actions">        <input type="submit" value="{i18n}Add Column to View{/i18n}"/>        <input type="hidden" name="action" value="addEntry" />        <input type="hidden" name="viewNS" value="{$view}" />    </div></fieldset></form>

⌨️ 快捷键说明

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