The file workflow/engine/methods/tracker/tracker_ShowOutputDocument.php was incomplete, there were not some validations like versioning, and there were not taking into account the extension of the file to download. I add those validations, taking like example the file /workflow/engine/methods/cases/cases_ShowOutputDocument.php
28 lines
635 B
XML
Executable File
28 lines
635 B
XML
Executable File
<?xml version="1.0" encoding="UTF-8"?>
|
|
<dynaForm name="tracker_ViewAnyOutputDocument" type="xmlform" width="100%" labelWidth="">
|
|
|
|
<OUT_DOC_TITLE type="caption">
|
|
<en>Output document</en>
|
|
</OUT_DOC_TITLE>
|
|
|
|
|
|
|
|
<APP_DOC_CREATE_DATE type="caption">
|
|
<en>Create Date</en>
|
|
</APP_DOC_CREATE_DATE>
|
|
|
|
<VIEW type="phpVariable"/>
|
|
|
|
<FILE1 type="phpVariable"/>
|
|
|
|
<FILE2 type="phpVariable"/>
|
|
|
|
<APP_DOC_FILENAME1 type="link" value="@#VIEW" link="@#FILE1" target="_blank">
|
|
<en>File (.doc)</en>
|
|
</APP_DOC_FILENAME1>
|
|
|
|
<APP_DOC_FILENAME2 type="link" value="@#VIEW" link="@#FILE2" target="_blank">
|
|
<en>File (.pdf)</en>
|
|
</APP_DOC_FILENAME2>
|
|
|
|
</dynaForm> |