aboutsummaryrefslogtreecommitdiffstats
path: root/template/default
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-10-04 16:08:53 +0000
committerz0rglub <z0rglub@piwigo.org>2003-10-04 16:08:53 +0000
commit151dc433708d67dad6e8e4b78a30dd52642394af (patch)
treed1db5e513af93d4cab01b7a271b942d93acd3dba /template/default
parent0a79e271552854aa920384fe45eec2359b95b8df (diff)
Adding a page for non admin to see last users comments
git-svn-id: http://piwigo.org/svn/trunk@166 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/default')
-rw-r--r--template/default/comments.vtp119
1 files changed, 119 insertions, 0 deletions
diff --git a/template/default/comments.vtp b/template/default/comments.vtp
new file mode 100644
index 000000000..133f9578c
--- /dev/null
+++ b/template/default/comments.vtp
@@ -0,0 +1,119 @@
+<html>
+ <head>
+ {#style}
+ <title>{#title_comments}</title>
+ <meta http-equiv="Content-Type" content="text/html; {#charset}">
+ <!-- Specific style to comments.php-->
+ <style type="text/css">
+ .commentsAuthor,.commentsTitle,.commentsInfos,.commentsContent,.commentsNavigationBar {
+ color:{#text_color};
+ font-family:arial,sans-Serif;
+ font-size:12px;
+ }
+ .commentsTitle,.commentsAuthor {
+ text-align:center;
+ font-weight:bold;
+ }
+ .commentsInfos {
+ margin:3px 3px 3px 10px;
+ font-size:11px;
+ text-align:right;
+ }
+ .commentsContent {
+ margin:10px;
+ }
+ .commentsTitle {
+ margin-top:15px;
+ }
+ .commentsAuthor {
+ margin:5px;
+ }
+ .commentsNavigationBar {
+ margin:10px;
+ }
+ .tableComment {
+ width:100%;
+ border:2px solid {#text_color};
+ margin:10px;
+ }
+ .cellAuthor {
+ border-right:1px solid {#text_color};
+ width:100px;
+ }
+ .cellInfo {
+ border-bottom:1px solid {#text_color};
+ }
+ </style>
+ </head>
+ <body>
+ {#header}
+ <table style="width:100%;">
+ <tr align="center" valign="middle">
+ <td>
+ {#frame_start}1px{#frame_begin}
+ <div class="titrePage">{#title_comments}</div>
+ {#frame_end}
+ <div style="margin-bottom:20px"></div>
+ {#frame_start}90%{#frame_begin}
+<table style="width:100%;">
+ <tr>
+ <th>
+ [
+ <!--VTP_last_day_option-->
+ <a href="{#link}" style="{#style}">{#option}</a>{#separation}
+ <!--/VTP_last_day_option-->
+ {#stats_last_days}
+ ]
+ [ <a href="{#back_url}">{#search_return_main_page}</a> ]
+ </th>
+ </tr>
+</table>
+<!--VTP_picture-->
+<div style="border:2px solid gray;margin:2px;padding:2px;">
+ <table style="width:100%;">
+ <tr>
+ <td valign="top" width="1px">
+ <!-- the thumbnail of the picture, linked to the full size page -->
+ <a href="{#thumb_url}" title="{#thumb_title}">
+ <img src="{#thumb_src}" class="imgLink" alt="{#thumb_alt}"/>
+ </a>
+ </td>
+ <td style="padding:2px;">
+ <div style="font-weight:bold;padding-left:10px;">{#title}</div>
+ <!--VTP_comment-->
+ <table style="width:100%;">
+ <tr>
+ <td>
+ <table class="tableComment">
+ <tr>
+ <td rowspan="2" valign="top" class="cellAuthor">
+ <div class="commentsAuthor">{#author}</div>
+ </td>
+ <td class="cellInfo">
+ <div class="commentsInfos">
+ {#date}<!--VTP_delete--><a href="{#link}" title="{#comments_del}"><img src="../template/{#user_template}/admin/images/delete.gif" style="border:none;margin-left:5px;" alt="[{#delete}]"/></a><!--/VTP_delete-->
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <div class="commentsContent">{#content}</div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ <!--/VTP_comment-->
+ </td>
+ </tr>
+ </table>
+</div>
+<!--/VTP_picture-->
+ {#frame_end}
+ </td>
+ </tr>
+ </table>
+ {#footer}
+ </body>
+</html> \ No newline at end of file