aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template/upload.tpl
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-03-13 00:00:52 +0000
committerplegall <plg@piwigo.org>2010-03-13 00:00:52 +0000
commit14778ce673277f2df41f963aa70df1cbed427294 (patch)
tree8c723d4d9827876dbf19d2bd581405fc50910860 /admin/themes/default/template/upload.tpl
parentc396f08708d431c6f7e8656eaca4fd8e440fdd39 (diff)
feature 1502: based on Dotclear model, P@t has reorganized the way Piwigo
manages template/theme in a simpler "theme only level" architecture. It supports multiple level inheritance. git-svn-id: http://piwigo.org/svn/trunk@5123 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default/template/upload.tpl')
-rw-r--r--admin/themes/default/template/upload.tpl51
1 files changed, 51 insertions, 0 deletions
diff --git a/admin/themes/default/template/upload.tpl b/admin/themes/default/template/upload.tpl
new file mode 100644
index 000000000..cc56d9a02
--- /dev/null
+++ b/admin/themes/default/template/upload.tpl
@@ -0,0 +1,51 @@
+<div class="titrePage">
+ <h2>{'Waiting'|@translate} {$TABSHEET_TITLE}</h2>
+</div>
+
+<h3>{'Pictures waiting for validation'|@translate}</h3>
+
+<form action="{$F_ACTION}" method="post" id="waiting">
+ <table style="width:99%;" >
+ <tr class="throw">
+ <td style="width:20%;">{'Category'|@translate}</td>
+ <td style="width:20%;">{'Date'|@translate}</td>
+ <td style="width:20%;">{'File'|@translate}</td>
+ <td style="width:20%;">{'Thumbnail'|@translate}</td>
+ <td style="width:20%;">{'Author'|@translate}</td>
+ <td style="width:1px;">&nbsp;</td>
+ </tr>
+
+ {if not empty($pictures) }
+ {foreach from=$pictures item=picture name=picture_loop}
+ <tr class="{if $smarty.foreach.picture_loop.index is odd}row1{else}row2{/if}">
+ <td style="white-space:nowrap;">{$picture.CATEGORY_IMG}</td>
+ <td style="white-space:nowrap;">{$picture.DATE_IMG}</td>
+ <td style="white-space:nowrap;">
+ <a href="{$picture.PREVIEW_URL_IMG}" title="{$picture.FILE_TITLE}">{$picture.FILE_IMG}</a>
+ </td>
+ <td style="white-space:nowrap;">
+ {if not empty($picture.thumbnail) }
+ <a href="{$picture.thumbnail.PREVIEW_URL_TN_IMG}" title="{$picture.thumbnail.FILE_TN_TITLE}">{$picture.thumbnail.FILE_TN_IMG}</a>
+ {/if}
+ </td>
+ <td style="white-space:nowrap;">
+ <a href="mailto:{$picture.UPLOAD_EMAIL}">{$picture.UPLOAD_USERNAME}</a>
+ </td>
+ <td style="white-space:nowrap;">
+ <label><input type="radio" name="action-{$picture.ID_IMG}" value="validate"> {'Validate'|@translate}</label>
+ <label><input type="radio" name="action-{$picture.ID_IMG}" value="reject"> {'Reject'|@translate}</label>
+ </td>
+ </tr>
+ {/foreach}
+ {/if}
+ </table>
+
+ <p class="bottomButtons">
+ <input type="hidden" name="list" value="{$LIST}">
+ <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}>
+ <input class="submit" type="submit" name="validate-all" value="{'Validate All'|@translate}" {$TAG_INPUT_ENABLED}>
+ <input class="submit" type="submit" name="reject-all" value="{'Reject All'|@translate}" {$TAG_INPUT_ENABLED}>
+ <input class="submit" type="reset" value="{'Reset'|@translate}">
+ </p>
+
+</form>