view_document.smarty 766 Bytes
<h2>{$document->getName()}</h2>
{capture assign=version}
{$document->getMajorVersionNumber()}.{$document->getMinorVersionNumber()}
{/capture}
<p class="descriptiveText">{i18n arg_version=$version}showing information for <strong>version
#version#</strong>{/i18n}</p>
{if ($document->getIsCheckedOut() == 1)}
{capture assign=checkout_user}<strong>{$sCheckoutUser}</strong>{/capture}
<div class="ktInfo">
<p>{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}</p>
</div>
{/if}    
{foreach item=oFieldset from=$fieldsets}
{$oFieldset->render($document_data)}
{/foreach}