aboutsummaryrefslogtreecommitdiffstats
path: root/template/default/comments.tpl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--template/default/comments.tpl102
1 files changed, 48 insertions, 54 deletions
diff --git a/template/default/comments.tpl b/template/default/comments.tpl
index e4a46e4b5..71f3a4c62 100644
--- a/template/default/comments.tpl
+++ b/template/default/comments.tpl
@@ -1,61 +1,55 @@
-<table style="width:100%;">
- <tr align="center" valign="middle">
- <td>
- {T_START}1px{T_BEGIN}
- <div class="titrePage">{L_TITLE}</div>
- {T_END}
- <div style="margin-bottom:20px"></div>
- {T_START}90%{T_BEGIN}
-<table style="width:100%;">
- <tr>
- <th>
+<!-- BEGIN title -->
+<div class="titrePage">{L_COMMENT_TITLE}</div>
+<!-- END title -->
+<div class="admin">
[
<!-- BEGIN last_day_option -->
- <a href="{last_day_option.U_OPTION}" style="{last_day_option.T_STYLE}">{last_day_option.OPTION}</a>{T_SEPARATION}
+ <a class="admin" href="{last_day_option.U_OPTION}" style="{last_day_option.T_STYLE}">{last_day_option.OPTION}</a>{T_SEPARATION}
<!-- END last_day_option -->
- {L_STATS}
+ {L_COMMENT_STATS}
]
- [ <a href="{U_HOME}">{L_RETURN}</a> ]
- </th>
- </tr>
-</table>
+ <!-- BEGIN title -->
+ [ <a class="admin" href="{U_HOME}">{L_COMMENT_RETURN}</a> ]
+ <!-- END title -->
+</div>
+<!-- BEGIN validation -->
+<form action="{F_ACTION}" method="post">
+<!-- END validation -->
+<table class="table2">
<!-- BEGIN picture -->
-<div style="border:2px solid gray;margin:2px;padding:2px;">
- <table style="width:100%;">
- <tr>
- <td valign="top" style="width:15%;">
- <!-- the thumbnail of the picture, linked to the full size page -->
- <a href="{picture.U_THUMB}" title="{picture.TITLE_IMG}">
- <img src="{picture.I_THUMB}" class="imgLink" alt="{picture.THUMB_ALT_IMG}"/>
- </a>
- </td>
- <td style="padding:10px;width:85%;">
- <div style="font-weight:bold;padding-left:10px;text-align:left;">{picture.TITLE_IMG}</div>
- <!-- BEGIN comment -->
- <table class="tableComment">
- <tr>
- <td rowspan="2" valign="top" class="cellAuthor">
- <div class="commentsAuthor">{picture.comment.AUTHOR}</div>
- </td>
- <td class="cellInfo">
- <div class="commentsInfos">
- {picture.comment.DATE}
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="commentsContent">{picture.comment.CONTENT}</div>
- </td>
- </tr>
- </table>
- <!-- END comment -->
- </td>
- </tr>
+<tr class="row1">
+<td >
+<a href="{picture.U_THUMB}" title="{picture.TITLE_IMG}">
+<img src="{picture.I_THUMB}" class="thumbLink" alt="{picture.THUMB_ALT_IMG}"/>
+</a>
+</td>
+<td class="tablecompact">
+ <div class="commentTitle">{picture.TITLE_IMG}</div>
+ <div class="commentsNavigationBar">{picture.NAV_BAR}</div>
+ <table class="tablecompact">
+ <!-- BEGIN comment -->
+ <tr class="throw">
+ <td class="throw">
+ {picture.comment.COMMENT_AUTHOR}
+ </td>
+ <td class="commentDate">
+ {picture.comment.COMMENT_DATE}
+ <!-- BEGIN validation -->
+ <input type="checkbox" name="comment_id[]" value="{picture.comment.validation.ID}" {picture.comment.validation.CHECKED} />
+ <!-- END validation -->
+ </td>
+ </tr>
+ <tr class="row1">
+ <td class="comment" colspan="2">{picture.comment.COMMENT}</td>
+ </tr>
+ <!-- END comment -->
</table>
-</div>
+</td>
+</tr>
<!-- END picture -->
- {T_END}
- </td>
- </tr>
-</table> \ No newline at end of file
+</table>
+<!-- BEGIN validation -->
+<input type="submit" name="validate" class="bouton" value="{L_VALIDATE}" />
+<input type="submit" name="delete" class="bouton" value="{L_DELETE}" />
+</form>
+<!-- END validation --> \ No newline at end of file