4 * Copyright (c) 2003-2008 John Willinsky
5 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
7 * Subtemplate defining the submission summary table.
9 * $Id: components.tpl,v 1.4 2009/08/13 00:38:49 tylerl Exp $
11 <h3>{translate key="manuscript.artwork"}</h3>
13 <form method="post" action="{url op="submitArtwork" path=$submission->getMonographId()}" enctype="multipart/form-data">
14 <input type="hidden" name="from" value="submissionArt" />
15 <input type="hidden" name="monographId" value="{$submission->getMonographId()}" />
19 <input type="file" name="coverFile" size="10" class="uploadField" />
20 <input type="submit" name="uploadCoverFile" value="{translate key="common.upload"}" class="button" />
28 {foreach from=$artworks item=artwork}
32 <a target="_blank" href="{url op="viewFile" path=$submission->getMonographId()|to_array:$artwork->getFileId():$artwork->getRevision()}">
33 <img class="thumbnail" width="50" src="{url op="viewFile" path=$submission->getMonographId()|to_array:$artwork->getFileId():$artwork->getRevision()}" />
37 {$artwork->getIdentifier()}<br />
38 Revision: {$artwork->getRevision()}<br />
39 <a href="{url op="removeArtworkFile" path=$submission->getMonographId()|to_array:$artwork->getFileId()}">Remove</a>
43 <em>No artwork files have been uploaded yet!</em>
47 <h4>Upload Artwork</h4>
50 <td>Identifier</td><td><input type="text" name="identifier" /></td>
53 <td>Monograph Component</td><td><select name="componentId">
54 <option>--Select--</option>
55 {foreach from=$submission->getComponents() item=component}
56 <option value="{$component->getId()}">{$component->getLocalizedTitle()}</option>
61 <td>File</td><td><input type="file" name="artworkFile" size="10" class="uploadField" /></td>
64 <td></td><td><input type="submit" name="uploadNewArtwork" value="{translate key="common.upload"}" class="button" /></td>
69 <option>--Select--</option>
71 <option>Illustration</option>
72 <option>Image</option>
73 <option>Graph</option>
74 <option>Other...</option>
77 <input type="checkbox" /> Permitted Use