mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 09:03:38 +02:00
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
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user