1 | {* $Id: upload.tpl 2531 2008-09-14 12:25:34Z vdigital $ *} |
---|
2 | <div class="titrePage"> |
---|
3 | <h2>{'waiting'|@translate} {$TABSHEET_TITLE}</h2> |
---|
4 | </div> |
---|
5 | |
---|
6 | <h3>{'title_upload'|@translate}</h3> |
---|
7 | |
---|
8 | <form action="{$F_ACTION}" method="post" id="waiting"> |
---|
9 | <table style="width:99%;" > |
---|
10 | <tr class="throw"> |
---|
11 | <th style="width:20%;">{'category'|@translate}</th> |
---|
12 | <th style="width:20%;">{'Date'|@translate}</th> |
---|
13 | <th style="width:20%;">{'file'|@translate}</th> |
---|
14 | <th style="width:20%;">{'thumbnail'|@translate}</th> |
---|
15 | <th style="width:20%;">{'Author'|@translate}</th> |
---|
16 | <th style="width:1px;"> </th> |
---|
17 | </tr> |
---|
18 | |
---|
19 | {if not empty($pictures) } |
---|
20 | {foreach from=$pictures item=picture name=picture_loop} |
---|
21 | <tr class="{if $smarty.foreach.picture_loop.index is odd}row1{else}row2{/if}"> |
---|
22 | <td style="white-space:nowrap;">{$picture.CATEGORY_IMG}</td> |
---|
23 | <td style="white-space:nowrap;">{$picture.DATE_IMG}</td> |
---|
24 | <td style="white-space:nowrap;"> |
---|
25 | <a href="{$picture.PREVIEW_URL_IMG}" title="{$picture.FILE_TITLE}">{$picture.FILE_IMG}</a> |
---|
26 | </td> |
---|
27 | <td style="white-space:nowrap;"> |
---|
28 | {if not empty($picture.thumbnail) } |
---|
29 | <a href="{$picture.thumbnail.PREVIEW_URL_TN_IMG}" title="{$picture.thumbnail.FILE_TN_TITLE}">{$picture.thumbnail.FILE_TN_IMG}</a> |
---|
30 | {/if} |
---|
31 | </td> |
---|
32 | <td style="white-space:nowrap;"> |
---|
33 | <a href="mailto:{$picture.UPLOAD_EMAIL}">{$picture.UPLOAD_USERNAME}</a> |
---|
34 | </td> |
---|
35 | <td style="white-space:nowrap;"> |
---|
36 | <label><input type="radio" name="action-{$picture.ID_IMG}" value="validate" /> {'Validate'|@translate}</label> |
---|
37 | <label><input type="radio" name="action-{$picture.ID_IMG}" value="reject" /> {'Reject'|@translate}</label> |
---|
38 | </td> |
---|
39 | </tr> |
---|
40 | {/foreach} |
---|
41 | {/if} |
---|
42 | </table> |
---|
43 | |
---|
44 | <p class="bottomButtons"> |
---|
45 | <input type="hidden" name="list" value="{$LIST}" /> |
---|
46 | <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}/> |
---|
47 | <input class="submit" type="submit" name="validate-all" value="{'Validate All'|@translate}" {$TAG_INPUT_ENABLED}/> |
---|
48 | <input class="submit" type="submit" name="reject-all" value="{'Reject All'|@translate}" {$TAG_INPUT_ENABLED}/> |
---|
49 | <input class="submit" type="reset" value="{'Reset'|@translate}" /> |
---|
50 | </p> |
---|
51 | |
---|
52 | </form> |
---|