mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-31 10:31:37 +00:00
Empty commit
This commit is contained in:
parent
27c601d994
commit
b009e2c889
@ -12,19 +12,23 @@
|
|||||||
$MyTorrents = false;
|
$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) {
|
if($MyTorrents) {
|
||||||
$Conditions = "WHERE t.UserID = $UserID AND tc.AuthorID != t.UserID AND tc.AddedTime > t.Time";
|
$Conditions = "WHERE t.UserID = $UserID AND tc.AuthorID != t.UserID AND tc.AddedTime > t.Time";
|
||||||
$Title = 'Comments left on your torrents';
|
$Title = 'Comments left on your torrents';
|
||||||
$Header = 'Comments left on your uploads';
|
$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 {
|
else {
|
||||||
$Conditions = "WHERE tc.AuthorID = $UserID";
|
$Conditions = "WHERE tc.AuthorID = $UserID";
|
||||||
$Title = 'Comments made by '.($Self?'you':$Username);
|
$Title = 'Comments made by '.($Self?'you':$Username);
|
||||||
$Header = 'Torrent comments left by '.($Self?'you':Users::format_username($UserID, false, false, false)).'';
|
$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
|
$Comments = $DB->query("SELECT
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td class="label">Reason:</td>
|
<td class="label">Reason:</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" name="reason" size="30" />
|
<input type="text" name="reason" size="60" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user