generic.smarty 1.17 KB
<div class="detail_fieldset">
    <h3>{i18n}Generic Information{/i18n}</h3>
    <p class="descriptiveText">
        {i18n}The information in this section is stored by KnowledgeTree&trade; for every
        document.{/i18n}
    </p>
    <dl class="metadata">
        <dt>{i18n}Document Filename{/i18n}</dt>
        <dd>{$filename} ({$context->_sizeHelper($document->getSize())})</dd>
        
        <dt>{i18n}File is a{/i18n} </dt>
        <dd>{$context->_mimeHelper($document->getMimeTypeID())}</dd>

        <dt>{i18n}Created by{/i18n}</dt>
        <dd>{$creator} ({$creation_date})</dd>

        <dt>{i18n}Last update by{/i18n}</dt>
        <dd>{$last_modified_by} ({$last_modified_date})</dd>

        <dt>{i18n}Document Type{/i18n}</dt>
        <dd>{$document_type}</dd>

        <dt>{i18n}Workflow status{/i18n}</dt>
        <dd>
{if $workflow_state}
{$workflow_state->getName()}
{else}
{i18n}No workflow{/i18n}
{/if}
{assign var=iDocumentId value=$document->getId()}
 (<a href="{ktLink base="action.php" subpath="/ktcore.actions.document.workflow" query="fDocumentId=`$iDocumentId`"}">{i18n}manage workflow{/i18n}</a>)
</dd>
    </dl>
    <div class="floatClear"><!-- --> </div>
</div>