view.smarty
来自「PHP 知识管理系统(基于树结构的知识管理系统), 英文原版的PHP源码。」· SMARTY 代码 · 共 51 行
SMARTY
51 行
<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}Document Details{/i18n}: {$context->oDocument->getName()|sanitize}</h2>{if ($document->getIsCheckedOut() == 1)}{capture assign=checkout_user}<strong>{$sCheckoutUser}</strong>{/capture}{if ($isCheckoutUser)}<div class="ktInfoMessage"> <span>{i18n}This document is currently checked out by <strong>you</strong>. If this is incorrect, or you no longer need to make changes to it, please cancel the checkout.{/i18n}</span></div>{else}{if ($canCheckin)}<div class="ktInfoMessage"><span>{i18n arg_checkoutuser=$checkout_user}This document is currently checked out by #checkoutuser#, but youhave sufficient priviledges to cancel their checkout.{/i18n}</span></div>{else}<div class="ktInfoMessage"> <span>{i18n arg_checkoutuser=$checkout_user arg_appname="$appname"}This document is currently checked out by #checkoutuser#. You cannot makechanges until that user checks it in. If you have urgent modifications to make, pleasecontact your #appname# Administrator.{/i18n}</span></div>{/if}{/if}{/if}{if ($document->getImmutable() == true)}<div class="ktInfoMessage"> <span>{i18n}This document is immutable. No further content changes can bemade to this document, and only administrators (in administration mode)can make changes to the metadata or can move or delete it.{/i18n}{if 1} {i18n}If you require assistance from an administrator to perform one ofthese tasks, use the Request Assistance action.{/i18n}{/if}</span></div>{/if}{foreach item=oFieldset from=$fieldsets}{$oFieldset->render($document_data)}{/foreach}{if !empty($viewlet_data)}<!-- Document "Views" --><div id="document-views">{$viewlet_data}</div>{/if}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?