comparison_version_select.smarty

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

SMARTY
31
字号
<h2><img src="{if $config->get("ui/morphEnabled") == '1'}{$rootUrl}/skins/kts_{$config->get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}Select Document Version to compare against{/i18n}</h2><p class="descriptiveText">{i18n}This page lists versions of document metadata and allows you to compare a metadata version with the current metadata content.{/i18n}</p>    <table class="document_history" summary="{i18n arg_appname="$appname"}Document History for #appname# New UI Presentation{/i18n}" cellspacing="0">        <thead>            <tr>                <th class="username">{i18n}User{/i18n}</th>                <th class="date">{i18n}Metadata Version{/i18n}</th>                <th class="compare">{i18n}Compare{/i18n}</th>            </tr>        </thead>        <tbody>          {foreach item=oVersion from=$versions}            <tr class="{cycle values=even,odd}">                <td class="username">{$context->getUserForId($oVersion->getVersionCreatorId())}</td>                <td class="date">{$oVersion->getMetadataVersion()}</td>                <td class="compare">                {if ($document->getCurrentMetadataVersionId() == $oVersion->getCurrentMetadataVersionId())}                   <strong>{i18n}comparing against this version{/i18n}</strong>                {else}                   <a href="{addQS}action=viewComparison&fDocumentId={$document->getId()}&fBaseVersion={$document->getCurrentMetadataVersionId()}&fComparisonVersion={$oVersion->getCurrentMetadataVersionId()}{/addQS}">{i18n}compare{/i18n}</a>                {/if}                </td>            </tr>            {/foreach}        </tbody>            </table>

⌨️ 快捷键说明

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