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