{i18n}Archiving a document changes the document's state to invisible to non-administrative users. Only an Administrator may unarchive a document. Please note that this is a non-permanent change and does not delete the document from the repository.{/i18n}

{assign var=iDocumentId value=$context->oDocument->getId()} {capture assign=link} {"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"} {/capture}

{i18n arg_link=$link}If you do not intend to archive this document, you should cancel the archive.{/i18n}

{i18n}Archive{/i18n} {foreach from=$fields item=oWidget } {$oWidget->render()} {/foreach}