Commit 872df810e8c6bea779a92d117c29fc0607c255ee
1 parent
4ebe17d3
Template for archive action.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4101 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
21 additions
and
0 deletions
templates/ktcore/action/archive.smarty
0 → 100644
| 1 | +<p class="descriptiveText">FIXME: Descriptive text.</p> | |
| 2 | + | |
| 3 | +{assign var=iDocumentId value=$context->oDocument->getId()} | |
| 4 | +<p class="descriptiveText">If you do not intend to archive this document, you should | |
| 5 | +<a href="{"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"}">cancel | |
| 6 | +the archive</a>.</p> | |
| 7 | + | |
| 8 | +<form method="POST" action="{$smarty.server.PHP_SELF}"> | |
| 9 | +<fieldset><legend>Archive</legend> | |
| 10 | +<input type="hidden" name="action" value="move" /> | |
| 11 | +<input type="hidden" name="fDocumentId" value="{$iDocumentId}" /> | |
| 12 | +{foreach from=$fields item=oWidget } | |
| 13 | + {$oWidget->render()} | |
| 14 | +{/foreach} | |
| 15 | + | |
| 16 | +<div class="form_actions"> | |
| 17 | +<input type="submit" name="submit[move]" value="Move" /> | |
| 18 | +<input type="submit" name="submit[cancel]" value="Cancel" /> | |
| 19 | +</div> | |
| 20 | +</fieldset> | |
| 21 | +</form> | ... | ... |