aboutsummaryrefslogtreecommitdiffstats
path: root/template/default/admin
diff options
context:
space:
mode:
Diffstat (limited to 'template/default/admin')
-rw-r--r--template/default/admin/waiting.tpl41
-rw-r--r--template/default/admin/waiting.vtp42
2 files changed, 41 insertions, 42 deletions
diff --git a/template/default/admin/waiting.tpl b/template/default/admin/waiting.tpl
new file mode 100644
index 000000000..ccdbfd5e7
--- /dev/null
+++ b/template/default/admin/waiting.tpl
@@ -0,0 +1,41 @@
+<form action="{F_ACTION}" method="post">
+ <!-- BEGIN confirmation -->
+ <div class="info">{L_WAITING_CONFIRMATION}</div>
+ <!-- END confirmation -->
+ <table style="width:100%;" >
+ <tr class="throw">
+ <th style="width:20%;">{L_CATEGORY}</th>
+ <th style="width:20%;">{L_DATE}</th>
+ <th style="width:20%;">{L_FILE}</th>
+ <th style="width:20%;">{L_THUMBNAIL}</th>
+ <th style="width:20%;">{L_AUTHOR}</th>
+ <th style="width:1px;">&nbsp;</th>
+ </tr>
+ <!-- BEGIN picture -->
+ <tr>
+ <td class="{picture.WAITING_CLASS}" style="white-space:nowrap;">{picture.CATEGORY_IMG}</td>
+ <td class="{picture.WAITING_CLASS}" style="white-space:nowrap;">{picture.DATE_IMG}</td>
+ <td class="{picture.WAITING_CLASS}" style="white-space:nowrap;">
+ <a target="_blank" href="{picture.PREVIEW_URL_IMG}">{picture.FILE_IMG}</a>
+ </td>
+ <td class="{picture.WAITING_CLASS}" style="white-space:nowrap;">
+ <!-- BEGIN thumbnail -->
+ <a target="_blank" href="{picture.thumbnail.PREVIEW_URL_TN_IMG}">{picture.thumbnail.FILE_TN_IMG}</a>
+ <!-- END thumbnail -->
+ </td>
+ <td class="{picture.WAITING_CLASS}" style="white-space:nowrap;">
+ <a href="mailto:{picture.UPLOAD_EMAIL}">{picture.UPLOAD_USERNAME}</a>
+ </td>
+ <td class="{picture.WAITING_CLASS}" style="white-space:nowrap;">
+ <input type="radio" name="validate-{picture.ID_IMG}" value="true" />{L_SUBMIT}
+ <input type="radio" name="validate-{picture.ID_IMG}" value="false" />{L_DELETE}
+ </td>
+ </tr>
+ <!-- END picture -->
+ <tr>
+ <td colspan="5" align="center">
+ <input type="submit" name="submit" value="{L_SUBMIT}" class="bouton" />
+ </td>
+ </tr>
+ </table>
+</form> \ No newline at end of file
diff --git a/template/default/admin/waiting.vtp b/template/default/admin/waiting.vtp
deleted file mode 100644
index b04ab2cff..000000000
--- a/template/default/admin/waiting.vtp
+++ /dev/null
@@ -1,42 +0,0 @@
-<form action="{#action}" method="post">
- <!--VTP_confirmation-->
- <div class="info">{#waiting_update}</div>
- <!--/VTP_confirmation-->
- <table style="width:100%;">
- <tr>
- <th style="width:20%;">{#category}</th>
- <th style="width:20%;">{#date}</th>
- <th style="width:20%;">{#file}</th>
- <th style="width:20%;">{#thumbnail}</th>
- <th style="width:20%;">{#author}</th>
- <th style="width:1px;">&nbsp;</th>
- </tr>
- <!--VTP_picture-->
- <tr>
- <td class="{#class}" style="white-space:nowrap;">{#cat_name}</td>
- <td class="{#class}" style="white-space:nowrap;">{#date}</td>
- <td class="{#class}" style="white-space:nowrap;">
- <a target="_blank" href="{#preview_url}">{#file}</a>
- </td>
- <td class="{#class}" style="white-space:nowrap;">
- <!--VTP_thumbnail-->
- <a target="_blank" href="{#preview_url}">{#file}</a>
- <!--/VTP_thumbnail-->
- <!--VTP_no_thumbnail-->
- &nbsp;
- <!--/VTP_no_thumbnail-->
- </td>
- <td class="{#class}" style="white-space:nowrap;">
- <a href="mailto:{#mail_address}">{#username}</a>
- </td>
- <td class="{#class}" style="white-space:nowrap;">
- <input type="radio" name="validate-{#id}" value="true" />{#submit}
- <input type="radio" name="validate-{#id}" value="false" />{#delete}
- </td>
- </tr>
- <!--/VTP_picture-->
- <tr>
- <td colspan="5" align="center"><input type="submit" name="submit" value="{#submit}" style="margin:5px;" /></td>
- </tr>
- </table>
-</form> \ No newline at end of file