Empty commit

This commit is contained in:
Git 2013-04-09 08:00:54 +00:00
parent 27c601d994
commit b009e2c889
2 changed files with 8 additions and 4 deletions

View File

@ -12,19 +12,23 @@
$MyTorrents = false;
}
$OtherLink = '';
$OtherLink = '<a href="comments.php?action=requests" class="brackets">Request comments</a> <a href="comments.php?action=artists" class="brackets">Artist comments</a><br/>';
if($MyTorrents) {
$Conditions = "WHERE t.UserID = $UserID AND tc.AuthorID != t.UserID AND tc.AddedTime > t.Time";
$Title = 'Comments left on your torrents';
$Header = 'Comments left on your uploads';
if($Self) $OtherLink = '<a href="comments.php?action=torrents" class="brackets">Display comments you have made</a>';
if($Self) {
$OtherLink .= '<a href="comments.php?action=torrents" class="brackets">Display comments you have made</a>';
}
}
else {
$Conditions = "WHERE tc.AuthorID = $UserID";
$Title = 'Comments made by '.($Self?'you':$Username);
$Header = 'Torrent comments left by '.($Self?'you':Users::format_username($UserID, false, false, false)).'';
if($Self) $OtherLink = '<a href="comments.php?action=my_torrents" class="brackets">Display comments left on your uploads</a>';
if($Self) {
$OtherLink .= '<a href="comments.php?action=my_torrents" class="brackets">Display comments left on your uploads</a>';
}
}
$Comments = $DB->query("SELECT

View File

@ -27,7 +27,7 @@
<tr>
<td class="label">Reason:</td>
<td>
<input type="text" name="reason" size="30" />
<input type="text" name="reason" size="60" />
</td>
</tr>
<tr>