mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-02-07 13:59:07 +00:00
Empty commit
This commit is contained in:
parent
e89055f09f
commit
fd60afe31e
@ -230,12 +230,12 @@ function compare($X, $Y){
|
|||||||
$ToggleStr = '';
|
$ToggleStr = '';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<a href="#torrents_<?=str_replace(" ", "_", strtolower($ReleaseTypes[$ReleaseID]))?>"<?=$ToggleStr?>>[<?=$DisplayName?>]</a>
|
[<a href="#torrents_<?=str_replace(" ", "_", strtolower($ReleaseTypes[$ReleaseID]))?>"<?=$ToggleStr?>><?=$DisplayName?></a>]
|
||||||
<?
|
<?
|
||||||
}
|
}
|
||||||
if ($NumRequests > 0) {
|
if ($NumRequests > 0) {
|
||||||
?>
|
?>
|
||||||
<a href="#requests">[Requests]</a>
|
[<a href="#requests">Requests</a>]
|
||||||
<? } ?>
|
<? } ?>
|
||||||
</div>
|
</div>
|
||||||
<? }
|
<? }
|
||||||
@ -496,7 +496,7 @@ function compare($X, $Y){
|
|||||||
<h2><?=display_str($Name)?><? if ($RevisionID) { ?> (Revision #<?=$RevisionID?>)<? } if ($VanityHouseArtist) { ?> [Vanity House] <? } ?></h2>
|
<h2><?=display_str($Name)?><? if ($RevisionID) { ?> (Revision #<?=$RevisionID?>)<? } if ($VanityHouseArtist) { ?> [Vanity House] <? } ?></h2>
|
||||||
<div class="linkbox">
|
<div class="linkbox">
|
||||||
<? if (check_perms('site_submit_requests')) { ?>
|
<? if (check_perms('site_submit_requests')) { ?>
|
||||||
<a href="requests.php?action=new&artistid=<?=$ArtistID?>">[Add Request]</a>
|
[<a href="requests.php?action=new&artistid=<?=$ArtistID?>">Add request</a>]
|
||||||
<? }
|
<? }
|
||||||
|
|
||||||
if (check_perms('site_torrents_notify')) {
|
if (check_perms('site_torrents_notify')) {
|
||||||
@ -507,45 +507,45 @@ function compare($X, $Y){
|
|||||||
}
|
}
|
||||||
if (stripos($Notify['Artists'], '|'.$Name.'|') === false) {
|
if (stripos($Notify['Artists'], '|'.$Name.'|') === false) {
|
||||||
?>
|
?>
|
||||||
<a href="artist.php?action=notify&artistid=<?=$ArtistID?>&auth=<?=$LoggedUser['AuthKey']?>">[Notify of new uploads]</a>
|
[<a href="artist.php?action=notify&artistid=<?=$ArtistID?>&auth=<?=$LoggedUser['AuthKey']?>">Notify of new uploads</a>]
|
||||||
<?
|
<?
|
||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
<a href="artist.php?action=notifyremove&artistid=<?=$ArtistID?>&auth=<?=$LoggedUser['AuthKey']?>">[Do not notify of new uploads]</a>
|
[<a href="artist.php?action=notifyremove&artistid=<?=$ArtistID?>&auth=<?=$LoggedUser['AuthKey']?>">Do not notify of new uploads</a>]
|
||||||
<?
|
<?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (has_bookmarked('artist', $ArtistID)) {
|
if (has_bookmarked('artist', $ArtistID)) {
|
||||||
?>
|
?>
|
||||||
<a href="#" id="bookmarklink_artist_<?=$ArtistID?>" onclick="Unbookmark('artist', <?=$ArtistID?>,'[Bookmark]');return false;">[Remove bookmark]</a>
|
[<a href="#" id="bookmarklink_artist_<?=$ArtistID?>" onclick="Unbookmark('artist', <?=$ArtistID?>,'[Bookmark]');return false;">Remove bookmark</a>]
|
||||||
|
|
||||||
<?
|
<?
|
||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
<a href="#" id="bookmarklink_artist_<?=$ArtistID?>" onclick="Bookmark('artist', <?=$ArtistID?>,'[Remove bookmark]');return false;">[Bookmark]</a>
|
[<a href="#" id="bookmarklink_artist_<?=$ArtistID?>" onclick="Bookmark('artist', <?=$ArtistID?>,'[Remove bookmark]');return false;">Bookmark</a>]
|
||||||
<?
|
<?
|
||||||
}
|
}
|
||||||
|
|
||||||
if (check_perms('site_edit_wiki')) {
|
if (check_perms('site_edit_wiki')) {
|
||||||
?>
|
?>
|
||||||
<a href="artist.php?action=edit&artistid=<?=$ArtistID?>">[Edit]</a>
|
[<a href="artist.php?action=edit&artistid=<?=$ArtistID?>">Edit</a>]
|
||||||
<? } ?>
|
<? } ?>
|
||||||
<a href="artist.php?action=history&artistid=<?=$ArtistID?>">[View history]</a>
|
[<a href="artist.php?action=history&artistid=<?=$ArtistID?>">View history</a>]
|
||||||
<a href="artist.php?id=<?=$ArtistID?>#info">[Info]</a>
|
[<a href="artist.php?id=<?=$ArtistID?>#info">Info</a>]
|
||||||
<!-- <strip>-->
|
<!-- <strip>-->
|
||||||
<a href="artist.php?id=<?=$ArtistID?>#concerts">[Concerts]</a>
|
[<a href="artist.php?id=<?=$ArtistID?>#concerts">Concerts</a>]
|
||||||
<!-- </strip>-->
|
<!-- </strip>-->
|
||||||
<a href="artist.php?id=<?=$ArtistID?>#artistcomments">[Comments]</a>
|
[<a href="artist.php?id=<?=$ArtistID?>#artistcomments">Comments</a>]
|
||||||
<? if (check_perms('site_delete_artist') && check_perms('torrents_delete')) { ?>
|
<? if (check_perms('site_delete_artist') && check_perms('torrents_delete')) { ?>
|
||||||
<a href="artist.php?action=delete&artistid=<?=$ArtistID?>&auth=<?=$LoggedUser['AuthKey']?>">[Delete]</a>
|
[<a href="artist.php?action=delete&artistid=<?=$ArtistID?>&auth=<?=$LoggedUser['AuthKey']?>">Delete</a>]
|
||||||
<? }
|
<? }
|
||||||
|
|
||||||
if ($RevisionID && check_perms('site_edit_wiki')) {
|
if ($RevisionID && check_perms('site_edit_wiki')) {
|
||||||
?>
|
?>
|
||||||
<a href="artist.php?action=revert&artistid=<?=$ArtistID?>&revisionid=<?=$RevisionID?>&auth=<?=$LoggedUser['AuthKey']?>">
|
[<a href="artist.php?action=revert&artistid=<?=$ArtistID?>&revisionid=<?=$RevisionID?>&auth=<?=$LoggedUser['AuthKey']?>">
|
||||||
[Revert to this revision]
|
Revert to this revision
|
||||||
</a>
|
</a>]
|
||||||
<? } ?>
|
<? } ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -560,7 +560,7 @@ function compare($X, $Y){
|
|||||||
<? } ?>
|
<? } ?>
|
||||||
|
|
||||||
<div class="box box_search">
|
<div class="box box_search">
|
||||||
<div class="head"><strong>Search File Lists</strong></div>
|
<div class="head"><strong>Search file lists</strong></div>
|
||||||
<ul class="nobullet">
|
<ul class="nobullet">
|
||||||
<li>
|
<li>
|
||||||
<form class="search_form" name="filelists" action="torrents.php">
|
<form class="search_form" name="filelists" action="torrents.php">
|
||||||
@ -705,10 +705,10 @@ function compare($X, $Y){
|
|||||||
<li>
|
<li>
|
||||||
<span title="<?=$Score?>"><a href="artist.php?id=<?=$Artist2ID?>" style="float:left; display:block;"><?=$Artist2Name?></a></span>
|
<span title="<?=$Score?>"><a href="artist.php?id=<?=$Artist2ID?>" style="float:left; display:block;"><?=$Artist2Name?></a></span>
|
||||||
<div style="float:right; display:block; letter-spacing: -1px;">
|
<div style="float:right; display:block; letter-spacing: -1px;">
|
||||||
<a href="artist.php?action=vote_similar&artistid=<?=$ArtistID?>&similarid=<?=$SimilarID?>&way=down" style="font-family: monospace;" title="Vote down this similar artist. Use this when you feel that the two artists are not all that similar.">[-]</a>
|
[<a href="artist.php?action=vote_similar&artistid=<?=$ArtistID?>&similarid=<?=$SimilarID?>&way=down" style="font-family: monospace;" title="Vote down this similar artist. Use this when you feel that the two artists are not all that similar.">-</a>]
|
||||||
<a href="artist.php?action=vote_similar&artistid=<?=$ArtistID?>&similarid=<?=$SimilarID?>&way=up" style="font-family: monospace;" title="Vote up this similar artist. Use this when you feel that the two artists are quite similar.">[+]</a>
|
[<a href="artist.php?action=vote_similar&artistid=<?=$ArtistID?>&similarid=<?=$SimilarID?>&way=up" style="font-family: monospace;" title="Vote up this similar artist. Use this when you feel that the two artists are quite similar.">+</a>]
|
||||||
<? if(check_perms('site_delete_tag')) { ?>
|
<? if(check_perms('site_delete_tag')) { ?>
|
||||||
<span class="remove remove_artist"><a href="artist.php?action=delete_similar&similarid=<?=$SimilarID?>&auth=<?=$LoggedUser['AuthKey']?>" title="Remove this similar artist">[X]</a></span>
|
[<span class="remove remove_artist"><a href="artist.php?action=delete_similar&similarid=<?=$SimilarID?>&auth=<?=$LoggedUser['AuthKey']?>" title="Remove this similar artist">X</a>]</span>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
</div>
|
</div>
|
||||||
<br style="clear:both" />
|
<br style="clear:both" />
|
||||||
@ -743,7 +743,7 @@ function compare($X, $Y){
|
|||||||
<tr class="colhead_dark">
|
<tr class="colhead_dark">
|
||||||
<td style="width:48%;">
|
<td style="width:48%;">
|
||||||
<a href="#">↑</a>
|
<a href="#">↑</a>
|
||||||
<strong>Request Name</strong>
|
<strong>Request name</strong>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<strong>Vote</strong>
|
<strong>Vote</strong>
|
||||||
@ -839,7 +839,7 @@ function compare($X, $Y){
|
|||||||
<div id="flipper_head" class="head">
|
<div id="flipper_head" class="head">
|
||||||
<a href="#">↑</a>
|
<a href="#">↑</a>
|
||||||
<strong id="flipper_title">Similar Artist Map</strong>
|
<strong id="flipper_title">Similar Artist Map</strong>
|
||||||
<a id="flip_to" href="#null" onclick="flipView();"> [Switch to Cloud]</a>
|
[<a id="flip_to" href="#null" onclick="flipView();">Switch to cloud</a>]
|
||||||
</div>
|
</div>
|
||||||
<div id="flip_view_1" style="display:block;width:<?=WIDTH?>px;height:<?=HEIGHT?>px;position:relative;background-image:url(static/similar/<?=$ArtistID?>.png?t=<?=time()?>)">
|
<div id="flip_view_1" style="display:block;width:<?=WIDTH?>px;height:<?=HEIGHT?>px;position:relative;background-image:url(static/similar/<?=$ArtistID?>.png?t=<?=time()?>)">
|
||||||
<?
|
<?
|
||||||
@ -918,7 +918,7 @@ function require(file, callback) {
|
|||||||
<div id="info" class="head">
|
<div id="info" class="head">
|
||||||
<a href="#">↑</a>
|
<a href="#">↑</a>
|
||||||
<strong>Artist info</strong>
|
<strong>Artist info</strong>
|
||||||
<a href="#" onclick="$('#body').toggle(); return false;">[Toggle]</a>
|
[<a href="#" onclick="$('#body').toggle(); return false;">Toggle</a>]
|
||||||
</div>
|
</div>
|
||||||
<div id="body" class="body"><?=$Text->full_format($Body)?></div>
|
<div id="body" class="body"><?=$Text->full_format($Body)?></div>
|
||||||
</div>
|
</div>
|
||||||
@ -999,16 +999,16 @@ function require(file, callback) {
|
|||||||
<td colspan="<?=Users::has_avatars_enabled() ? 2 : 1?>">
|
<td colspan="<?=Users::has_avatars_enabled() ? 2 : 1?>">
|
||||||
<div style="float:left;"><a class="post_id" href='artist.php?id=<?=$ArtistID?>&postid=<?=$PostID?>#post<?=$PostID?>'>#<?=$PostID?></a>
|
<div style="float:left;"><a class="post_id" href='artist.php?id=<?=$ArtistID?>&postid=<?=$PostID?>#post<?=$PostID?>'>#<?=$PostID?></a>
|
||||||
<strong><?=Users::format_username($AuthorID, true, true, true, true)?></strong> <?=time_diff($AddedTime)?>
|
<strong><?=Users::format_username($AuthorID, true, true, true, true)?></strong> <?=time_diff($AddedTime)?>
|
||||||
- <a href="#quickpost" onclick="Quote('<?=$PostID?>','<?=$Username?>');">[Quote]</a>
|
- [<a href="#quickpost" onclick="Quote('<?=$PostID?>','<?=$Username?>');">Quote</a>]
|
||||||
<? if ($AuthorID == $LoggedUser['ID'] || check_perms('site_moderate_forums')) { ?>
|
<? if ($AuthorID == $LoggedUser['ID'] || check_perms('site_moderate_forums')) { ?>
|
||||||
- <a href="#post<?=$PostID?>" onclick="Edit_Form('<?=$PostID?>','<?=$Key?>');">[Edit]</a>
|
- [<a href="#post<?=$PostID?>" onclick="Edit_Form('<?=$PostID?>','<?=$Key?>');">Edit</a>]
|
||||||
<? }
|
<? }
|
||||||
if (check_perms('site_moderate_forums')) { ?>
|
if (check_perms('site_moderate_forums')) { ?>
|
||||||
- <a href="#post<?=$PostID?>" onclick="Delete('<?=$PostID?>');">[Delete]</a>
|
- [<a href="#post<?=$PostID?>" onclick="Delete('<?=$PostID?>');">Delete</a>]
|
||||||
<? } ?>
|
<? } ?>
|
||||||
</div>
|
</div>
|
||||||
<div id="bar<?=$PostID?>" style="float:right;">
|
<div id="bar<?=$PostID?>" style="float:right;">
|
||||||
<a href="reports.php?action=report&type=artist_comment&id=<?=$PostID?>">[Report]</a>
|
[<a href="reports.php?action=report&type=artist_comment&id=<?=$PostID?>">Report</a>]
|
||||||
<? if (check_perms('users_warn') && $AuthorID != $LoggedUser['ID']) {
|
<? if (check_perms('users_warn') && $AuthorID != $LoggedUser['ID']) {
|
||||||
$AuthorInfo = Users::user_info($AuthorID);
|
$AuthorInfo = Users::user_info($AuthorID);
|
||||||
if ($LoggedUser['Class'] >= $AuthorInfo['Class']) {
|
if ($LoggedUser['Class'] >= $AuthorInfo['Class']) {
|
||||||
@ -1020,7 +1020,7 @@ function require(file, callback) {
|
|||||||
<input type="hidden" name="userid" value="<?=$AuthorID?>" />
|
<input type="hidden" name="userid" value="<?=$AuthorID?>" />
|
||||||
<input type="hidden" name="key" value="<?=$Key?>" />
|
<input type="hidden" name="key" value="<?=$Key?>" />
|
||||||
</form>
|
</form>
|
||||||
- <a href="#" onclick="$('#warn<?=$PostID?>').raw().submit(); return false;">[Warn]</a>
|
- [<a href="#" onclick="$('#warn<?=$PostID?>').raw().submit(); return false;">Warn</a>]
|
||||||
<? }
|
<? }
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
@ -1073,7 +1073,7 @@ function require(file, callback) {
|
|||||||
by <strong><?=Users::format_username($LoggedUser['ID'], true, true, true, true)?></strong> Just now
|
by <strong><?=Users::format_username($LoggedUser['ID'], true, true, true, true)?></strong> Just now
|
||||||
</div>
|
</div>
|
||||||
<div id="barpreview" style="float:right;">
|
<div id="barpreview" style="float:right;">
|
||||||
<a href="#quickreplypreview">[Report]</a>
|
[<a href="#quickreplypreview">Report</a>]
|
||||||
|
|
||||||
<a href="#">↑</a>
|
<a href="#">↑</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -173,16 +173,16 @@ function compare($X, $Y){
|
|||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<a href="#torrents_<?=str_replace(" ", "_", strtolower($ReleaseTypes[$ReleaseID]))?>" id="torrents_<?=$ReleaseID?>_anchorlink">[<?=$DisplayName?>]</a>
|
[<a href="#torrents_<?=str_replace(" ", "_", strtolower($ReleaseTypes[$ReleaseID]))?>" id="torrents_<?=$ReleaseID?>_anchorlink"><?=$DisplayName?></a>]
|
||||||
<?
|
<?
|
||||||
}
|
}
|
||||||
if ($NumRequests > 0) {
|
if ($NumRequests > 0) {
|
||||||
?>
|
?>
|
||||||
<a href="#requests" id="requests_anchorlink">[Requests]</a>
|
[<a href="#requests" id="requests_anchorlink">Requests</a>]
|
||||||
</span>
|
</span>
|
||||||
<span style="position:right" id="torrents_allopenclose" class="hidden">
|
<span style="position:right" id="torrents_allopenclose" class="hidden">
|
||||||
<a href="#" onclick="setDefaultShow('all', true);return false;">[All default open]</a>
|
[<a href="#" onclick="setDefaultShow('all', true);return false;">All default open</a>]
|
||||||
<a href="#" onclick="setDefaultShow('all', false);return false;">[All default closed]</a>
|
[<a href="#" onclick="setDefaultShow('all', false);return false;">All default closed</a>]
|
||||||
</span>
|
</span>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
</div>
|
</div>
|
||||||
@ -250,8 +250,8 @@ function display_name($ReleaseType) {
|
|||||||
<td class="artist_normalcol sign"><img src="static/styles/<?=$LoggedUser['StyleName'] ?>/images/seeders.png" alt="Seeders" title="Seeders" /></td>
|
<td class="artist_normalcol sign"><img src="static/styles/<?=$LoggedUser['StyleName'] ?>/images/seeders.png" alt="Seeders" title="Seeders" /></td>
|
||||||
<td class="artist_normalcol sign"><img src="static/styles/<?=$LoggedUser['StyleName'] ?>/images/leechers.png" alt="Leechers" title="Leechers" /></td>
|
<td class="artist_normalcol sign"><img src="static/styles/<?=$LoggedUser['StyleName'] ?>/images/leechers.png" alt="Leechers" title="Leechers" /></td>
|
||||||
<td class="artist_editcol hidden" align="right">
|
<td class="artist_editcol hidden" align="right">
|
||||||
<a href="#"<?=!$HideDiscogDefault?'class="hidden"':''?> id="releases_<?=$ReleaseType?>_openlink" onclick="setDefaultShow('<?=$ReleaseType?>',true);return false;">[default closed]</a>
|
[<a href="#"<?=!$HideDiscogDefault?'class="hidden"':''?> id="releases_<?=$ReleaseType?>_openlink" onclick="setDefaultShow('<?=$ReleaseType?>',true);return false;">default closed</a>]
|
||||||
<a href="#"<?=$HideDiscogDefault?'class="hidden"':''?> id="releases_<?=$ReleaseType?>_closedlink" onclick="setDefaultShow('<?=$ReleaseType?>',false);return false;">[default open]</a>
|
[<a href="#"<?=$HideDiscogDefault?'class="hidden"':''?> id="releases_<?=$ReleaseType?>_closedlink" onclick="setDefaultShow('<?=$ReleaseType?>',false);return false;">default open</a>]
|
||||||
<input class="hidden" id="releases_<?=$ReleaseType?>_defaultopen"<?=!$HideDiscogDefault?' checked="checked"':''?> type="checkbox" title="Show" />
|
<input class="hidden" id="releases_<?=$ReleaseType?>_defaultopen"<?=!$HideDiscogDefault?' checked="checked"':''?> type="checkbox" title="Show" />
|
||||||
|
|
||||||
<span style="cursor:move;" id="torrents_<?=$ReleaseTypeLabel?>_handle">☰</span>
|
<span style="cursor:move;" id="torrents_<?=$ReleaseTypeLabel?>_handle">☰</span>
|
||||||
@ -392,15 +392,15 @@ function display_name($ReleaseType) {
|
|||||||
<div class="header">
|
<div class="header">
|
||||||
<h2><?=$Name?><? if ($RevisionID) { ?> (Revision #<?=$RevisionID?>)<? } if ($VanityHouseArtist) { ?> [Vanity House] <? } ?></h2>
|
<h2><?=$Name?><? if ($RevisionID) { ?> (Revision #<?=$RevisionID?>)<? } if ($VanityHouseArtist) { ?> [Vanity House] <? } ?></h2>
|
||||||
<span style="font-size: 0.7em;float:right;">
|
<span style="font-size: 0.7em;float:right;">
|
||||||
<a href="#" onclick="editOrdering();return false;" class="" id="editlayout">[Edit ordering]</a>
|
[<a href="#" onclick="editOrdering();return false;" class="" id="editlayout">Edit ordering</a>]
|
||||||
<span class="hidden" id="savinglayout">Saving ordering...</span>
|
<span class="hidden" id="savinglayout">Saving ordering...</span>
|
||||||
<a href="#" onclick="saveOrdering();return false;" class="hidden" id="savelayout">[Save ordering]</a>
|
[<a href="#" onclick="saveOrdering();return false;" class="hidden" id="savelayout">Save ordering</a>]
|
||||||
</span>
|
</span>
|
||||||
</h2>
|
</h2>
|
||||||
<div id="emptylinkbox" class="linkbox hidden"></div>
|
<div id="emptylinkbox" class="linkbox hidden"></div>
|
||||||
<div id="linkbox" class="linkbox">
|
<div id="linkbox" class="linkbox">
|
||||||
<? if (check_perms('site_submit_requests')) { ?>
|
<? if (check_perms('site_submit_requests')) { ?>
|
||||||
<a href="requests.php?action=new&artistid=<?=$ArtistID?>">[Add Request]</a>
|
[<a href="requests.php?action=new&artistid=<?=$ArtistID?>">Add request</a>]
|
||||||
<? }
|
<? }
|
||||||
|
|
||||||
if (check_perms('site_torrents_notify')) {
|
if (check_perms('site_torrents_notify')) {
|
||||||
@ -411,40 +411,40 @@ function display_name($ReleaseType) {
|
|||||||
}
|
}
|
||||||
if (stripos($Notify['Artists'], '|'.$Name.'|') === FALSE) {
|
if (stripos($Notify['Artists'], '|'.$Name.'|') === FALSE) {
|
||||||
?>
|
?>
|
||||||
<a href="artist.php?action=notify&artistid=<?=$ArtistID?>&auth=<?=$LoggedUser['AuthKey']?>">[Notify of new uploads]</a>
|
[<a href="artist.php?action=notify&artistid=<?=$ArtistID?>&auth=<?=$LoggedUser['AuthKey']?>">Notify of new uploads</a>]
|
||||||
<?
|
<?
|
||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
<a href="artist.php?action=notifyremove&artistid=<?=$ArtistID?>&auth=<?=$LoggedUser['AuthKey']?>">[Do not notify of new uploads]</a>
|
[<a href="artist.php?action=notifyremove&artistid=<?=$ArtistID?>&auth=<?=$LoggedUser['AuthKey']?>">Do not notify of new uploads</a>]
|
||||||
<?
|
<?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (has_bookmarked('artist', $ArtistID)) {
|
if (has_bookmarked('artist', $ArtistID)) {
|
||||||
?>
|
?>
|
||||||
<a href="#" id="bookmarklink_artist_<?=$ArtistID?>" onclick="Unbookmark('artist', <?=$ArtistID?>,'[Bookmark]');return false;">[Remove bookmark]</a>
|
[<a href="#" id="bookmarklink_artist_<?=$ArtistID?>" onclick="Unbookmark('artist', <?=$ArtistID?>,'[Bookmark]');return false;">Remove bookmark</a>]
|
||||||
|
|
||||||
<?
|
<?
|
||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
<a href="#" id="bookmarklink_artist_<?=$ArtistID?>" onclick="Bookmark('artist', <?=$ArtistID?>,'[Remove bookmark]');return false;">[Bookmark]</a>
|
[<a href="#" id="bookmarklink_artist_<?=$ArtistID?>" onclick="Bookmark('artist', <?=$ArtistID?>,'[Remove bookmark]');return false;">Bookmark</a>]
|
||||||
<?
|
<?
|
||||||
}
|
}
|
||||||
|
|
||||||
if (check_perms('site_edit_wiki')) {
|
if (check_perms('site_edit_wiki')) {
|
||||||
?>
|
?>
|
||||||
<a href="artist.php?action=edit&artistid=<?=$ArtistID?>">[Edit]</a>
|
[<a href="artist.php?action=edit&artistid=<?=$ArtistID?>">Edit</a>]
|
||||||
<? } ?>
|
<? } ?>
|
||||||
<a href="artist.php?action=history&artistid=<?=$ArtistID?>">[View history]</a>
|
[<a href="artist.php?action=history&artistid=<?=$ArtistID?>">View history</a>]
|
||||||
<? if (check_perms('site_delete_artist') && check_perms('torrents_delete')) { ?>
|
<? if (check_perms('site_delete_artist') && check_perms('torrents_delete')) { ?>
|
||||||
<a href="artist.php?action=delete&artistid=<?=$ArtistID?>&auth=<?=$LoggedUser['AuthKey']?>">[Delete]</a>
|
[<a href="artist.php?action=delete&artistid=<?=$ArtistID?>&auth=<?=$LoggedUser['AuthKey']?>">Delete</a>]
|
||||||
<? }
|
<? }
|
||||||
|
|
||||||
if ($RevisionID && check_perms('site_edit_wiki')) {
|
if ($RevisionID && check_perms('site_edit_wiki')) {
|
||||||
?>
|
?>
|
||||||
<a href="artist.php?action=revert&artistid=<?=$ArtistID?>&revisionid=<?=$RevisionID?>&auth=<?=$LoggedUser['AuthKey']?>">
|
[<a href="artist.php?action=revert&artistid=<?=$ArtistID?>&revisionid=<?=$RevisionID?>&auth=<?=$LoggedUser['AuthKey']?>">
|
||||||
[Revert to this revision]
|
Revert to this revision
|
||||||
</a>
|
</a>]
|
||||||
<? } ?>
|
<? } ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -479,11 +479,11 @@ function display_name($ReleaseType) {
|
|||||||
<div class="box box_info box_statistics_artist">
|
<div class="box box_info box_statistics_artist">
|
||||||
<div class="head"><strong>Statistics</strong></div>
|
<div class="head"><strong>Statistics</strong></div>
|
||||||
<ul class="stats nobullet">
|
<ul class="stats nobullet">
|
||||||
<li>Number of groups: <?=$NumGroups?></li>
|
<li>Number of groups: <?=number_format($NumGroups)?></li>
|
||||||
<li>Number of torrents: <?=$NumTorrents?></li>
|
<li>Number of torrents: <?=number_format($NumTorrents)?></li>
|
||||||
<li>Number of seeders: <?=$NumSeeders?></li>
|
<li>Number of seeders: <?=number_format($NumSeeders)?></li>
|
||||||
<li>Number of leechers: <?=$NumLeechers?></li>
|
<li>Number of leechers: <?=number_format($NumLeechers)?></li>
|
||||||
<li>Number of snatches: <?=$NumSnatches?></li>
|
<li>Number of snatches: <?=number_format($NumSnatches)?></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<?
|
<?
|
||||||
@ -529,10 +529,10 @@ function display_name($ReleaseType) {
|
|||||||
?>
|
?>
|
||||||
<li>
|
<li>
|
||||||
<span title=<?=$Score?>><a href="artist.php?id=<?=$Artist2ID?>" style="float:left; display:block;"><?=$Artist2Name?></a></span> <div style="float:right; display:block; letter-spacing: -1px;">
|
<span title=<?=$Score?>><a href="artist.php?id=<?=$Artist2ID?>" style="float:left; display:block;"><?=$Artist2Name?></a></span> <div style="float:right; display:block; letter-spacing: -1px;">
|
||||||
<a href="artist.php?action=vote_similar&artistid=<?=$ArtistID?>&similarid=<?=$SimilarID?>&way=down" style="font-family: monospace;">[−]</a>
|
[<a href="artist.php?action=vote_similar&artistid=<?=$ArtistID?>&similarid=<?=$SimilarID?>&way=down" style="font-family: monospace;">−</a>]
|
||||||
<a href="artist.php?action=vote_similar&artistid=<?=$ArtistID?>&similarid=<?=$SimilarID?>&way=up" style="font-family: monospace;">[+]</a>
|
[<a href="artist.php?action=vote_similar&artistid=<?=$ArtistID?>&similarid=<?=$SimilarID?>&way=up" style="font-family: monospace;">+</a>]
|
||||||
<? if(check_perms('site_delete_tag')) { ?>
|
<? if(check_perms('site_delete_tag')) { ?>
|
||||||
<a href="artist.php?action=delete_similar&similarid=<?=$SimilarID?>&auth=<?=$LoggedUser['AuthKey']?>">[X]</a>
|
[<a href="artist.php?action=delete_similar&similarid=<?=$SimilarID?>&auth=<?=$LoggedUser['AuthKey']?>">X</a>]
|
||||||
<? } ?>
|
<? } ?>
|
||||||
</div>
|
</div>
|
||||||
<br style="clear:both" />
|
<br style="clear:both" />
|
||||||
@ -567,7 +567,7 @@ function display_name($ReleaseType) {
|
|||||||
<tr class="colhead_dark">
|
<tr class="colhead_dark">
|
||||||
<td style="width:48%;">
|
<td style="width:48%;">
|
||||||
<a href="#">↑</a>
|
<a href="#">↑</a>
|
||||||
<strong>Request Name</strong>
|
<strong>Request name</strong>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<strong>Vote</strong>
|
<strong>Vote</strong>
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
<div class="box">
|
<div class="box">
|
||||||
<div id="concerts" class="head">
|
<div id="concerts" class="head">
|
||||||
<a href="#">↑</a> <strong>Upcoming Concerts</strong>
|
<a href="#">↑</a> <strong>Upcoming concerts</strong>
|
||||||
<a href="#" onclick="$('#concertsbody').toggle(); return false;">[Toggle]</a>
|
[<a href="#" onclick="$('#concertsbody').toggle(); return false;">Toggle</a>]
|
||||||
</div>
|
</div>
|
||||||
<div id="concertsbody">
|
<div id="concertsbody">
|
||||||
<?
|
<?
|
||||||
$ArtistEvents = LastFM::get_artist_events($ArtistID, $Name);
|
$ArtistEvents = LastFM::get_artist_events($ArtistID, $Name);
|
||||||
$Debug->log_var($ArtistEvents);
|
$Debug->log_var($ArtistEvents);
|
||||||
if ($ArtistEvents === false) { // Something went wrong
|
if ($ArtistEvents === false) { // Something went wrong
|
||||||
echo 'An error occurred when retrieving concert info.';
|
echo '<br />An error occurred when retrieving concert info.<br />';
|
||||||
} elseif (!isset($ArtistEvents['events']['event'])) { // No upcoming events
|
} elseif (!isset($ArtistEvents['events']['event'])) { // No upcoming events
|
||||||
echo 'This artist has no upcoming concerts.';
|
echo '<br />This artist has no upcoming concerts.<br />';
|
||||||
} else {
|
} else {
|
||||||
echo '<ul>';
|
echo '<ul>';
|
||||||
if (isset($ArtistEvents['events']['event'][0])) { // Multiple events
|
if (isset($ArtistEvents['events']['event'][0])) { // Multiple events
|
||||||
@ -44,7 +44,7 @@ function make_concert_link($Event)
|
|||||||
<input type="hidden" name="concert_id" value="<?=$Event['id']?>"/>
|
<input type="hidden" name="concert_id" value="<?=$Event['id']?>"/>
|
||||||
<input type="hidden" name="concert_template" value="<?=get_concert_post_template($Name, $Event)?>"/>
|
<input type="hidden" name="concert_template" value="<?=get_concert_post_template($Name, $Event)?>"/>
|
||||||
</form>
|
</form>
|
||||||
<li><?=$Concert?> - <a href="#" onclick="$('#concert<?=$Event['id']?>').raw().submit(); return false;">[Go to Thread]</a></li>
|
<li><?=$Concert?> - [<a href="#" onclick="$('#concert<?=$Event['id']?>').raw().submit(); return false;">Go to thread</a>]</li>
|
||||||
<?
|
<?
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
@ -77,7 +77,7 @@ function get_concert_post_template($Artist, $Event)
|
|||||||
if (strpos ($Url, '://') === false) {
|
if (strpos ($Url, '://') === false) {
|
||||||
$Url = 'http://' . $Url;
|
$Url = 'http://' . $Url;
|
||||||
}
|
}
|
||||||
$Website = "[b]Website:[/b] " . $Url;
|
$Website = "[b]Web site:[/b] " . $Url;
|
||||||
}
|
}
|
||||||
if (isset($Event['artists']['artist']) && (count($Event['artists']['artist']) == 1 && strtolower($Event['artists']['artist'][1]) == strtolower($Artist))) {
|
if (isset($Event['artists']['artist']) && (count($Event['artists']['artist']) == 1 && strtolower($Event['artists']['artist'][1]) == strtolower($Artist))) {
|
||||||
$i = 0;
|
$i = 0;
|
||||||
|
@ -101,9 +101,9 @@
|
|||||||
if($AliasName == $Name) { $DefaultRedirectID = $AliasID; }
|
if($AliasName == $Name) { $DefaultRedirectID = $AliasID; }
|
||||||
?>
|
?>
|
||||||
<li><?=$AliasID?>. <?=$AliasName?>
|
<li><?=$AliasID?>. <?=$AliasName?>
|
||||||
<? if($User) { ?> <a href="user.php?id=<?=$User?>">User</a>. <?}
|
<? if($User) { ?> [<a href="user.php?id=<?=$User?>">User</a>] <?}
|
||||||
if($Redirect) { ?> (writes redirect to <?=$Redirect?>)<? } ?>
|
if($Redirect) { ?> (writes redirect to <?=$Redirect?>)<? } ?>
|
||||||
<a href="artist.php?action=delete_alias&aliasid=<?=$AliasID?>&auth=<?=$LoggedUser['AuthKey']?>">[X]</a>
|
[<a href="artist.php?action=delete_alias&aliasid=<?=$AliasID?>&auth=<?=$LoggedUser['AuthKey']?>">X</a>]
|
||||||
</li>
|
</li>
|
||||||
<? }
|
<? }
|
||||||
?>
|
?>
|
||||||
@ -116,7 +116,7 @@
|
|||||||
<input type="text" name="name" size="40" value="<?=$Name?>" /><br />
|
<input type="text" name="name" size="40" value="<?=$Name?>" /><br />
|
||||||
<h3>Writes redirect to (Alias ID, blank for no redirect):</h3>
|
<h3>Writes redirect to (Alias ID, blank for no redirect):</h3>
|
||||||
<input type="text" name="redirect" size="40" value="<?=$DefaultRedirectID?>" /><br />
|
<input type="text" name="redirect" size="40" value="<?=$DefaultRedirectID?>" /><br />
|
||||||
<em>This redirects artist names as they are written, eg. new torrents and added artists. All uses of this new alias will be redirected to the alias ID you enter here. Use for common misspellings, etc.</em><br />
|
<em>This redirects artist names as they are written (e.g. when new torrents are uploaded or artists added). All uses of this new alias will be redirected to the alias ID you enter here. Use for common misspellings, etc.</em><br />
|
||||||
<input type="submit" value="Add alias" />
|
<input type="submit" value="Add alias" />
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -101,7 +101,7 @@ function compare($X, $Y){
|
|||||||
<span style="float:left;"><strong><?=$DisplayName?></strong></span>
|
<span style="float:left;"><strong><?=$DisplayName?></strong></span>
|
||||||
<span style="float:right;text-align:right">
|
<span style="float:right;text-align:right">
|
||||||
<? if(!$Sneaky){ ?>
|
<? if(!$Sneaky){ ?>
|
||||||
<a href="#group_<?=$GroupID?>" onclick="Unbookmark('torrent', <?=$GroupID?>, '');return false;">Remove Bookmark</a>
|
<a href="#group_<?=$GroupID?>" class="remove_bookmark" title="Remove bookmark" onclick="Unbookmark('torrent', <?=$GroupID?>, '');return false;">Unbookmark</a>
|
||||||
<br />
|
<br />
|
||||||
<? } ?>
|
<? } ?>
|
||||||
<?=time_diff($AddedTime);?>
|
<?=time_diff($AddedTime);?>
|
||||||
@ -220,7 +220,7 @@ function compare($X, $Y){
|
|||||||
<strong><?=$DisplayName?></strong>
|
<strong><?=$DisplayName?></strong>
|
||||||
<?=$TorrentTags?>
|
<?=$TorrentTags?>
|
||||||
<? if(!$Sneaky){ ?>
|
<? if(!$Sneaky){ ?>
|
||||||
<span style="float:left;"><a href="#group_<?=$GroupID?>" onclick="Unbookmark('torrent', <?=$GroupID?>, '');return false;">Remove Bookmark</a></span>
|
<span style="float:left;"><a href="#group_<?=$GroupID?>" class="remove_bookmark" title="Remove bookmark" onclick="Unbookmark('torrent', <?=$GroupID?>, '');return false;">Unbookmark</a></span>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
<span style="float:right;"><?=time_diff($AddedTime);?></span>
|
<span style="float:right;"><?=time_diff($AddedTime);?></span>
|
||||||
|
|
||||||
|
@ -82,10 +82,10 @@
|
|||||||
<tr class="colhead_dark">
|
<tr class="colhead_dark">
|
||||||
<td colspan="<?=Users::has_avatars_enabled() ? 2 : 1?>">
|
<td colspan="<?=Users::has_avatars_enabled() ? 2 : 1?>">
|
||||||
<span style="float:left;"><a href='#post<?=$PostID?>'>#<?=$PostID?></a>
|
<span style="float:left;"><a href='#post<?=$PostID?>'>#<?=$PostID?></a>
|
||||||
by <?=Users::format_username($AuthorID, true, true, true, true, true)?> <?=time_diff($AddedTime)?> <a href="reports.php?action=report&type=collages_comment&id=<?=$PostID?>">[Report Comment]</a>
|
by <?=Users::format_username($AuthorID, true, true, true, true, true)?> <?=time_diff($AddedTime)?> [<a href="reports.php?action=report&type=collages_comment&id=<?=$PostID?>">Report Comment</a>]
|
||||||
<? if (!$ThreadInfo['IsLocked']){ ?> - <a href="#quickpost" onclick="Quote('<?=$PostID?>','<?=$Username?>');">[Quote]</a><? }
|
<? if (!$ThreadInfo['IsLocked']){ ?> - [<a href="#quickpost" onclick="Quote('<?=$PostID?>','<?=$Username?>');">Quote</a>]<? }
|
||||||
if ($AuthorID == $LoggedUser['ID'] || check_perms('site_moderate_forums')){ ?> - <a href="#post<?=$PostID?>" onclick="Edit_Form('<?=$PostID?>');">[Edit]</a><? }
|
if ($AuthorID == $LoggedUser['ID'] || check_perms('site_moderate_forums')){ ?> - [<a href="#post<?=$PostID?>" onclick="Edit_Form('<?=$PostID?>');">Edit</a>]<? }
|
||||||
if (check_perms('site_moderate_forums')){ ?> - <a href="#post<?=$PostID?>" onclick="Delete('<?=$PostID?>');">[Delete]</a> <? } ?>
|
if (check_perms('site_moderate_forums')){ ?> - [<a href="#post<?=$PostID?>" onclick="Delete('<?=$PostID?>');">Delete</a>] <? } ?>
|
||||||
</span>
|
</span>
|
||||||
<span id="bar<?=$PostID?>" style="float:right;">
|
<span id="bar<?=$PostID?>" style="float:right;">
|
||||||
<a href="#">↑</a>
|
<a href="#">↑</a>
|
||||||
@ -113,7 +113,7 @@
|
|||||||
<div id="reply_box">
|
<div id="reply_box">
|
||||||
<h3>Post reply</h3>
|
<h3>Post reply</h3>
|
||||||
<div class="box pad" style="padding:20px 10px 10px 10px;">
|
<div class="box pad" style="padding:20px 10px 10px 10px;">
|
||||||
<form class="send_form center" name="comment" id="quickpostform" action="" method="post">
|
<form class="send_form center" name="comment" id="quickpostform" action="" method="post">
|
||||||
<input type="hidden" name="action" value="add_comment" />
|
<input type="hidden" name="action" value="add_comment" />
|
||||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||||
<input type="hidden" name="collageid" value="<?=$CollageID?>" />
|
<input type="hidden" name="collageid" value="<?=$CollageID?>" />
|
||||||
|
@ -367,32 +367,32 @@ function compare($X, $Y){
|
|||||||
<div class="header">
|
<div class="header">
|
||||||
<h2><?=$Name?></h2>
|
<h2><?=$Name?></h2>
|
||||||
<div class="linkbox">
|
<div class="linkbox">
|
||||||
<a href="collages.php">[List of collages]</a>
|
[<a href="collages.php">List of collages</a>]
|
||||||
<? if (check_perms('site_collages_create')) { ?>
|
<? if (check_perms('site_collages_create')) { ?>
|
||||||
<a href="collages.php?action=new">[New collage]</a>
|
[<a href="collages.php?action=new">New collage</a>]
|
||||||
<? } ?>
|
<? } ?>
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<? if(check_perms('site_collages_subscribe')) { ?>
|
<? if(check_perms('site_collages_subscribe')) { ?>
|
||||||
<a href="#" onclick="CollageSubscribe(<?=$CollageID?>);return false;" id="subscribelink<?=$CollageID?>">[<?=(in_array($CollageID, $CollageSubscriptions) ? 'Unsubscribe' : 'Subscribe')?>]</a>
|
[<a href="#" onclick="CollageSubscribe(<?=$CollageID?>);return false;" id="subscribelink<?=$CollageID?>"><?=(in_array($CollageID, $CollageSubscriptions) ? 'Unsubscribe' : 'Subscribe')?></a>]
|
||||||
<? }
|
<? }
|
||||||
if (check_perms('site_collages_delete') || (check_perms('site_edit_wiki') && !$Locked)) { ?>
|
if (check_perms('site_collages_delete') || (check_perms('site_edit_wiki') && !$Locked)) { ?>
|
||||||
<a href="collages.php?action=edit&collageid=<?=$CollageID?>">[Edit description]</a>
|
[<a href="collages.php?action=edit&collageid=<?=$CollageID?>">Edit description</a>]
|
||||||
<? } else { ?>
|
<? } else { ?>
|
||||||
[Locked]
|
[Locked]
|
||||||
<? }
|
<? }
|
||||||
if(has_bookmarked('collage', $CollageID)) {
|
if(has_bookmarked('collage', $CollageID)) {
|
||||||
?>
|
?>
|
||||||
<a href="#" id="bookmarklink_collage_<?=$CollageID?>" onclick="Unbookmark('collage', <?=$CollageID?>,'[Bookmark]');return false;">[Remove bookmark]</a>
|
[<a href="#" id="bookmarklink_collage_<?=$CollageID?>" onclick="Unbookmark('collage', <?=$CollageID?>,'[Bookmark]');return false;">Remove bookmark</a>]
|
||||||
<? } else { ?>
|
<? } else { ?>
|
||||||
<a href="#" id="bookmarklink_collage_<?=$CollageID?>" onclick="Bookmark('collage', <?=$CollageID?>,'[Remove bookmark]');return false;">[Bookmark]</a>
|
[<a href="#" id="bookmarklink_collage_<?=$CollageID?>" onclick="Bookmark('collage', <?=$CollageID?>,'[Remove bookmark]');return false;">Bookmark</a>]
|
||||||
<? }
|
<? }
|
||||||
|
|
||||||
if (check_perms('site_collages_manage') && !$Locked) { ?>
|
if (check_perms('site_collages_manage') && !$Locked) { ?>
|
||||||
<a href="collages.php?action=manage&collageid=<?=$CollageID?>">[Manage torrents]</a>
|
[<a href="collages.php?action=manage&collageid=<?=$CollageID?>">Manage torrents</a>]
|
||||||
<? } ?>
|
<? } ?>
|
||||||
<a href="reports.php?action=report&type=collage&id=<?=$CollageID?>">[Report Collage]</a>
|
[<a href="reports.php?action=report&type=collage&id=<?=$CollageID?>">Report collage</a>]
|
||||||
<? if (check_perms('site_collages_delete') || $CreatorID == $LoggedUser['ID']) { ?>
|
<? if (check_perms('site_collages_delete') || $CreatorID == $LoggedUser['ID']) { ?>
|
||||||
<a href="collages.php?action=delete&collageid=<?=$CollageID?>&auth=<?=$LoggedUser['AuthKey']?>" onclick="return confirm('Are you sure you want to delete this collage?.');">[Delete]</a>
|
[<a href="collages.php?action=delete&collageid=<?=$CollageID?>&auth=<?=$LoggedUser['AuthKey']?>" onclick="return confirm('Are you sure you want to delete this collage?');">Delete</a>]
|
||||||
<? } ?>
|
<? } ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -427,7 +427,7 @@ function compare($X, $Y){
|
|||||||
<li id="list<?=$ListItem?>">
|
<li id="list<?=$ListItem?>">
|
||||||
<input type="hidden" name="list[]" value="<?=$ListItem?>" />
|
<input type="hidden" name="list[]" value="<?=$ListItem?>" />
|
||||||
<span style="float:left;"><?=$ZIPOptions[$ListItem]['2']?></span>
|
<span style="float:left;"><?=$ZIPOptions[$ListItem]['2']?></span>
|
||||||
<span class="remove remove_collector"><a href="#" onclick="remove_selection('<?=$ListItem?>');return false;" style="float:right;">[X]</a></span>
|
<span class="remove remove_collector">[<a href="#" onclick="remove_selection('<?=$ListItem?>');return false;" style="float:right;">X</a>]</span>
|
||||||
<br style="clear:all;" />
|
<br style="clear:all;" />
|
||||||
</li>
|
</li>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
@ -535,7 +535,7 @@ function compare($X, $Y){
|
|||||||
</div>
|
</div>
|
||||||
<? if(check_perms('site_collages_manage') && !$PreventAdditions) { ?>
|
<? if(check_perms('site_collages_manage') && !$PreventAdditions) { ?>
|
||||||
<div class="box box_addtorrent">
|
<div class="box box_addtorrent">
|
||||||
<div class="head"><strong>Add torrent</strong><span style="float: right"><a href="#" onclick="$('.add_torrent_container').toggle_class('hidden'); this.innerHTML = (this.innerHTML == '[Batch Add]'?'[Individual Add]':'[Batch Add]'); return false;">[Batch Add]</a></span></div>
|
<div class="head"><strong>Add torrent</strong><span style="float: right">[<a href="#" onclick="$('.add_torrent_container').toggle_class('hidden'); this.innerHTML = (this.innerHTML == 'Batch Add'?'Individual Add':'Batch Add'); return false;">Batch Add</a>]</span></div>
|
||||||
<div class="pad add_torrent_container">
|
<div class="pad add_torrent_container">
|
||||||
<form class="add_form" name="torrent" action="collages.php" method="post">
|
<form class="add_form" name="torrent" action="collages.php" method="post">
|
||||||
<input type="hidden" name="action" value="add_torrent" />
|
<input type="hidden" name="action" value="add_torrent" />
|
||||||
@ -579,7 +579,7 @@ function compare($X, $Y){
|
|||||||
list($CommentID, $Body, $UserID, $Username, $CommentTime) = $Comment;
|
list($CommentID, $Body, $UserID, $Username, $CommentTime) = $Comment;
|
||||||
?>
|
?>
|
||||||
<div class="box comment">
|
<div class="box comment">
|
||||||
<div class="head">By <?=Users::format_username($UserID, false, false, false) ?> <?=time_diff($CommentTime) ?> <a href="reports.php?action=report&type=collages_comment&id=<?=$CommentID?>">[Report Comment]</a></div>
|
<div class="head">By <?=Users::format_username($UserID, false, false, false) ?> <?=time_diff($CommentTime) ?> [<a href="reports.php?action=report&type=collages_comment&id=<?=$CommentID?>">Report Comment</a>]</div>
|
||||||
<div class="pad"><?=$Text->full_format($Body)?></div>
|
<div class="pad"><?=$Text->full_format($Body)?></div>
|
||||||
</div>
|
</div>
|
||||||
<?
|
<?
|
||||||
|
@ -82,7 +82,10 @@
|
|||||||
<td>
|
<td>
|
||||||
<input type="hidden" name="action" value="search" />
|
<input type="hidden" name="action" value="search" />
|
||||||
<input type="hidden" name="forums[]" value="<?=$ForumID?>" />
|
<input type="hidden" name="forums[]" value="<?=$ForumID?>" />
|
||||||
<strong>Search for:</strong></td><td><input type="text" id="searchbox" name="search" size="70" />
|
<strong>Search for:</strong>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input type="text" id="searchbox" name="search" size="70" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -95,7 +98,8 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>Username:</strong></td><td><input type="text" id="username" name="user" size="70" /></td>
|
<td><strong>Username:</strong></td>
|
||||||
|
<td><input type="text" id="username" name="user" size="70" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" style="text-align: center"><input type="submit" name="submit" value="Search" /></td>
|
<td colspan="2" style="text-align: center"><input type="submit" name="submit" value="Search" /></td>
|
||||||
@ -121,7 +125,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<? if(check_perms('site_moderate_forums')) { ?>
|
<? if(check_perms('site_moderate_forums')) { ?>
|
||||||
<div class="linkbox">
|
<div class="linkbox">
|
||||||
<a href="forums.php?action=edit_rules&forumid=<?=$ForumID?>">Change specific rules</a>
|
[<a href="forums.php?action=edit_rules&forumid=<?=$ForumID?>">Change specific rules</a>]
|
||||||
</div>
|
</div>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
<? if(!empty($Forums[$ForumID]['SpecificRules'])) { ?>
|
<? if(!empty($Forums[$ForumID]['SpecificRules'])) { ?>
|
||||||
|
@ -27,8 +27,8 @@
|
|||||||
<div class="hidden" id="newthreadpreview">
|
<div class="hidden" id="newthreadpreview">
|
||||||
<div class="linkbox">
|
<div class="linkbox">
|
||||||
<div class="center">
|
<div class="center">
|
||||||
<a href="#" onclick="return false;">[Report Thread]</a>
|
[<a href="#" onclick="return false;">Report Thread</a>]
|
||||||
<a href="#" onclick="return false;"><?=!empty($HeavyInfo['AutoSubscribe']) ? '[Unsubscribe]' : '[Subscribe]'?></a>
|
[<a href="#" onclick="return false;"><?=!empty($HeavyInfo['AutoSubscribe']) ? 'Unsubscribe' : 'Subscribe'?></a>]
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<? if (check_perms('forums_polls_create')) { ?>
|
<? if (check_perms('forums_polls_create')) { ?>
|
||||||
@ -56,7 +56,7 @@
|
|||||||
Just now
|
Just now
|
||||||
</span>
|
</span>
|
||||||
<span id="barpreview" style="float:right;">
|
<span id="barpreview" style="float:right;">
|
||||||
<a href="#newthreadpreview">[Report Post]</a>
|
[<a href="#newthreadpreview">Report Post</a>]
|
||||||
|
|
||||||
<a href="#">↑</a>
|
<a href="#">↑</a>
|
||||||
</span>
|
</span>
|
||||||
@ -101,7 +101,7 @@
|
|||||||
|
|
||||||
if (check_perms('forums_polls_create')) {
|
if (check_perms('forums_polls_create')) {
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">//<![CDATA[
|
||||||
var AnswerCount = 1;
|
var AnswerCount = 1;
|
||||||
|
|
||||||
function AddAnswerField() {
|
function AddAnswerField() {
|
||||||
@ -124,6 +124,7 @@ function RemoveAnswerField() {
|
|||||||
for (i=0; i<2; i++) { x.removeChild(x.lastChild); }
|
for (i=0; i<2; i++) { x.removeChild(x.lastChild); }
|
||||||
AnswerCount--;
|
AnswerCount--;
|
||||||
}
|
}
|
||||||
|
//]]>
|
||||||
</script>
|
</script>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" class="center">
|
<td colspan="2" class="center">
|
||||||
|
@ -142,7 +142,7 @@
|
|||||||
<? } ?>
|
<? } ?>
|
||||||
<td>
|
<td>
|
||||||
<input type="checkbox" name="forums[]" value="<?=$Forum['ID']?>" id="forum_<?=$Forum['ID']?>"<? if(isset($_GET['forums']) && in_array($Forum['ID'], $_GET['forums'])) { echo ' checked="checked"';} ?> />
|
<input type="checkbox" name="forums[]" value="<?=$Forum['ID']?>" id="forum_<?=$Forum['ID']?>"<? if(isset($_GET['forums']) && in_array($Forum['ID'], $_GET['forums'])) { echo ' checked="checked"';} ?> />
|
||||||
<label for="forum_<?=$Forum['ID']?>"><?=$Forum['Name']?></label>
|
<label for="forum_<?=$Forum['ID']?>"><?=htmlspecialchars($Forum['Name'])?></label>
|
||||||
</td>
|
</td>
|
||||||
<? }
|
<? }
|
||||||
if ($Columns%5) { ?>
|
if ($Columns%5) { ?>
|
||||||
@ -150,11 +150,11 @@
|
|||||||
<? } ?>
|
<? } ?>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
<? } else { ?>
|
||||||
|
<input type="hidden" name="threadid" value="<?=$ThreadID?>" />
|
||||||
|
<? } ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<? } else { ?>
|
|
||||||
<input type="hidden" name="threadid" value="<?=$ThreadID?>" />
|
|
||||||
<? } ?>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>Username:</strong></td>
|
<td><strong>Username:</strong></td>
|
||||||
<td>
|
<td>
|
||||||
|
@ -143,13 +143,15 @@
|
|||||||
|
|
||||||
|
|
||||||
$DB->query("UPDATE users_notify_quoted SET UnRead = '0' WHERE UserID = '$LoggedUser[ID]' AND TopicID = '$ThreadID'");
|
$DB->query("UPDATE users_notify_quoted SET UnRead = '0' WHERE UserID = '$LoggedUser[ID]' AND TopicID = '$ThreadID'");
|
||||||
|
$Cache->delete_value('forums_quotes_' . $LoggedUser['ID']);
|
||||||
|
/*
|
||||||
$QuoteNotificationsCount = $Cache->get_value('forums_quotes_' . $LoggedUser['ID']);
|
$QuoteNotificationsCount = $Cache->get_value('forums_quotes_' . $LoggedUser['ID']);
|
||||||
if ($QuoteNotificationsCount > 0) {
|
if ($QuoteNotificationsCount > 0) {
|
||||||
$Cache->cache_value('forums_quotes_' . $LoggedUser['ID'], $QuoteNotificationsCount - 1, 0);
|
$Cache->cache_value('forums_quotes_' . $LoggedUser['ID'], $QuoteNotificationsCount - 1, 0);
|
||||||
} else {
|
} else {
|
||||||
$Cache->delete_value('forums_quotes_' . $LoggedUser['ID']);
|
$Cache->delete_value('forums_quotes_' . $LoggedUser['ID']);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// Start printing
|
// Start printing
|
||||||
View::show_header($ThreadInfo['Title'] . ' < '.$Forums[$ForumID]['Name'].' < '. 'Forums','comments,subscriptions,bbcode,jquery');
|
View::show_header($ThreadInfo['Title'] . ' < '.$Forums[$ForumID]['Name'].' < '. 'Forums','comments,subscriptions,bbcode,jquery');
|
||||||
@ -162,9 +164,9 @@
|
|||||||
</h2>
|
</h2>
|
||||||
<div class="linkbox">
|
<div class="linkbox">
|
||||||
<div class="center">
|
<div class="center">
|
||||||
<a href="reports.php?action=report&type=thread&id=<?=$ThreadID?>">[Report Thread]</a>
|
[<a href="reports.php?action=report&type=thread&id=<?=$ThreadID?>">Report Thread</a>]
|
||||||
<a href="#" onclick="Subscribe(<?=$ThreadID?>);return false;" id="subscribelink<?=$ThreadID?>">[<?=(in_array($ThreadID, $UserSubscriptions) ? 'Unsubscribe' : 'Subscribe')?>]</a>
|
[<a href="#" onclick="Subscribe(<?=$ThreadID?>);return false;" id="subscribelink<?=$ThreadID?>"><?=(in_array($ThreadID, $UserSubscriptions) ? 'Unsubscribe' : 'Subscribe')?></a>]
|
||||||
<a href="#" onclick="$('#searchthread').toggle(); this.innerHTML = (this.innerHTML == '[Search this Thread]'?'[Hide Search]':'[Search this Thread]'); return false;">[Search this Thread]</a>
|
[<a href="#" onclick="$('#searchthread').toggle(); this.innerHTML = (this.innerHTML == 'Search this Thread'?'Hide Search':'Search this Thread'); return false;">Search this Thread</a>]
|
||||||
</div>
|
</div>
|
||||||
<div id="searchthread" class="hidden center">
|
<div id="searchthread" class="hidden center">
|
||||||
<div style="display: inline-block;">
|
<div style="display: inline-block;">
|
||||||
@ -172,10 +174,12 @@
|
|||||||
<form class="search_form" name="forum_thread" action="forums.php" method="get">
|
<form class="search_form" name="forum_thread" action="forums.php" method="get">
|
||||||
<table cellpadding="6" cellspacing="1" border="0" class="layout border">
|
<table cellpadding="6" cellspacing="1" border="0" class="layout border">
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>Search for:</strong></td><td><input type="text" id="searchbox" name="search" size="70" /></td>
|
<td><strong>Search for:</strong></td>
|
||||||
|
<td><input type="text" id="searchbox" name="search" size="70" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>Username:</strong></td><td><input type="text" id="username" name="user" size="70" /></td>
|
<td><strong>Username:</strong></td>
|
||||||
|
<td><input type="text" id="username" name="user" size="70" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" style="text-align: center">
|
<td colspan="2" style="text-align: center">
|
||||||
@ -310,7 +314,7 @@
|
|||||||
<li>
|
<li>
|
||||||
<a href="forums.php?action=change_vote&threadid=<?=$ThreadID?>&auth=<?=$LoggedUser['AuthKey']?>&vote=<?=(int) $i?>"><?=display_str($Answer == '' ? "Blank" : $Answer)?></a>
|
<a href="forums.php?action=change_vote&threadid=<?=$ThreadID?>&auth=<?=$LoggedUser['AuthKey']?>&vote=<?=(int) $i?>"><?=display_str($Answer == '' ? "Blank" : $Answer)?></a>
|
||||||
- <?=$StaffVotes[$i]?> (<?=number_format(((float) $Votes[$i]/$TotalVotes)*100, 2)?>%)
|
- <?=$StaffVotes[$i]?> (<?=number_format(((float) $Votes[$i]/$TotalVotes)*100, 2)?>%)
|
||||||
<a href="forums.php?action=delete_poll_option&threadid=<?=$ThreadID?>&auth=<?=$LoggedUser['AuthKey']?>&vote=<?=(int) $i?>">[X]</a>
|
[<a href="forums.php?action=delete_poll_option&threadid=<?=$ThreadID?>&auth=<?=$LoggedUser['AuthKey']?>&vote=<?=(int) $i?>">X</a>]
|
||||||
</li>
|
</li>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
<li><a href="forums.php?action=change_vote&threadid=<?=$ThreadID?>&auth=<?=$LoggedUser['AuthKey']?>&vote=0">Blank</a> - <?=$StaffVotes[0]?> (<?=number_format(((float) $Votes[0]/$TotalVotes)*100, 2)?>%)</li>
|
<li><a href="forums.php?action=change_vote&threadid=<?=$ThreadID?>&auth=<?=$LoggedUser['AuthKey']?>&vote=0">Blank</a> - <?=$StaffVotes[0]?> (<?=number_format(((float) $Votes[0]/$TotalVotes)*100, 2)?>%)</li>
|
||||||
@ -326,7 +330,7 @@
|
|||||||
<?
|
<?
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<a href="#" onclick="AddPollOption(<?=$ThreadID?>); return false;">[+]</a>
|
[<a href="#" onclick="AddPollOption(<?=$ThreadID?>); return false;">+</a>]
|
||||||
<?
|
<?
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -352,7 +356,7 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<? if($ForumID == STAFF_FORUM) { ?>
|
<? if($ForumID == STAFF_FORUM) { ?>
|
||||||
<a href="#" onclick="AddPollOption(<?=$ThreadID?>); return false;">[+]</a>
|
[<a href="#" onclick="AddPollOption(<?=$ThreadID?>); return false;">+</a>]
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
<? } ?>
|
<? } ?>
|
||||||
@ -423,28 +427,28 @@
|
|||||||
<?=Users::format_username($AuthorID, true, true, true, true, true)?>
|
<?=Users::format_username($AuthorID, true, true, true, true, true)?>
|
||||||
<?=time_diff($AddedTime,2)?>
|
<?=time_diff($AddedTime,2)?>
|
||||||
<? if (!$ThreadInfo['IsLocked'] || check_perms('site_moderate_forums')) { ?>
|
<? if (!$ThreadInfo['IsLocked'] || check_perms('site_moderate_forums')) { ?>
|
||||||
- <a href="#quickpost" onclick="Quote('<?=$PostID?>','<?=$Username?>', true);">[Quote]</a>
|
- [<a href="#quickpost" onclick="Quote('<?=$PostID?>','<?=$Username?>', true);">Quote</a>]
|
||||||
<? }
|
<? }
|
||||||
if ((!$ThreadInfo['IsLocked'] && check_forumperm($ForumID, 'Write') && $AuthorID == $LoggedUser['ID']) || check_perms('site_moderate_forums')) { ?>
|
if ((!$ThreadInfo['IsLocked'] && check_forumperm($ForumID, 'Write') && $AuthorID == $LoggedUser['ID']) || check_perms('site_moderate_forums')) { ?>
|
||||||
- <a href="#post<?=$PostID?>" onclick="Edit_Form('<?=$PostID?>','<?=$Key?>');">[Edit]</a>
|
- [<a href="#post<?=$PostID?>" onclick="Edit_Form('<?=$PostID?>','<?=$Key?>');">Edit</a>]
|
||||||
<? }
|
<? }
|
||||||
if(check_perms('site_admin_forums') && $ThreadInfo['Posts'] > 1) { ?>
|
if(check_perms('site_admin_forums') && $ThreadInfo['Posts'] > 1) { ?>
|
||||||
- <a href="#post<?=$PostID?>" onclick="Delete('<?=$PostID?>');">[Delete]</a>
|
- [<a href="#post<?=$PostID?>" onclick="Delete('<?=$PostID?>');">Delete</a>]
|
||||||
<? }
|
<? }
|
||||||
if($PostID == $ThreadInfo['StickyPostID']) { ?>
|
if($PostID == $ThreadInfo['StickyPostID']) { ?>
|
||||||
<strong><span class="sticky_post_label">[Sticky]</span></strong>
|
<strong><span class="sticky_post_label">[Sticky]</span></strong>
|
||||||
<? if(check_perms('site_moderate_forums')) { ?>
|
<? if(check_perms('site_moderate_forums')) { ?>
|
||||||
- <a href="forums.php?action=sticky_post&threadid=<?=$ThreadID?>&postid=<?=$PostID?>&remove=true&auth=<?=$LoggedUser['AuthKey']?>" >[X]</a>
|
- [<a href="forums.php?action=sticky_post&threadid=<?=$ThreadID?>&postid=<?=$PostID?>&remove=true&auth=<?=$LoggedUser['AuthKey']?>" >X</a>]
|
||||||
<? }
|
<? }
|
||||||
} else {
|
} else {
|
||||||
if(check_perms('site_moderate_forums')) { ?>
|
if(check_perms('site_moderate_forums')) { ?>
|
||||||
- <a href="forums.php?action=sticky_post&threadid=<?=$ThreadID?>&postid=<?=$PostID?>&auth=<?=$LoggedUser['AuthKey']?>" >[⇕]</a>
|
- [<a href="forums.php?action=sticky_post&threadid=<?=$ThreadID?>&postid=<?=$PostID?>&auth=<?=$LoggedUser['AuthKey']?>" >⇕</a>]
|
||||||
<? }
|
<? }
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<div id="bar<?=$PostID?>" style="float:right;">
|
<div id="bar<?=$PostID?>" style="float:right;">
|
||||||
<a href="reports.php?action=report&type=post&id=<?=$PostID?>">[Report]</a>
|
[<a href="reports.php?action=report&type=post&id=<?=$PostID?>">Report</a>]
|
||||||
<? if (check_perms('users_warn') && $AuthorID != $LoggedUser['ID']) {
|
<? if (check_perms('users_warn') && $AuthorID != $LoggedUser['ID']) {
|
||||||
$AuthorInfo = Users::user_info($AuthorID);
|
$AuthorInfo = Users::user_info($AuthorID);
|
||||||
if($LoggedUser['Class'] >= $AuthorInfo['Class']) {
|
if($LoggedUser['Class'] >= $AuthorInfo['Class']) {
|
||||||
@ -455,7 +459,7 @@
|
|||||||
<input type="hidden" name="userid" value="<?=$AuthorID?>" />
|
<input type="hidden" name="userid" value="<?=$AuthorID?>" />
|
||||||
<input type="hidden" name="key" value="<?=$Key?>" />
|
<input type="hidden" name="key" value="<?=$Key?>" />
|
||||||
</form>
|
</form>
|
||||||
- <a href="#" onclick="$('#warn<?=$PostID?>').raw().submit(); return false;">[Warn]</a>
|
- [<a href="#" onclick="$('#warn<?=$PostID?>').raw().submit(); return false;">Warn</a>]
|
||||||
<? }
|
<? }
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
@ -517,7 +521,7 @@
|
|||||||
by <?=Users::format_username($LoggedUser['ID'], true, true, true, true, true)?> Just now
|
by <?=Users::format_username($LoggedUser['ID'], true, true, true, true, true)?> Just now
|
||||||
</span>
|
</span>
|
||||||
<span id="barpreview" style="float:right;">
|
<span id="barpreview" style="float:right;">
|
||||||
<a href="#quickreplypreview">[Report Post]</a>
|
[<a href="#quickreplypreview">Report</a>]
|
||||||
|
|
||||||
<a href="#">↑</a>
|
<a href="#">↑</a>
|
||||||
</span>
|
</span>
|
||||||
|
@ -63,14 +63,14 @@
|
|||||||
<div class="thin">
|
<div class="thin">
|
||||||
<h2><?=$Subject.($ForwardedID > 0 ? ' (Forwarded to '.$ForwardedName.')':'')?></h2>
|
<h2><?=$Subject.($ForwardedID > 0 ? ' (Forwarded to '.$ForwardedName.')':'')?></h2>
|
||||||
<div class="linkbox">
|
<div class="linkbox">
|
||||||
<a href="inbox.php">[Back to inbox]</a>
|
[<a href="inbox.php">Back to inbox</a>]
|
||||||
</div>
|
</div>
|
||||||
<?
|
<?
|
||||||
|
|
||||||
while(list($SentDate, $SenderID, $Body, $MessageID) = $DB->next_record()) { ?>
|
while(list($SentDate, $SenderID, $Body, $MessageID) = $DB->next_record()) { ?>
|
||||||
<div class="box vertical_space">
|
<div class="box vertical_space">
|
||||||
<div class="head">
|
<div class="head">
|
||||||
<strong><?=$Users[(int)$SenderID]['UserStr']?></strong> <?=time_diff($SentDate)?> - <a href="#quickpost" onclick="Quote('<?=$MessageID?>','<?=$Users[(int)$SenderID]['Username']?>');">[Quote]</a>
|
<strong><?=$Users[(int)$SenderID]['UserStr']?></strong> <?=time_diff($SentDate)?> - [<a href="#quickpost" onclick="Quote('<?=$MessageID?>','<?=$Users[(int)$SenderID]['Username']?>');">Quote</a>]
|
||||||
</div>
|
</div>
|
||||||
<div class="body" id="message<?=$MessageID?>">
|
<div class="body" id="message<?=$MessageID?>">
|
||||||
<?=$Text->full_format($Body)?>
|
<?=$Text->full_format($Body)?>
|
||||||
|
@ -20,9 +20,9 @@
|
|||||||
<?
|
<?
|
||||||
|
|
||||||
if($Section == 'inbox') { ?>
|
if($Section == 'inbox') { ?>
|
||||||
<a href="inbox.php?action=sentbox">[Sentbox]</a>
|
[<a href="inbox.php?action=sentbox">Sentbox</a>]
|
||||||
<? } elseif($Section == 'sentbox') { ?>
|
<? } elseif($Section == 'sentbox') { ?>
|
||||||
<a href="inbox.php">[Inbox]</a>
|
[<a href="inbox.php">Inbox</a>]
|
||||||
<? }
|
<? }
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@ -76,7 +76,7 @@
|
|||||||
if(empty($CurURL)) {
|
if(empty($CurURL)) {
|
||||||
$CurURL = "inbox.php?";
|
$CurURL = "inbox.php?";
|
||||||
} else {
|
} else {
|
||||||
$CurURL = "inbox.php?".$CurURL."&";
|
$CurURL = "inbox.php?".$CurURL."&";
|
||||||
}
|
}
|
||||||
|
|
||||||
$Pages=Format::get_pages($Page,$NumResults,MESSAGES_PER_PAGE,9);
|
$Pages=Format::get_pages($Page,$NumResults,MESSAGES_PER_PAGE,9);
|
||||||
@ -88,7 +88,7 @@
|
|||||||
<? if($DB->record_count()==0) { ?>
|
<? if($DB->record_count()==0) { ?>
|
||||||
<h2>Your <?= ($Section == 'sentbox') ? 'sentbox' : 'inbox' ?> is currently empty</h2>
|
<h2>Your <?= ($Section == 'sentbox') ? 'sentbox' : 'inbox' ?> is currently empty</h2>
|
||||||
<? } else { ?>
|
<? } else { ?>
|
||||||
<form class="search_form" name="<?= ($Section == 'sentbox')?'sentbox':'inbox'?>" name="" action="inbox.php" method="get" id="searchbox">
|
<form class="search_form" name="<?= ($Section == 'sentbox')?'sentbox':'inbox'?>" action="inbox.php" method="get" id="searchbox">
|
||||||
<div>
|
<div>
|
||||||
<input type="hidden" name="action" value="<?=$Section?>" />
|
<input type="hidden" name="action" value="<?=$Section?>" />
|
||||||
<input type="radio" name="searchtype" value="user" checked="checked" /> User
|
<input type="radio" name="searchtype" value="user" checked="checked" /> User
|
||||||
@ -96,9 +96,9 @@
|
|||||||
<input type="radio" name="searchtype" value="message" /> Message
|
<input type="radio" name="searchtype" value="message" /> Message
|
||||||
<span style="float: right;">
|
<span style="float: right;">
|
||||||
<? if(empty($_GET['sort']) || $_GET['sort'] != "unread") { ?>
|
<? if(empty($_GET['sort']) || $_GET['sort'] != "unread") { ?>
|
||||||
<a href="<?=$CurURL?>sort=unread">List unread first</a>
|
[<a href="<?=$CurURL?>sort=unread">List unread first</a>]
|
||||||
<? } else { ?>
|
<? } else { ?>
|
||||||
<a href="<?=$CurURL?>">List latest first</a>
|
[<a href="<?=$CurURL?>">List latest first</a>]
|
||||||
<? } ?>
|
<? } ?>
|
||||||
</span>
|
</span>
|
||||||
<br />
|
<br />
|
||||||
|
@ -34,6 +34,7 @@
|
|||||||
}
|
}
|
||||||
View::show_header('Compose', 'inbox,bbcode');
|
View::show_header('Compose', 'inbox,bbcode');
|
||||||
|
|
||||||
|
// $TypeLink is placed directly in the <textarea> when composing a PM
|
||||||
switch($Type) {
|
switch($Type) {
|
||||||
case "user" :
|
case "user" :
|
||||||
$DB->query("SELECT Username FROM users_main WHERE ID=".$ThingID);
|
$DB->query("SELECT Username FROM users_main WHERE ID=".$ThingID);
|
||||||
@ -41,8 +42,8 @@
|
|||||||
$Error = "No user with the reported ID found";
|
$Error = "No user with the reported ID found";
|
||||||
} else {
|
} else {
|
||||||
list($Username) = $DB->next_record();
|
list($Username) = $DB->next_record();
|
||||||
$TypeLink = "[user]".$Username."[/user]";
|
$TypeLink = "the user [user]".$Username."[/user]";
|
||||||
$Subject = "User Report: ". display_str($Username);
|
$Subject = "User Report: ".display_str($Username);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "request" :
|
case "request" :
|
||||||
@ -52,9 +53,8 @@
|
|||||||
$Error = "No request with the reported ID found";
|
$Error = "No request with the reported ID found";
|
||||||
} else {
|
} else {
|
||||||
list($Name) = $DB->next_record();
|
list($Name) = $DB->next_record();
|
||||||
$TypeLink = "[url=https://".SSL_SITE_URL."/requests.php?action=view&id=".$ThingID."]".display_str($Name)."[/url]";
|
$TypeLink = "the request [url=https://".SSL_SITE_URL."/requests.php?action=view&id=".$ThingID."]".display_str($Name)."[/url]";
|
||||||
$Subject = "Request Report: ". display_str($Name);
|
$Subject = "Request Report: ".display_str($Name);
|
||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "collage" :
|
case "collage" :
|
||||||
@ -63,9 +63,8 @@
|
|||||||
$Error = "No collage with the reported ID found";
|
$Error = "No collage with the reported ID found";
|
||||||
} else {
|
} else {
|
||||||
list($Name) = $DB->next_record();
|
list($Name) = $DB->next_record();
|
||||||
$TypeLink = "[url=https://".SSL_SITE_URL."/collage.php?id=".$ThingID."]".display_str($Name)."[/url]";
|
$TypeLink = "the collage [url=https://".SSL_SITE_URL."/collage.php?id=".$ThingID."]".display_str($Name)."[/url]";
|
||||||
$Subject = "Collage Report: ". display_str($Name);
|
$Subject = "Collage Report: ".display_str($Name);
|
||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "thread" :
|
case "thread" :
|
||||||
@ -74,9 +73,8 @@
|
|||||||
$Error = "No forum thread with the reported ID found";
|
$Error = "No forum thread with the reported ID found";
|
||||||
} else {
|
} else {
|
||||||
list($Title) = $DB->next_record();
|
list($Title) = $DB->next_record();
|
||||||
$TypeLink = "[url=https://".SSL_SITE_URL."/forums.php?action=viewthread&threadid=".$ThingID."]".display_str($Title)."[/url]";
|
$TypeLink = "the forum thread [url=https://".SSL_SITE_URL."/forums.php?action=viewthread&threadid=".$ThingID."]".display_str($Title)."[/url]";
|
||||||
$Subject = "Thread Report: ". display_str($Title);
|
$Subject = "Forum Thread Report: ".display_str($Title);
|
||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "post" :
|
case "post" :
|
||||||
@ -90,9 +88,8 @@
|
|||||||
$Error = "No forum post with the reported ID found";
|
$Error = "No forum post with the reported ID found";
|
||||||
} else {
|
} else {
|
||||||
list($PostID,$Body,$TopicID,$PostNum) = $DB->next_record();
|
list($PostID,$Body,$TopicID,$PostNum) = $DB->next_record();
|
||||||
$TypeLink = "[url=https://".SSL_SITE_URL."/forums.php?action=viewthread&threadid=".$TopicID."&post=".$PostNum."#post".$PostID."]FORUM POST[/url]";
|
$TypeLink = "this [url=https://".SSL_SITE_URL."/forums.php?action=viewthread&threadid=".$TopicID."&post=".$PostNum."#post".$PostID."]forum post[/url]";
|
||||||
$Subject = "Post Report";
|
$Subject = "Forum Post Report: Post ID #".display_str($PostID);
|
||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "requests_comment" :
|
case "requests_comment" :
|
||||||
@ -102,9 +99,8 @@
|
|||||||
} else {
|
} else {
|
||||||
list($RequestID, $Body, $PostNum) = $DB->next_record();
|
list($RequestID, $Body, $PostNum) = $DB->next_record();
|
||||||
$PageNum = ceil($PostNum / TORRENT_COMMENTS_PER_PAGE);
|
$PageNum = ceil($PostNum / TORRENT_COMMENTS_PER_PAGE);
|
||||||
$TypeLink = "[url=https://".SSL_SITE_URL."/requests.php?action=view&id=".$RequestID."&page=".$PageNum."#post".$ThingID."]REQUEST COMMENT[/url]";
|
$TypeLink = "this [url=https://".SSL_SITE_URL."/requests.php?action=view&id=".$RequestID."&page=".$PageNum."#post".$ThingID."]request comment[/url]";
|
||||||
$Subject = "Request Comment Report";
|
$Subject = "Request Comment Report: ID #".display_str($ThingID);
|
||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "torrents_comment" :
|
case "torrents_comment" :
|
||||||
@ -114,9 +110,8 @@
|
|||||||
} else {
|
} else {
|
||||||
list($GroupID, $Body, $PostNum) = $DB->next_record();
|
list($GroupID, $Body, $PostNum) = $DB->next_record();
|
||||||
$PageNum = ceil($PostNum / TORRENT_COMMENTS_PER_PAGE);
|
$PageNum = ceil($PostNum / TORRENT_COMMENTS_PER_PAGE);
|
||||||
$TypeLink = "[url=https://".SSL_SITE_URL."/torrents.php?id=".$GroupID."&page=".$PageNum."#post".$ThingID."]TORRENT COMMENT[/url]";
|
$TypeLink = "this [url=https://".SSL_SITE_URL."/torrents.php?id=".$GroupID."&page=".$PageNum."#post".$ThingID."]torrent comment[/url]";
|
||||||
$Subject = "Torrent Comment Report";
|
$Subject = "Torrent Comment Report: ID #".display_str($ThingID);
|
||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "collages_comment" :
|
case "collages_comment" :
|
||||||
@ -127,8 +122,8 @@
|
|||||||
list($CollageID, $Body, $PostNum) = $DB->next_record();
|
list($CollageID, $Body, $PostNum) = $DB->next_record();
|
||||||
$PerPage = POSTS_PER_PAGE;
|
$PerPage = POSTS_PER_PAGE;
|
||||||
$PageNum = ceil($PostNum / $PerPage);
|
$PageNum = ceil($PostNum / $PerPage);
|
||||||
$TypeLink = "[url=https://".SSL_SITE_URL."/collage.php?action=comments&collageid=".$CollageID."&page=".$PageNum."#post".$ThingID."]COLLAGE COMMENT[/url]";
|
$TypeLink = "this [url=https://".SSL_SITE_URL."/collage.php?action=comments&collageid=".$CollageID."&page=".$PageNum."#post".$ThingID."]collage comment[/url]";
|
||||||
$Subject = "Collage Comment Report";
|
$Subject = "Collage Comment Report: ID #".display_str($ThingID);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
@ -142,7 +137,7 @@
|
|||||||
$DB->query("SELECT r.Reason FROM reports AS r WHERE r.ID = $ReportID");
|
$DB->query("SELECT r.Reason FROM reports AS r WHERE r.ID = $ReportID");
|
||||||
list($Reason) = $DB->next_record();
|
list($Reason) = $DB->next_record();
|
||||||
|
|
||||||
$Body = "You reported this $TypeLink for the reason:\n[quote]".$Reason."[/quote]";
|
$Body = "You reported $TypeLink for the reason:\n[quote]".$Reason."[/quote]";
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<div class="thin">
|
<div class="thin">
|
||||||
@ -153,20 +148,20 @@
|
|||||||
</div>
|
</div>
|
||||||
<form class="send_form" name="message" action="reports.php" method="post" id="messageform">
|
<form class="send_form" name="message" action="reports.php" method="post" id="messageform">
|
||||||
<div class="box pad">
|
<div class="box pad">
|
||||||
<input type="hidden" name="action" value="takecompose" /> <input
|
<input type="hidden" name="action" value="takecompose" />
|
||||||
type="hidden" name="toid" value="<?=$ToID?>" /> <input type="hidden"
|
<input type="hidden" name="toid" value="<?=$ToID?>" />
|
||||||
name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||||
<div id="quickpost">
|
<div id="quickpost">
|
||||||
<h3>Subject</h3>
|
<h3>Subject</h3>
|
||||||
<input type="text" name="subject" size="95"
|
<input type="text" name="subject" size="95" value="<?=(!empty($Subject) ? $Subject : '')?>" />
|
||||||
value="<?=(!empty($Subject) ? $Subject : '')?>" /><br />
|
<br />
|
||||||
<h3>Body</h3>
|
<h3>Body</h3>
|
||||||
<textarea id="body" name="body" cols="95" rows="10"><?=(!empty($Body) ? $Body : '')?></textarea>
|
<textarea id="body" name="body" cols="95" rows="10"><?=(!empty($Body) ? $Body : '')?></textarea>
|
||||||
</div>
|
</div>
|
||||||
<div id="preview" class="hidden"></div>
|
<div id="preview" class="hidden"></div>
|
||||||
<div id="buttons" class="center">
|
<div id="buttons" class="center">
|
||||||
<input type="button" value="Preview" onclick="Quick_Preview();" /> <input
|
<input type="button" value="Preview" onclick="Quick_Preview();" />
|
||||||
type="submit" value="Send message" />
|
<input type="submit" value="Send message" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
@ -72,38 +72,39 @@
|
|||||||
// Start printing stuff
|
// Start printing stuff
|
||||||
?>
|
?>
|
||||||
<div class="thin">
|
<div class="thin">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<h2>Active Reports</h2>
|
<h2>Active Reports</h2>
|
||||||
|
|
||||||
<div class="linkbox">
|
<div class="linkbox">
|
||||||
<a href="reports.php">New</a> |
|
<a href="reports.php">New</a> |
|
||||||
<a href="reports.php?view=old">Old</a> |
|
<a href="reports.php?view=old">Old</a> |
|
||||||
<a href="reports.php?action=stats">Stats</a>
|
<a href="reports.php?action=stats">Stats</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="linkbox">
|
<div class="linkbox">
|
||||||
<?
|
<?
|
||||||
// pagination
|
// pagination
|
||||||
$Pages = Format::get_pages($Page, $Results, REPORTS_PER_PAGE, 11);
|
$Pages = Format::get_pages($Page, $Results, REPORTS_PER_PAGE, 11);
|
||||||
echo $Pages;
|
echo $Pages;
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<?
|
<?
|
||||||
while (list($ReportID, $SnitchID, $SnitchName, $ThingID, $Short, $ReportedTime, $Reason, $Status, $ClaimerID, $Notes) = $DB->next_record()) {
|
while (list($ReportID, $SnitchID, $SnitchName, $ThingID, $Short, $ReportedTime, $Reason, $Status, $ClaimerID, $Notes) = $DB->next_record()) {
|
||||||
$Type = $Types[$Short];
|
$Type = $Types[$Short];
|
||||||
$Reference = "reports.php?id=" . $ReportID . "#report" . $ReportID;
|
$Reference = "reports.php?id=" . $ReportID . "#report" . $ReportID;
|
||||||
?>
|
?>
|
||||||
<div id="report<?=$ReportID?>">
|
<div id="report<?=$ReportID?>">
|
||||||
<table cellpadding="5" id="report_<?=$ReportID?>">
|
<table cellpadding="5" id="report_<?=$ReportID?>">
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong><a href="<?=$Reference?>">Report #<?=$ReportID?></a></strong></td>
|
<td><strong><a href="<?=$Reference?>">Report #<?=$ReportID?></a></strong></td>
|
||||||
<td><strong><?=$Type['title']?></strong> was reported by <a href="user.php?id=<?=$SnitchID?>"><?=$SnitchName?></a> <?=time_diff($ReportedTime)?> <a
|
<td>
|
||||||
href="reports.php?action=compose&to=<?=$SnitchID?>&reportid=<?=$ReportID?>&type=<?=$Short?>&thingid=<?=$ThingID?>">[Contact]</a></td>
|
<strong><?=$Type['title']?></strong> was reported by <a href="user.php?id=<?=$SnitchID?>"><?=$SnitchName?></a> <?=time_diff($ReportedTime)?>
|
||||||
</tr>
|
[<a href="reports.php?action=compose&to=<?=$SnitchID?>&reportid=<?=$ReportID?>&type=<?=$Short?>&thingid=<?=$ThingID?>">Contact</a>]
|
||||||
<tr>
|
</td>
|
||||||
|
</tr>
|
||||||
<td class="center" colspan="2">
|
<tr>
|
||||||
<strong>
|
<td class="center" colspan="2">
|
||||||
|
<strong>
|
||||||
<?
|
<?
|
||||||
switch ($Short) {
|
switch ($Short) {
|
||||||
case "user" :
|
case "user" :
|
||||||
@ -184,7 +185,7 @@
|
|||||||
} else {
|
} else {
|
||||||
list($ArtistID, $Body, $PostNum) = $DB->next_record();
|
list($ArtistID, $Body, $PostNum) = $DB->next_record();
|
||||||
$PageNum = ceil($PostNum / TORRENT_COMMENTS_PER_PAGE);
|
$PageNum = ceil($PostNum / TORRENT_COMMENTS_PER_PAGE);
|
||||||
echo "<a href='artist.php?id=" . $ArtistID . "&page=" . $PageNum . "#post" . $ThingID . "'>COMMENT</a>";
|
echo "<a href='artist.php?id=" . $ArtistID . "&page=" . $PageNum . "#post" . $ThingID . "'>ARTIST COMMENT</a>";
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -491,12 +491,10 @@ function generate_torrent_table($Caption, $Tag, $Details, $Limit) {
|
|||||||
<?
|
<?
|
||||||
if($IsBookmarked) {
|
if($IsBookmarked) {
|
||||||
?>
|
?>
|
||||||
<a href="#" class="bookmarklink_torrent_<?=$GroupID?>" onclick="Unbookmark('torrent', <?=$GroupID?>,'Bookmark');return false;">Remove Bookmark</a>
|
<a href="#" id="bookmarklink_torrent_<?=$GroupID?>" class="remove_bookmark" title="Remove bookmark" onclick="Unbookmark('torrent',<?=$GroupID?>,'Bookmark');return false;">Unbookmark</a>
|
||||||
<?
|
<? } else { ?>
|
||||||
} else {
|
<a href="#" id="bookmarklink_torrent_<?=$GroupID?>" class="add_bookmark" title="Add bookmark" onclick="Bookmark('torrent',<?=$GroupID?>,'Unbookmark');return false;">Bookmark</a>
|
||||||
?>
|
<? } ?>
|
||||||
<a href="#" class="bookmarklink_torrent_<?=$GroupID?>" onclick="Bookmark('torrent', <?=$GroupID?>,'Remove Bookmark');return false;">Bookmark</a>
|
|
||||||
<? }?>
|
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<?=$TorrentTags?>
|
<?=$TorrentTags?>
|
||||||
|
@ -221,9 +221,9 @@
|
|||||||
<td>
|
<td>
|
||||||
<strong><?=$DisplayName?></strong> <!--<?Votes::vote_link($GroupID,$UserVotes[$GroupID]['Type']);?>-->
|
<strong><?=$DisplayName?></strong> <!--<?Votes::vote_link($GroupID,$UserVotes[$GroupID]['Type']);?>-->
|
||||||
<? if($IsBookmarked) { ?>
|
<? if($IsBookmarked) { ?>
|
||||||
<span class="bookmark" style="float:right;">[ <a href="#" class="bookmarklink_torrent_<?=$GroupID?>" title="Remove bookmark" onclick="Unbookmark('torrent',<?=$GroupID?>,'Bookmark');return false;">Unbookmark</a> ]</span>
|
<span class="bookmark" style="float:right;">[ <a href="#" id="bookmarklink_torrent_<?=$GroupID?>" class="remove_bookmark" title="Remove bookmark" onclick="Unbookmark('torrent',<?=$GroupID?>,'Bookmark');return false;">Unbookmark</a> ]</span>
|
||||||
<? } else { ?>
|
<? } else { ?>
|
||||||
<span class="bookmark" style="float:right;">[ <a href="#" class="bookmarklink_torrent_<?=$GroupID?>" title="Add bookmark" onclick="Bookmark('torrent',<?=$GroupID?>,'Unbookmark');return false;">Bookmark</a> ]</span>
|
<span class="bookmark" style="float:right;">[ <a href="#" id="bookmarklink_torrent_<?=$GroupID?>" class="add_bookmark" title="Add bookmark" onclick="Bookmark('torrent',<?=$GroupID?>,'Unbookmark');return false;">Bookmark</a> ]</span>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
<?=$TorrentTags?>
|
<?=$TorrentTags?>
|
||||||
</td>
|
</td>
|
||||||
@ -335,9 +335,9 @@
|
|||||||
<? } ?>
|
<? } ?>
|
||||||
| <a href="reportsv2.php?action=report&id=<?=$TorrentID?>" title="Report">RP</a>
|
| <a href="reportsv2.php?action=report&id=<?=$TorrentID?>" title="Report">RP</a>
|
||||||
<? if($IsBookmarked) { ?>
|
<? if($IsBookmarked) { ?>
|
||||||
| <a href="#" id="bookmarklink_torrent_<?=$GroupID?>" title="Remove bookmark" onclick="Unbookmark('torrent',<?=$GroupID?>,'Bookmark');return false;">Unbookmark</a>
|
| <a href="#" id="bookmarklink_torrent_<?=$GroupID?>" class="remove_bookmark" title="Remove bookmark" onclick="Unbookmark('torrent',<?=$GroupID?>,'Bookmark');return false;">Unbookmark</a>
|
||||||
<? } else { ?>
|
<? } else { ?>
|
||||||
| <a href="#" id="bookmarklink_torrent_<?=$GroupID?>" title="Add bookmark" onclick="Bookmark('torrent',<?=$GroupID?>,'Unbookmark');return false;">Bookmark</a>
|
| <a href="#" id="bookmarklink_torrent_<?=$GroupID?>" class="add_bookmark" title="Add bookmark" onclick="Bookmark('torrent',<?=$GroupID?>,'Unbookmark');return false;">Bookmark</a>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
]
|
]
|
||||||
</span>
|
</span>
|
||||||
|
@ -962,9 +962,9 @@ function header_link($SortKey,$DefaultWay="desc") {
|
|||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
<?=$DisplayName?>
|
<?=$DisplayName?>
|
||||||
<? if (in_array($GroupID, $Bookmarks)) { ?>
|
<? if (in_array($GroupID, $Bookmarks)) { ?>
|
||||||
<span class="bookmark" style="float:right;"><a href="#" id="bookmarklink_torrent_<?=$GroupID?>" title="Remove bookmark" onclick="Unbookmark('torrent',<?=$GroupID?>,'Bookmark');return false;">Unbookmark</a></span>
|
<span class="remove_bookmark" style="float:right;"><a href="#" id="bookmarklink_torrent_<?=$GroupID?>" title="Remove bookmark" onclick="Unbookmark('torrent',<?=$GroupID?>,'Bookmark');return false;">Unbookmark</a></span>
|
||||||
<? } else { ?>
|
<? } else { ?>
|
||||||
<span class="bookmark" style="float:right;"><a href="#" id="bookmarklink_torrent_<?=$GroupID?>" title="Add bookmark" onclick="Bookmark('torrent',<?=$GroupID?>,'Unbookmark');return false;">Bookmark</a></span>
|
<span class="add_bookmark" style="float:right;"><a href="#" id="bookmarklink_torrent_<?=$GroupID?>" title="Add bookmark" onclick="Bookmark('torrent',<?=$GroupID?>,'Unbookmark');return false;">Bookmark</a></span>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
<br />
|
<br />
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
@ -96,9 +96,9 @@ function compare($X, $Y){
|
|||||||
<? }
|
<? }
|
||||||
if(has_bookmarked('torrent', $GroupID)) {
|
if(has_bookmarked('torrent', $GroupID)) {
|
||||||
?>
|
?>
|
||||||
<a href="#" id="bookmarklink_torrent_<?=$GroupID?>" onclick="Unbookmark('torrent', <?=$GroupID?>,'[Bookmark]');return false;">[Remove bookmark]</a>
|
<a href="#" id="bookmarklink_torrent_<?=$GroupID?>" class="remove_bookmark" title="Remove bookmark" onclick="Unbookmark('torrent',<?=$GroupID?>,'Bookmark');return false;">Unbookmark</a>
|
||||||
<? } else { ?>
|
<? } else { ?>
|
||||||
<a href="#" id="bookmarklink_torrent_<?=$GroupID?>" onclick="Bookmark('torrent', <?=$GroupID?>,'[Remove bookmark]');return false;">[Bookmark]</a>
|
<a href="#" id="bookmarklink_torrent_<?=$GroupID?>" class="add_bookmark" title="Add bookmark" onclick="Bookmark('torrent',<?=$GroupID?>,'Unbookmark');return false;">Bookmark</a>
|
||||||
<? }
|
<? }
|
||||||
if($Categories[$GroupCategoryID-1] == 'Music') { ?>
|
if($Categories[$GroupCategoryID-1] == 'Music') { ?>
|
||||||
<a href="upload.php?groupid=<?=$GroupID?>">[Add format]</a>
|
<a href="upload.php?groupid=<?=$GroupID?>">[Add format]</a>
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
<div class="box box_info box_lastfm">
|
<div class="box box_info box_lastfm">
|
||||||
<div class="head colhead_dark">Last.fm</div>
|
<div class="head colhead_dark">Last.fm</div>
|
||||||
<ul class="stats nobullet">
|
<ul class="stats nobullet">
|
||||||
<li class="lastfm_username">
|
<li>
|
||||||
Username: <a id="lastfm_username" href="<?= $LastFMInfo['user']['url'] ?>" title="<?= $LastFMInfo['user']['name'] ?> on Last.fm: <?= $LastFMInfo['user']['playcount'] ?> plays, <?= $LastFMInfo['user']['playlists'] ?> playlists."><?= $LastFMInfo['user']['name'] ?></a>
|
Username: <a id="lastfm_username" href="<?= $LastFMInfo['user']['url'] ?>" target="_blank" title="<?= $LastFMInfo['user']['name'] ?> on Last.fm: <?= $LastFMInfo['user']['playcount'] ?> plays, <?= $LastFMInfo['user']['playlists'] ?> playlists."><?= $LastFMInfo['user']['name'] ?></a>
|
||||||
</li>
|
</li>
|
||||||
<div id="lastfm_stats" <? if ($OwnProfile == true): ?>data-uid="<?= $OwnProfile ?>"<? endif; ?>>
|
<div id="lastfm_stats" <? if ($OwnProfile == true): ?>data-uid="<?= $OwnProfile ?>"<? endif; ?>>
|
||||||
</div>
|
</div>
|
||||||
|
@ -212,24 +212,24 @@
|
|||||||
if(!$ShowUnread){ ?>
|
if(!$ShowUnread){ ?>
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<? if($ShowGrouped) { ?>
|
<? if($ShowGrouped) { ?>
|
||||||
<a href="userhistory.php?action=posts&userid=<?=$UserID?>&showunread=0&group=0">Show all posts</a>
|
[<a href="userhistory.php?action=posts&userid=<?=$UserID?>&showunread=0&group=0">Show all posts</a>]
|
||||||
<? } else { ?>
|
<? } else { ?>
|
||||||
<a href="userhistory.php?action=posts&userid=<?=$UserID?>&showunread=0&group=1">Show all posts (grouped)</a>
|
[<a href="userhistory.php?action=posts&userid=<?=$UserID?>&showunread=0&group=1">Show all posts (grouped)</a>]
|
||||||
<? } ?>
|
<? } ?>
|
||||||
<a href="userhistory.php?action=posts&userid=<?=$UserID?>&showunread=1&group=1">Only display posts with unread replies (grouped)</a>
|
[<a href="userhistory.php?action=posts&userid=<?=$UserID?>&showunread=1&group=1">Only display posts with unread replies (grouped)</a>]
|
||||||
<? } else { ?>
|
<? } else { ?>
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<a href="userhistory.php?action=posts&userid=<?=$UserID?>&showunread=0&group=0">Show all posts</a>
|
[<a href="userhistory.php?action=posts&userid=<?=$UserID?>&showunread=0&group=0">Show all posts</a>]
|
||||||
<?
|
<?
|
||||||
if(!$ShowGrouped) {
|
if(!$ShowGrouped) {
|
||||||
?><a href="userhistory.php?action=posts&userid=<?=$UserID?>&showunread=1&group=1">Only display posts with unread replies (grouped)</a> <?
|
?>[<a href="userhistory.php?action=posts&userid=<?=$UserID?>&showunread=1&group=1">Only display posts with unread replies (grouped)</a>] <?
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
?><a href="userhistory.php?action=posts&userid=<?=$UserID?>&showunread=1&group=0">Only display posts with unread replies</a> <?
|
?>[<a href="userhistory.php?action=posts&userid=<?=$UserID?>&showunread=1&group=0">Only display posts with unread replies</a>] <?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<a href="userhistory.php?action=subscriptions">Go to subscriptions</a>
|
[<a href="userhistory.php?action=subscriptions">Go to subscriptions</a>]
|
||||||
<?
|
<?
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
@ -285,7 +285,7 @@
|
|||||||
?>
|
?>
|
||||||
<span id="bar<?=$PostID ?>" style="float:right;">
|
<span id="bar<?=$PostID ?>" style="float:right;">
|
||||||
<? if($ViewingOwn && !in_array($TopicID, $UserSubscriptions)) { ?>
|
<? if($ViewingOwn && !in_array($TopicID, $UserSubscriptions)) { ?>
|
||||||
<a href="#" onclick="Subscribe(<?=$TopicID?>);$('.subscribelink<?=$TopicID?>').remove();return false;" class="subscribelink<?=$TopicID?>">[Subscribe]</a>
|
[<a href="#" onclick="Subscribe(<?=$TopicID?>);$('.subscribelink<?=$TopicID?>').remove();return false;" class="subscribelink<?=$TopicID?>">Subscribe</a>]
|
||||||
|
|
||||||
<? } ?>
|
<? } ?>
|
||||||
<a href="#">↑</a>
|
<a href="#">↑</a>
|
||||||
|
@ -49,12 +49,12 @@
|
|||||||
<div class="linkbox pager">
|
<div class="linkbox pager">
|
||||||
<br />
|
<br />
|
||||||
<? if ($UnreadSQL) { ?>
|
<? if ($UnreadSQL) { ?>
|
||||||
<a href="userhistory.php?action=quote_notifications&showall=1">Show all quotes</a>
|
[<a href="userhistory.php?action=quote_notifications&showall=1">Show all quotes</a>]
|
||||||
<? } else { ?>
|
<? } else { ?>
|
||||||
<a href="userhistory.php?action=quote_notifications">Show unread quotes</a>
|
[<a href="userhistory.php?action=quote_notifications">Show unread quotes</a>]
|
||||||
<? } ?>
|
<? } ?>
|
||||||
<a href="userhistory.php?action=subscriptions">Show subscriptions</a>
|
[<a href="userhistory.php?action=subscriptions">Show subscriptions</a>]
|
||||||
<a href="userhistory.php?action=quote_notifications&catchup=1">Catch up</a>
|
[<a href="userhistory.php?action=quote_notifications&catchup=1">Catch up</a>]
|
||||||
<br /> <br />
|
<br /> <br />
|
||||||
<?
|
<?
|
||||||
$Pages = Format::get_pages($Page, $NumResults, TOPICS_PER_PAGE, 9);
|
$Pages = Format::get_pages($Page, $NumResults, TOPICS_PER_PAGE, 9);
|
||||||
|
@ -102,23 +102,23 @@
|
|||||||
if(!$ShowUnread) {
|
if(!$ShowUnread) {
|
||||||
?>
|
?>
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<a href="userhistory.php?action=subscriptions&showunread=1">Only display topics with unread replies</a>
|
[<a href="userhistory.php?action=subscriptions&showunread=1">Only display topics with unread replies</a>]
|
||||||
<?
|
<?
|
||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<a href="userhistory.php?action=subscriptions&showunread=0">Show all subscribed topics</a>
|
[<a href="userhistory.php?action=subscriptions&showunread=0">Show all subscribed topics</a>]
|
||||||
<?
|
<?
|
||||||
}
|
}
|
||||||
if($NumResults) {
|
if($NumResults) {
|
||||||
?>
|
?>
|
||||||
<a href="#" onclick="Collapse();return false;" id="collapselink"><?=$ShowCollapsed?'Show':'Hide'?> post bodies</a>
|
[<a href="#" onclick="Collapse();return false;" id="collapselink"><?=$ShowCollapsed?'Show':'Hide'?> post bodies</a>]
|
||||||
<?
|
<?
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<a href="userhistory.php?action=catchup&auth=<?=$LoggedUser['AuthKey']?>">Catch up</a>
|
[<a href="userhistory.php?action=catchup&auth=<?=$LoggedUser['AuthKey']?>">Catch up</a>]
|
||||||
<a href="userhistory.php?action=posts&userid=<?=$LoggedUser['ID']?>">Go to post history</a>
|
[<a href="userhistory.php?action=posts&userid=<?=$LoggedUser['ID']?>">Go to post history</a>]
|
||||||
<a href="userhistory.php?action=quote_notifications">Quote notifications</a>
|
[<a href="userhistory.php?action=quote_notifications">Quote notifications</a>]
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?
|
<?
|
||||||
|
@ -1053,3 +1053,7 @@ tr.torrent .bookmark > a:before {
|
|||||||
tr.torrent .bookmark > a:after {
|
tr.torrent .bookmark > a:after {
|
||||||
color:#646054;
|
color:#646054;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#requests .forum_post textarea { /* overriding the inline 80-character monospace */
|
||||||
|
max-width: 409px;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user