{$document->getName()}

{capture assign=version} {$document->getMajorVersionNumber()}.{$document->getMinorVersionNumber()} {/capture}

{i18n arg_version=$version}showing information for version #version#{/i18n}

{if ($document->getIsCheckedOut() == 1)} {capture assign=checkout_user}{$sCheckoutUser}{/capture} {if ($isCheckoutUser)}

{i18n}This document is currently checked out by you. If this is incorrect, or you no longer need to make changes to it, please cancel the checkout.{/i18n}

{else}

{i18n arg_checkoutuser=$checkout_user}This document is currently checked out by #checkoutuser#. You cannot make changes until that user checks it in. If you have urgent modifications to make, please contact your KnowledgeTree Administrator.{/i18n}

{/if} {/if} {foreach item=oFieldset from=$fieldsets} {$oFieldset->render($document_data)} {/foreach}