Empty commit

This commit is contained in:
Git 2013-02-09 08:01:01 +00:00
parent 9740f89a3b
commit 98bc98ed16
99 changed files with 1489 additions and 1545 deletions

View File

@ -31,6 +31,7 @@
'site_moderate_requests' => 'Request moderation access.',
'site_delete_artist' => 'Can delete artists (must be able to delete torrents+requests).',
'site_moderate_forums' => 'Forum moderation access.',
'site_admin_forums' => 'Forum administrator access.',
'site_forums_double_post' => 'Can double post in the forums.',
'site_view_flow' => 'Can view stats and data pools.',

View File

@ -230,12 +230,12 @@ function compare($X, $Y){
$ToggleStr = '';
}
?>
[<a href="#torrents_<?=str_replace(" ", "_", strtolower($ReleaseTypes[$ReleaseID]))?>"<?=$ToggleStr?>><?=$DisplayName?></a>]
<a href="#torrents_<?=str_replace(" ", "_", strtolower($ReleaseTypes[$ReleaseID]))?>" class="brackets"<?=$ToggleStr?>><?=$DisplayName?></a>
<?
}
if ($NumRequests > 0) {
?>
[<a href="#requests">Requests</a>]
<a href="#requests" class="brackets">Requests</a>
<? } ?>
</div>
<? }
@ -355,7 +355,7 @@ function compare($X, $Y){
$DisplayName ='<a href="torrents.php?id='.$GroupID.'" title="View Torrent">'.$GroupName.'</a>';
if(check_perms('users_mod') || check_perms('torrents_fix_ghosts')) {
$DisplayName .= ' [<a href="torrents.php?action=fix_group&amp;groupid='.$GroupID.'&amp;artistid='.$ArtistID.'&amp;auth='.$LoggedUser['AuthKey'].'" title="Fix ghost DB entry">Fix</a>]';
$DisplayName .= ' <a href="torrents.php?action=fix_group&amp;groupid='.$GroupID.'&amp;artistid='.$ArtistID.'&amp;auth='.$LoggedUser['AuthKey'].'" class="brackets" title="Fix ghost DB entry">Fix</a>';
}
@ -543,9 +543,9 @@ function compare($X, $Y){
if ($RevisionID && check_perms('site_edit_wiki')) {
?>
[<a href="artist.php?action=revert&amp;artistid=<?=$ArtistID?>&amp;revisionid=<?=$RevisionID?>&amp;auth=<?=$LoggedUser['AuthKey']?>">
<a href="artist.php?action=revert&amp;artistid=<?=$ArtistID?>&amp;revisionid=<?=$RevisionID?>&amp;auth=<?=$LoggedUser['AuthKey']?>" class="brackets">
Revert to this revision
</a>]
</a>
<? } ?>
</div>
</div>
@ -595,7 +595,7 @@ function compare($X, $Y){
<li id="list<?=$ListItem?>">
<input type="hidden" name="list[]" value="<?=$ListItem?>" />
<span style="float:left;"><?=$ZIPOptions[$ListItem]['2']?></span>
<span class="remove remove_collector"><a href="#" onclick="remove_selection('<?=$ListItem?>');return false;" style="float:right;" title="Remove format from the Collector">[X]</a></span>
<span class="remove remove_collector"><a href="#" onclick="remove_selection('<?=$ListItem?>');return false;" style="float:right;" class="brackets" title="Remove format from the Collector">X</a></span>
<br style="clear:all;" />
</li>
<? } ?>
@ -705,10 +705,10 @@ function compare($X, $Y){
<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;">
[<a href="artist.php?action=vote_similar&amp;artistid=<?=$ArtistID?>&amp;similarid=<?=$SimilarID?>&amp;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&amp;artistid=<?=$ArtistID?>&amp;similarid=<?=$SimilarID?>&amp;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&amp;artistid=<?=$ArtistID?>&amp;similarid=<?=$SimilarID?>&amp;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." class="brackets">-</a>
<a href="artist.php?action=vote_similar&amp;artistid=<?=$ArtistID?>&amp;similarid=<?=$SimilarID?>&amp;way=up" style="font-family: monospace;" title="Vote up this similar artist. Use this when you feel that the two artists are quite similar." class="brackets">+</a>
<? if(check_perms('site_delete_tag')) { ?>
[<span class="remove remove_artist"><a href="artist.php?action=delete_similar&amp;similarid=<?=$SimilarID?>&amp;auth=<?=$LoggedUser['AuthKey']?>" title="Remove this similar artist">X</a>]</span>
<span class="remove remove_artist"><a href="artist.php?action=delete_similar&amp;similarid=<?=$SimilarID?>&amp;auth=<?=$LoggedUser['AuthKey']?>" title="Remove this similar artist" class="brackets">X</a></span>
<? } ?>
</div>
<br style="clear:both" />
@ -793,7 +793,7 @@ function compare($X, $Y){
<span id="vote_count_<?=$RequestID?>"><?=$Votes?></span>
<? if(check_perms('site_vote')){ ?>
<input type="hidden" id="auth" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
&nbsp;&nbsp; <a href="javascript:Vote(0, <?=$RequestID?>)"><strong>(+)</strong></a>
&nbsp;&nbsp; <a href="javascript:Vote(0, <?=$RequestID?>)" class="brackets"><strong>+</strong></a>
<? } ?>
</td>
<td>
@ -838,8 +838,8 @@ function compare($X, $Y){
<div id="similar_artist_map" class="box">
<div id="flipper_head" class="head">
<a href="#">&uarr;</a>&nbsp;
<strong id="flipper_title">Similar Artist Map</strong>
[<a id="flip_to" href="#null" onclick="flipView();">Switch to cloud</a>]
<strong id="flipper_title">Similar artist map</strong>
<a id="flip_to" class="brackets" href="#null" onclick="flipView();">Switch to cloud</a>
</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()?>)">
<?
@ -918,7 +918,7 @@ function require(file, callback) {
<div id="info" class="head">
<a href="#">&uarr;</a>&nbsp;
<strong>Artist info</strong>
[<a href="#" onclick="$('#body').toggle(); return false;">Toggle</a>]
<a href="#" class="brackets" onclick="$('#body').toggle(); return false;">Toggle</a>
</div>
<div id="body" class="body"><?=$Text->full_format($Body)?></div>
</div>
@ -999,16 +999,16 @@ function require(file, callback) {
<td colspan="<?=Users::has_avatars_enabled() ? 2 : 1?>">
<div style="float:left;"><a class="post_id" href='artist.php?id=<?=$ArtistID?>&amp;postid=<?=$PostID?>#post<?=$PostID?>'>#<?=$PostID?></a>
<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?>');" class="brackets">Quote</a>
<? 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?>');" class="brackets">Edit</a>
<? }
if (check_perms('site_moderate_forums')) { ?>
- [<a href="#post<?=$PostID?>" onclick="Delete('<?=$PostID?>');">Delete</a>]
- <a href="#post<?=$PostID?>" onclick="Delete('<?=$PostID?>');" class="brackets">Delete</a>
<? } ?>
</div>
<div id="bar<?=$PostID?>" style="float:right;">
[<a href="reports.php?action=report&amp;type=artist_comment&amp;id=<?=$PostID?>">Report</a>]
<a href="reports.php?action=report&amp;type=artist_comment&amp;id=<?=$PostID?>" class="brackets">Report</a>
<? if (check_perms('users_warn') && $AuthorID != $LoggedUser['ID']) {
$AuthorInfo = Users::user_info($AuthorID);
if ($LoggedUser['Class'] >= $AuthorInfo['Class']) {
@ -1020,7 +1020,7 @@ function require(file, callback) {
<input type="hidden" name="userid" value="<?=$AuthorID?>" />
<input type="hidden" name="key" value="<?=$Key?>" />
</form>
- [<a href="#" onclick="$('#warn<?=$PostID?>').raw().submit(); return false;">Warn</a>]
- <a href="#" onclick="$('#warn<?=$PostID?>').raw().submit(); return false;" class="brackets">Warn</a>
<? }
}
?>

View File

@ -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" class="brackets"><?=$DisplayName?></a>
<?
}
if ($NumRequests > 0) {
?>
[<a href="#requests" id="requests_anchorlink">Requests</a>]
<a href="#requests" id="requests_anchorlink" class="brackets">Requests</a>
</span>
<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', false);return false;">All default closed</a>]
<a href="#" class="brackets" onclick="setDefaultShow('all', true);return false;">All default open</a>
<a href="#" class="brackets" onclick="setDefaultShow('all', false);return false;">All default closed</a>
</span>
<? } ?>
</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/leechers.png" alt="Leechers" title="Leechers" /></td>
<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?>_closedlink" onclick="setDefaultShow('<?=$ReleaseType?>',false);return false;">default open</a>]
<a href="#"<?=!$HideDiscogDefault?' class="hidden"':''?> id="releases_<?=$ReleaseType?>_openlink" onclick="setDefaultShow('<?=$ReleaseType?>',true);return false;" class="brackets">default closed</a>
<a href="#"<?=$HideDiscogDefault?' class="hidden"':''?> id="releases_<?=$ReleaseType?>_closedlink" onclick="setDefaultShow('<?=$ReleaseType?>',false);return false;" class="brackets">default open</a>
<input class="hidden" id="releases_<?=$ReleaseType?>_defaultopen"<?=!$HideDiscogDefault?' checked="checked"':''?> type="checkbox" title="Show" />
&nbsp;
<span style="cursor:move;" id="torrents_<?=$ReleaseTypeLabel?>_handle">&#9776;</span>
@ -392,15 +392,15 @@ function display_name($ReleaseType) {
<div class="header">
<h2><?=$Name?><? if ($RevisionID) { ?> (Revision #<?=$RevisionID?>)<? } if ($VanityHouseArtist) { ?> [Vanity House] <? } ?></h2>
<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="brackets" id="editlayout">Edit ordering</a>
<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="brackets hidden" id="savelayout">Save ordering</a>
</span>
</h2>
<div id="emptylinkbox" class="linkbox hidden"></div>
<div id="linkbox" class="linkbox">
<? if (check_perms('site_submit_requests')) { ?>
[<a href="requests.php?action=new&amp;artistid=<?=$ArtistID?>">Add request</a>]
<a href="requests.php?action=new&amp;artistid=<?=$ArtistID?>" class="brackets">Add request</a>
<? }
if (check_perms('site_torrents_notify')) {
@ -411,40 +411,40 @@ function display_name($ReleaseType) {
}
if (stripos($Notify['Artists'], '|'.$Name.'|') === FALSE) {
?>
[<a href="artist.php?action=notify&amp;artistid=<?=$ArtistID?>&amp;auth=<?=$LoggedUser['AuthKey']?>">Notify of new uploads</a>]
<a href="artist.php?action=notify&amp;artistid=<?=$ArtistID?>&amp;auth=<?=$LoggedUser['AuthKey']?>" class="brackets">Notify of new uploads</a>
<?
} else {
?>
[<a href="artist.php?action=notifyremove&amp;artistid=<?=$ArtistID?>&amp;auth=<?=$LoggedUser['AuthKey']?>">Do not notify of new uploads</a>]
<a href="artist.php?action=notifyremove&amp;artistid=<?=$ArtistID?>&amp;auth=<?=$LoggedUser['AuthKey']?>" class="brackets">Do not notify of new uploads</a>
<?
}
}
if (has_bookmarked('artist', $ArtistID)) {
?>
[<a href="#" id="bookmarklink_artist_<?=$ArtistID?>" class="brackets" onclick="Unbookmark('artist', <?=$ArtistID?>,'Bookmark');return false;">Remove bookmark</a>]
<a href="#" id="bookmarklink_artist_<?=$ArtistID?>" class="brackets" onclick="Unbookmark('artist', <?=$ArtistID?>,'Bookmark');return false;">Remove bookmark</a>
<?
} else {
?>
[<a href="#" id="bookmarklink_artist_<?=$ArtistID?>" class="brackets" onclick="Bookmark('artist', <?=$ArtistID?>,'Remove bookmark');return false;">Bookmark</a>]
<a href="#" id="bookmarklink_artist_<?=$ArtistID?>" class="brackets" onclick="Bookmark('artist', <?=$ArtistID?>,'Remove bookmark');return false;">Bookmark</a>
<?
}
if (check_perms('site_edit_wiki')) {
?>
[<a href="artist.php?action=edit&amp;artistid=<?=$ArtistID?>">Edit</a>]
<a href="artist.php?action=edit&amp;artistid=<?=$ArtistID?>" class="brackets">Edit</a>
<? } ?>
[<a href="artist.php?action=history&amp;artistid=<?=$ArtistID?>">View history</a>]
<a href="artist.php?action=history&amp;artistid=<?=$ArtistID?>" class="brackets">View history</a>
<? if (check_perms('site_delete_artist') && check_perms('torrents_delete')) { ?>
[<a href="artist.php?action=delete&amp;artistid=<?=$ArtistID?>&amp;auth=<?=$LoggedUser['AuthKey']?>">Delete</a>]
<a href="artist.php?action=delete&amp;artistid=<?=$ArtistID?>&amp;auth=<?=$LoggedUser['AuthKey']?>" class="brackets">Delete</a>
<? }
if ($RevisionID && check_perms('site_edit_wiki')) {
?>
[<a href="artist.php?action=revert&amp;artistid=<?=$ArtistID?>&amp;revisionid=<?=$RevisionID?>&amp;auth=<?=$LoggedUser['AuthKey']?>">
<a href="artist.php?action=revert&amp;artistid=<?=$ArtistID?>&amp;revisionid=<?=$RevisionID?>&amp;auth=<?=$LoggedUser['AuthKey']?>" class="brackets">
Revert to this revision
</a>]
</a>
<? } ?>
</div>
</div>
@ -529,10 +529,10 @@ function display_name($ReleaseType) {
?>
<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;">
[<a href="artist.php?action=vote_similar&amp;artistid=<?=$ArtistID?>&amp;similarid=<?=$SimilarID?>&amp;way=down" style="font-family: monospace;">&minus;</a>]
[<a href="artist.php?action=vote_similar&amp;artistid=<?=$ArtistID?>&amp;similarid=<?=$SimilarID?>&amp;way=up" style="font-family: monospace;">+</a>]
<a href="artist.php?action=vote_similar&amp;artistid=<?=$ArtistID?>&amp;similarid=<?=$SimilarID?>&amp;way=down" style="font-family: monospace;" class="brackets">&minus;</a>
<a href="artist.php?action=vote_similar&amp;artistid=<?=$ArtistID?>&amp;similarid=<?=$SimilarID?>&amp;way=up" style="font-family: monospace;" class="brackets">+</a>
<? if(check_perms('site_delete_tag')) { ?>
[<a href="artist.php?action=delete_similar&amp;similarid=<?=$SimilarID?>&amp;auth=<?=$LoggedUser['AuthKey']?>">X</a>]
<a href="artist.php?action=delete_similar&amp;similarid=<?=$SimilarID?>&amp;auth=<?=$LoggedUser['AuthKey']?>" class="brackets">X</a>
<? } ?>
</div>
<br style="clear:both" />

View File

@ -27,7 +27,7 @@
<div class="box">
<div id="concerts" class="head">
<a href="#">&uarr;</a>&nbsp;<strong>Upcoming concerts</strong>
[<a href="#" onclick="$('#concertsbody').toggle(); return false;">Toggle</a>]
<a href="#" class="brackets" onclick="$('#concertsbody').toggle(); return false;">Toggle</a>
</div>
<div id="concertsbody" <?=$Hidden ? "class='hidden'" : ""?>>
<?=$Concerts?>
@ -52,7 +52,7 @@ function make_concert_link($Event)
<input type="hidden" name="concert_id" value="<?=$Event['id']?>"/>
<input type="hidden" name="concert_template" value="<?=get_concert_post_template($Name, $Event)?>"/>
</form>
<li><?=$Concert?> - [<a href="#" onclick="$('#concert<?=$Event['id']?>').raw().submit(); return false;">Go to thread</a>]</li>
<li><?=$Concert?> - <a href="#" class="brackets" onclick="$('#concert<?=$Event['id']?>').raw().submit(); return false;">Go to thread</a></li>
<?
}

View File

@ -81,9 +81,9 @@
<div>
<em>Merges this artist (<?=$Name?>) into the artist specified below (without redirection), so that "<?=$Name?>" (and its aliases) will appear as a non-redirecting alias of the artist entered in the text box below.</em><br /><br />
<div style="text-align: center;">
<label for="newartistid">ArtistID:</label>&nbsp;<input type="text" id="newartistid" name="newartistid" size="40" value="" /><br />
<label for="newartistid">Artist ID:</label>&nbsp;<input type="text" id="newartistid" name="newartistid" size="40" value="" /><br />
<strong>OR</strong><br />
<label for="newartistid">Artist Name:</label>&nbsp;<input type="text" id="newartistname" name="newartistname" size="40" value="" />
<label for="newartistid">Artist name:</label>&nbsp;<input type="text" id="newartistname" name="newartistname" size="40" value="" />
<br /><br />
<input type="submit" value="Change ArtistID" />
</div>
@ -101,9 +101,9 @@
if($AliasName == $Name) { $DefaultRedirectID = $AliasID; }
?>
<li><?=$AliasID?>. <?=$AliasName?>
<? if($User) { ?> [<a href="user.php?id=<?=$User?>">User</a>] <?}
<? if($User) { ?> <a href="user.php?id=<?=$User?>" class="brackets">User</a> <?}
if($Redirect) { ?> (writes redirect to <?=$Redirect?>)<? } ?>
[<a href="artist.php?action=delete_alias&amp;aliasid=<?=$AliasID?>&amp;auth=<?=$LoggedUser['AuthKey']?>">X</a>]
<a href="artist.php?action=delete_alias&amp;aliasid=<?=$AliasID?>&amp;auth=<?=$LoggedUser['AuthKey']?>" class="brackets">X</a>
</li>
<? }
?>
@ -114,7 +114,7 @@
<input type="hidden" name="artistid" value="<?=$ArtistID?>" />
<h3>Name:</h3>
<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 (enter an Alias ID; leave blank or enter "0" for no redirect):</h3>
<input type="text" name="redirect" size="40" value="<?=$DefaultRedirectID?>" /><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" />

View File

@ -29,14 +29,14 @@
<? if($All) { ?>
<h2>All torrents trumpable for bad file names</h2>
<? } else { ?>
<h2>Torrents trumpable for bad file names, that you've snatched</h2>
<h2>Torrents trumpable for bad file names that you have snatched</h2>
<? } ?>
<div class="linkbox">
<? if($All) { ?>
<a href="better.php?method=files">Just those you've snatched</a>
<a href="better.php?method=files" class="brackets">Show only those you have snatched</a>
<? } else { ?>
<a href="better.php?method=files&amp;filter=all">Show all</a>
<a href="better.php?method=files&amp;filter=all" class="brackets">Show all</a>
<? } ?>
</div>
</div>
@ -77,11 +77,11 @@
<tr class="torrent torrent_row<?=$GroupFlags['IsSnatched'] ? ' snatched_torrent"' : ''?>">
<td>
<span class="torrent_links_block">
[ <a href="torrents.php?action=download&amp;id=<?=$TorrentID?>&amp;authkey=<?=$LoggedUser['AuthKey']?>&amp;torrent_pass=<?=$LoggedUser['torrent_pass']?>">DL</a> ]
<a href="torrents.php?action=download&amp;id=<?=$TorrentID?>&amp;authkey=<?=$LoggedUser['AuthKey']?>&amp;torrent_pass=<?=$LoggedUser['torrent_pass']?>" class="brackets" title="Download torrent">DL</a>
</span>
<?=$DisplayName?>
<? if (check_perms('admin_reports')) { ?>
<a href="better.php?method=files&amp;remove=<?=$TorrentID?>">[X]</a>
<a href="better.php?method=files&amp;remove=<?=$TorrentID?>" class="brackets">X</a>
<? } ?>
<?=$TorrentTags?>
</td>

View File

@ -27,16 +27,16 @@
?>
<div class="header">
<? if($All) { ?>
<h2>All torrents trumpable for folder names</h2>
<h2>All torrents trumpable for bad folder names</h2>
<? } else { ?>
<h2>Torrents trumpable for folder names, that you've snatched</h2>
<h2>Torrents trumpable for bad folder names that you have snatched</h2>
<? } ?>
<div class="linkbox">
<? if($All) { ?>
<a href="better.php?method=folders">Just those you've snatched</a>
<a href="better.php?method=folders" class="brackets">Show only those you have snatched</a>
<? } else { ?>
<a href="better.php?method=folders&amp;filter=all">Show all</a>
<a href="better.php?method=folders&amp;filter=all" class="brackets">Show all</a>
<? } ?>
</div>
</div>
@ -77,11 +77,11 @@
<tr class="torrent torrent_row<?=$Torrents[$TorrentID]['IsSnatched'] ? ' snatched_torrent"' : ''?>">
<td>
<span class="torrent_links_block">
[ <a href="torrents.php?action=download&amp;id=<?=$TorrentID?>&amp;authkey=<?=$LoggedUser['AuthKey']?>&amp;torrent_pass=<?=$LoggedUser['torrent_pass']?>">DL</a> ]
<a href="torrents.php?action=download&amp;id=<?=$TorrentID?>&amp;authkey=<?=$LoggedUser['AuthKey']?>&amp;torrent_pass=<?=$LoggedUser['torrent_pass']?>" class="brackets" title="Download torrent">DL</a>
</span>
<?=$DisplayName?>
<? if (check_perms('admin_reports')) { ?>
<a href="better.php?method=folders&amp;remove=<?=$TorrentID?>">[X]</a>
<a href="better.php?method=folders&amp;remove=<?=$TorrentID?>" class="brackets">X</a>
<? } ?>
<?=$TorrentTags?>
</td>

View File

@ -27,16 +27,16 @@
?>
<div class="header">
<? if($All) { ?>
<h2>All torrents trumpable for tags</h2>
<h2>All torrents trumpable for bad tags</h2>
<? } else { ?>
<h2>Torrents trumpable for tags, that you've snatched</h2>
<h2>Torrents trumpable for bad tags that you have snatched</h2>
<? } ?>
<div class="linkbox">
<? if($All) { ?>
<a href="better.php?method=tags">Just those you've snatched</a>
<a href="better.php?method=tags" class="brackets">Show only those you have snatched</a>
<? } else { ?>
<a href="better.php?method=tags&amp;filter=all">Show all</a>
<a href="better.php?method=tags&amp;filter=all" class="brackets">Show all</a>
<? } ?>
</div>
</div>
@ -78,11 +78,11 @@
<tr class="torrent torrent_row<?=$Torrents[$TorrentID]['IsSnatched'] ? ' snatched_torrent' : ''?>">
<td>
<span class="torrent_links_block">
[ <a href="torrents.php?action=download&amp;id=<?=$TorrentID?>&amp;authkey=<?=$LoggedUser['AuthKey']?>&amp;torrent_pass=<?=$LoggedUser['torrent_pass']?>">DL</a> ]
<a href="torrents.php?action=download&amp;id=<?=$TorrentID?>&amp;authkey=<?=$LoggedUser['AuthKey']?>&amp;torrent_pass=<?=$LoggedUser['torrent_pass']?>" class="brackets" title="Download torrent">DL</a>
</span>
<?=$DisplayName?>
<? if(check_perms('admin_reports')) { ?>
<a href="better.php?method=tags&amp;remove=<?=$TorrentID?>">[X]</a>
<a href="better.php?method=tags&amp;remove=<?=$TorrentID?>" class="brackets">X</a>
<? } ?>
<?=$TorrentTags?>
</td>

View File

@ -148,8 +148,8 @@
<div class="head">
<strong><?=$Title?></strong> - posted <?=time_diff($BlogTime);?> by <?=$Author?>
<? if(check_perms('admin_manage_blog')) { ?>
- <a href="blog.php?action=editblog&amp;id=<?=$BlogID?>">[Edit]</a>
<a href="blog.php?action=deleteblog&amp;id=<?=$BlogID?>&amp;auth=<?=$LoggedUser['AuthKey']?>">[Delete]</a>
- <a href="blog.php?action=editblog&amp;id=<?=$BlogID?>" class="brackets">Edit</a>
<a href="blog.php?action=deleteblog&amp;id=<?=$BlogID?>&amp;auth=<?=$LoggedUser['AuthKey']?>" class="brackets">Delete</a>
<? } ?>
</div>
<div class="pad">
@ -158,7 +158,7 @@
<br /><br />
<em><a href="forums.php?action=viewthread&amp;threadid=<?=$ThreadID?>">Discuss this post here</a></em>
<? if(check_perms('admin_manage_blog')) { ?>
<a href="blog.php?action=deadthread&amp;id=<?=$BlogID?>&amp;auth=<?=$LoggedUser['AuthKey']?>">[Remove link]</a>
<a href="blog.php?action=deadthread&amp;id=<?=$BlogID?>&amp;auth=<?=$LoggedUser['AuthKey']?>" class="brackets">Remove link</a>
<? }
} ?>
</div>

View File

@ -34,10 +34,10 @@
<div class="header">
<h2><?=$Title?></h2>
<div class="linkbox">
<a href="bookmarks.php?type=torrents">[Torrents]</a>
<a href="bookmarks.php?type=artists">[Artists]</a>
<a href="bookmarks.php?type=collages">[Collages]</a>
<a href="bookmarks.php?type=requests">[Requests]</a>
<a href="bookmarks.php?type=torrents" class="brackets">Torrents</a>
<a href="bookmarks.php?type=artists" class="brackets">Artists</a>
<a href="bookmarks.php?type=collages" class="brackets">Collages</a>
<a href="bookmarks.php?type=requests" class="brackets">Requests</a>
</div>
</div>
<div class="box pad" align="center">
@ -72,16 +72,16 @@
}
if (stripos($Notify['Artists'], '|'.$Name.'|') === FALSE) {
?>
<a href="artist.php?action=notify&amp;artistid=<?=$ArtistID?>&amp;auth=<?=$LoggedUser['AuthKey']?>">[Notify of new uploads]</a>
<a href="artist.php?action=notify&amp;artistid=<?=$ArtistID?>&amp;auth=<?=$LoggedUser['AuthKey']?>" class="brackets">Notify of new uploads</a>
<?
} else {
?>
<a href="artist.php?action=notifyremove&amp;artistid=<?=$ArtistID?>&amp;auth=<?=$LoggedUser['AuthKey']?>">[Do not notify of new uploads]</a>
<a href="artist.php?action=notifyremove&amp;artistid=<?=$ArtistID?>&amp;auth=<?=$LoggedUser['AuthKey']?>" class="brackets">Do not notify of new uploads</a>
<?
}
}
?>
<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;" class="brackets">Remove bookmark</a>
</span>
</td>
</tr>

View File

@ -82,10 +82,10 @@
<tr class="colhead_dark">
<td colspan="<?=Users::has_avatars_enabled() ? 2 : 1?>">
<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&amp;type=collages_comment&amp;id=<?=$PostID?>">Report Comment</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 (check_perms('site_moderate_forums')){ ?> - [<a href="#post<?=$PostID?>" onclick="Delete('<?=$PostID?>');">Delete</a>] <? } ?>
by <?=Users::format_username($AuthorID, true, true, true, true, true)?> <?=time_diff($AddedTime)?> <a href="reports.php?action=report&amp;type=collages_comment&amp;id=<?=$PostID?>" class="brackets">Report Comment</a>
<? if (!$ThreadInfo['IsLocked']){ ?> - <a href="#quickpost" onclick="Quote('<?=$PostID?>','<?=$Username?>');" class="brackets">Quote</a><? }
if ($AuthorID == $LoggedUser['ID'] || check_perms('site_moderate_forums')){ ?> - <a href="#post<?=$PostID?>" onclick="Edit_Form('<?=$PostID?>');" class="brackets">Edit</a><? }
if (check_perms('site_moderate_forums')){ ?> - <a href="#post<?=$PostID?>" onclick="Delete('<?=$PostID?>');" class="brackets">Delete</a> <? } ?>
</span>
<span id="bar<?=$PostID?>" style="float:right;">
<a href="#">&uarr;</a>

View File

@ -307,7 +307,7 @@
<a href="collages.php?id=<?=$ID?>"><?=$Name?></a>
<? if ($BookmarkView) { ?>
<span style="float:right">
[<a href="#" onclick="Unbookmark('collage', <?=$ID?>,'');return false;">Remove bookmark</a>]
<a href="#" onclick="Unbookmark('collage', <?=$ID?>,'');return false;" class="brackets">Remove bookmark</a>
</span>
<? }
if(!empty($Tags)) {

View File

@ -427,7 +427,7 @@ function compare($X, $Y){
<li id="list<?=$ListItem?>">
<input type="hidden" name="list[]" value="<?=$ListItem?>" />
<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;" class="brackets">X</a></span>
<br style="clear:all;" />
</li>
<? } ?>
@ -535,7 +535,7 @@ function compare($X, $Y){
</div>
<? if(check_perms('site_collages_manage') && !$PreventAdditions) { ?>
<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;" class="brackets">Batch add</a></span></div>
<div class="pad add_torrent_container">
<form class="add_form" name="torrent" action="collages.php" method="post">
<input type="hidden" name="action" value="add_torrent" />
@ -579,14 +579,14 @@ function compare($X, $Y){
list($CommentID, $Body, $UserID, $Username, $CommentTime) = $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&amp;type=collages_comment&amp;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&amp;type=collages_comment&amp;id=<?=$CommentID?>" class="brackets">Report Comment</a></div>
<div class="pad"><?=$Text->full_format($Body)?></div>
</div>
<?
}
?>
<div class="box pad">
<a href="collages.php?action=comments&amp;collageid=<?=$CollageID?>">All comments</a>
<a href="collages.php?action=comments&amp;collageid=<?=$CollageID?>" class="brackets">View all comments</a>
</div>
<?
if(!$LoggedUser['DisablePosting']) {

View File

@ -47,6 +47,7 @@
ORDER BY t.IsSticky DESC, t.LastPostTime DESC
LIMIT $Limit"); // Can be cached until someone makes a new post
$Forum = $DB->to_array('ID',MYSQLI_ASSOC, false);
if($Page==1) {
$DB->query("SELECT COUNT(ID) FROM forums_topics WHERE ForumID='$ForumID' AND IsSticky='1'");
list($Stickies) = $DB->next_record();
@ -114,9 +115,9 @@
if(check_perms('users_mod')) {
$DB->query("SELECT ForumID from subscribed_forums WHERE ForumID='$ForumID' AND SubscriberID='$LoggedUser[ID]'");
if($DB->record_count() == 0) { ?>
[<a href="forums.php?action=forum_subscribe&amp;perform=add&amp;forumid=<?=$ForumID?>&amp;auth=<?=$LoggedUser['AuthKey']?>">Subscribe to Forum</a>]
<a href="forums.php?action=forum_subscribe&amp;perform=add&amp;forumid=<?=$ForumID?>&amp;auth=<?=$LoggedUser['AuthKey']?>" class="brackets">Subscribe to forum</a>
<? } else { ?>
[<a href="forums.php?action=forum_subscribe&amp;perform=remove&amp;forumid=<?=$ForumID?>&amp;auth=<?=$LoggedUser['AuthKey']?>">Unsubscribe from Forum</a>]
<a href="forums.php?action=forum_subscribe&amp;perform=remove&amp;forumid=<?=$ForumID?>&amp;auth=<?=$LoggedUser['AuthKey']?>" class="brackets">Unsubscribe from forum</a>
<? }
}
*/
@ -184,7 +185,6 @@
foreach($Forum as $Topic){
list($TopicID, $Title, $AuthorID, $Locked, $Sticky, $PostCount, $LastID, $LastTime, $LastAuthorID) = array_values($Topic);
$Row = ($Row == 'a') ? 'b' : 'a';
// Build list of page links
// Only do this if there is more than one page
$PageLinks = array();
@ -224,6 +224,7 @@
<?
$TopicLength=75-(2*count($PageLinks));
unset($PageLinks);
?>
<strong>
<a href="forums.php?action=viewthread&amp;threadid=<?=$TopicID?>" title="<?=display_str($Title)?>"><?=display_str(Format::cut_string($Title, $TopicLength)) ?></a>

View File

@ -81,6 +81,7 @@
case 'take_warn':
require(SERVER_ROOT.'/sections/forums/take_warn.php');
break;
default:
error(0);
}

View File

@ -27,8 +27,8 @@
<div class="hidden" id="newthreadpreview">
<div class="linkbox">
<div class="center">
[<a href="#" onclick="return false;">Report Thread</a>]
[<a href="#" onclick="return false;"><?=!empty($HeavyInfo['AutoSubscribe']) ? 'Unsubscribe' : 'Subscribe'?></a>]
<a href="#" onclick="return false;" class="brackets">Report Thread</a>
<a href="#" onclick="return false;" class="brackets"><?=!empty($HeavyInfo['AutoSubscribe']) ? 'Unsubscribe' : 'Subscribe'?></a>
</div>
</div>
<? if (check_perms('forums_polls_create')) { ?>
@ -56,7 +56,7 @@
Just now
</span>
<span id="barpreview" style="float:right;">
[<a href="#newthreadpreview">Report Post</a>]
<a href="#newthreadpreview" class="brackets">Report</a>
&nbsp;
<a href="#">&uarr;</a>
</span>
@ -140,8 +140,8 @@ function RemoveAnswerField() {
<td class="label">Answers:</td>
<td id="answer_block">
<input type="text" name="answers[]" style="width: 90%;" />
[<a href="#" onclick="AddAnswerField();return false;">+</a>]
[<a href="#" onclick="RemoveAnswerField();return false;">-</a>]
<a href="#" onclick="AddAnswerField();return false;" class="brackets">+</a>
<a href="#" onclick="RemoveAnswerField();return false;" class="brackets">-</a>
</td>
</tr>
<? } ?>

View File

@ -101,7 +101,6 @@
}
}
$Thread = Format::catalogue_select($Catalogue,$Page,$PerPage,THREAD_CATALOGUE);
if($_GET['updatelastread'] != '0') {
$LastPost = end($Thread);
$LastPost = $LastPost['ID'];
@ -314,7 +313,7 @@
<li>
<a href="forums.php?action=change_vote&amp;threadid=<?=$ThreadID?>&amp;auth=<?=$LoggedUser['AuthKey']?>&amp;vote=<?=(int) $i?>"><?=display_str($Answer == '' ? "Blank" : $Answer)?></a>
- <?=$StaffVotes[$i]?>&nbsp;(<?=number_format(((float) $Votes[$i]/$TotalVotes)*100, 2)?>%)
[<a href="forums.php?action=delete_poll_option&amp;threadid=<?=$ThreadID?>&amp;auth=<?=$LoggedUser['AuthKey']?>&amp;vote=<?=(int) $i?>">X</a>]
<a href="forums.php?action=delete_poll_option&amp;threadid=<?=$ThreadID?>&amp;auth=<?=$LoggedUser['AuthKey']?>&amp;vote=<?=(int) $i?>" class="brackets">X</a>
</li>
<? } ?>
<li><a href="forums.php?action=change_vote&amp;threadid=<?=$ThreadID?>&amp;auth=<?=$LoggedUser['AuthKey']?>&amp;vote=0">Blank</a> - <?=$StaffVotes[0]?>&nbsp;(<?=number_format(((float) $Votes[0]/$TotalVotes)*100, 2)?>%)</li>
@ -330,7 +329,7 @@
<?
}
?>
[<a href="#" onclick="AddPollOption(<?=$ThreadID?>); return false;">+</a>]
<a href="#" onclick="AddPollOption(<?=$ThreadID?>); return false;" class="brackets">+</a>
<?
}
@ -356,7 +355,7 @@
</li>
</ul>
<? if($ForumID == STAFF_FORUM) { ?>
[<a href="#" onclick="AddPollOption(<?=$ThreadID?>); return false;">+</a>]
<a href="#" onclick="AddPollOption(<?=$ThreadID?>); return false;" class="brackets">+</a>
<br />
<br />
<? } ?>
@ -427,28 +426,28 @@
<?=Users::format_username($AuthorID, true, true, true, true, true)?>
<?=time_diff($AddedTime,2)?>
<? 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);" class="brackets">Quote</a>
<? }
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?>');" class="brackets">Edit</a>
<? }
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?>');" class="brackets">Delete</a>
<? }
if($PostID == $ThreadInfo['StickyPostID']) { ?>
<strong><span class="sticky_post_label">[Sticky]</span></strong>
<strong><span class="sticky_post_label" class="brackets">Sticky</span></strong>
<? if(check_perms('site_moderate_forums')) { ?>
- [<a href="forums.php?action=sticky_post&amp;threadid=<?=$ThreadID?>&amp;postid=<?=$PostID?>&amp;remove=true&amp;auth=<?=$LoggedUser['AuthKey']?>" >X</a>]
- <a href="forums.php?action=sticky_post&amp;threadid=<?=$ThreadID?>&amp;postid=<?=$PostID?>&amp;remove=true&amp;auth=<?=$LoggedUser['AuthKey']?>" class="brackets">X</a>
<? }
} else {
if(check_perms('site_moderate_forums')) { ?>
- [<a href="forums.php?action=sticky_post&amp;threadid=<?=$ThreadID?>&amp;postid=<?=$PostID?>&amp;auth=<?=$LoggedUser['AuthKey']?>" >&#x21d5;</a>]
- <a href="forums.php?action=sticky_post&amp;threadid=<?=$ThreadID?>&amp;postid=<?=$PostID?>&amp;auth=<?=$LoggedUser['AuthKey']?>" class="brackets">&#x21d5;</a>
<? }
}
?>
</div>
<div id="bar<?=$PostID?>" style="float:right;">
[<a href="reports.php?action=report&amp;type=post&amp;id=<?=$PostID?>">Report</a>]
<a href="reports.php?action=report&amp;type=post&amp;id=<?=$PostID?>" class="brackets">Report</a>
<? if (check_perms('users_warn') && $AuthorID != $LoggedUser['ID']) {
$AuthorInfo = Users::user_info($AuthorID);
if($LoggedUser['Class'] >= $AuthorInfo['Class']) {
@ -459,7 +458,7 @@
<input type="hidden" name="userid" value="<?=$AuthorID?>" />
<input type="hidden" name="key" value="<?=$Key?>" />
</form>
- [<a href="#" onclick="$('#warn<?=$PostID?>').raw().submit(); return false;">Warn</a>]
- <a href="#" onclick="$('#warn<?=$PostID?>').raw().submit(); return false;" class="brackets">Warn</a>
<? }
}
?>

View File

@ -64,14 +64,14 @@
<div class="thin">
<h2><?=$Subject.($ForwardedID > 0 ? ' (Forwarded to '.$ForwardedName.')':'')?></h2>
<div class="linkbox">
[<a href="inbox.php">Back to inbox</a>]
<a href="inbox.php" class="brackets">Back to inbox</a>
</div>
<?
while(list($SentDate, $SenderID, $Body, $MessageID) = $DB->next_record()) { ?>
<div class="box vertical_space">
<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']?>');" class="brackets">Quote</a>
</div>
<div class="body" id="message<?=$MessageID?>">
<?=$Text->full_format($Body)?>

View File

@ -132,7 +132,7 @@
}
$UserCount = (int)$UserCount;
?>
<li>Enabled Users: <?=number_format($UserCount)?> [<a href="stats.php?action=users">Details</a>]</li>
<li>Enabled Users: <?=number_format($UserCount)?> <a href="stats.php?action=users" class="brackets">Details</a></li>
<?
if (($UserStats = $Cache->get_value('stats_users')) === false) {
@ -404,7 +404,7 @@
<div class="head">
<strong><?=$Text->full_format($Title)?></strong> <?=time_diff($NewsTime);?>
<? if(check_perms('admin_manage_news')) {?>
- <a href="tools.php?action=editnews&amp;id=<?=$NewsID?>">[Edit]</a>
- <a href="tools.php?action=editnews&amp;id=<?=$NewsID?>" class="brackets">Edit</a>
<? } ?>
</div>
<div class="pad"><?=$Text->full_format($Body)?></div>

View File

@ -100,7 +100,7 @@
<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 href="reports.php?action=compose&amp;to=<?=$SnitchID?>&amp;reportid=<?=$ReportID?>&amp;type=<?=$Short?>&amp;thingid=<?=$ThingID?>">Contact</a>]
<a href="reports.php?action=compose&amp;to=<?=$SnitchID?>&amp;reportid=<?=$ReportID?>&amp;type=<?=$Short?>&amp;thingid=<?=$ThingID?>" class="brackets">Contact</a>
</td>
</tr>
<tr>
@ -212,14 +212,14 @@
<tr>
<td colspan="2">
<? if ($ClaimerID == $LoggedUser['ID']) { ?>
<span id="claimed_<?=$ReportID?>">Claimed by <?=Users::format_username($ClaimerID, false, false, false, false)?> [<a href="#" onclick="unClaim(<?=$ReportID?>); return false;">Unclaim</a>]</span>
<span id="claimed_<?=$ReportID?>">Claimed by <?=Users::format_username($ClaimerID, false, false, false, false)?> <a href="#" onclick="unClaim(<?=$ReportID?>); return false;" class="brackets">Unclaim</a></span>
<? } else if ($ClaimerID) { ?>
<span id="claimed_<?=$ReportID?>">Claimed by <?=Users::format_username($ClaimerID, false, false, false, false)?></span>
<? } else { ?>
[<a href="#" id="claim_<?=$ReportID?>" onclick="claim(<?=$ReportID?>); return false;">Claim</a>]
<a href="#" id="claim_<?=$ReportID?>" onclick="claim(<?=$ReportID?>); return false;" class="brackets">Claim</a>
<? } ?>
&nbsp;&nbsp;
[<a onclick="toggleNotes(<?=$ReportID?>); return false;" href="#">Toggle Notes</a>]
<a href="#" onclick="toggleNotes(<?=$ReportID?>); return false;" class="brackets">Toggle Notes</a>
<div id="notes_div_<?=$ReportID?>" style="display: <?=empty($Notes) ? "none" : "block"?>;">
<textarea cols="50" rows="3" id="notes_<?=$ReportID?>"><?=$Notes?></textarea>

View File

@ -158,7 +158,7 @@
<a href="log.php?search=Torrent+<?=$TorrentID?>"><?=$TorrentID?></a> (Deleted)
<? } else { ?>
<?=$LinkName?>
<a href="torrents.php?action=download&amp;id=<?=$TorrentID?>&amp;authkey=<?=$LoggedUser['AuthKey']?>&amp;torrent_pass=<?=$LoggedUser['torrent_pass']?>" title="Download">[DL]</a>
<a href="torrents.php?action=download&amp;id=<?=$TorrentID?>&amp;authkey=<?=$LoggedUser['AuthKey']?>&amp;torrent_pass=<?=$LoggedUser['torrent_pass']?>" title="Download" class="brackets">DL</a>
uploaded by <a href="user.php?id=<?=$UploaderID?>"><?=$UploaderName?></a> <?=time_diff($Time)?>
<br />
<div style="text-align: right;">was reported by <a href="user.php?id=<?=$ReporterID?>"><?=$ReporterName?></a> <?=time_diff($ReportedTime)?> for the reason: <strong><?=$ReportType['title']?></strong></div>
@ -304,8 +304,8 @@
?>
<?=($First ? "" : "<br />")?>
<?=$ExtraLinkName?>
<a href="torrents.php?action=download&amp;id=<?=$ExtraID?>&amp;authkey=<?=$LoggedUser['AuthKey']?>&amp;torrent_pass=<?=$LoggedUser['torrent_pass']?>" title="Download">[DL]</a>
uploaded by <a href="user.php?id=<?=$ExtraUploaderID?>"><?=$ExtraUploaderName?></a> <?=time_diff($ExtraTime)?> [<a href="#" onclick="Switch(<?=$ReportID?>, <?=$TorrentID?>, <?=$ExtraID?>); return false;">Switch</a>]
<a href="torrents.php?action=download&amp;id=<?=$ExtraID?>&amp;authkey=<?=$LoggedUser['AuthKey']?>&amp;torrent_pass=<?=$LoggedUser['torrent_pass']?>" title="Download" class="brackets">DL</a>
uploaded by <a href="user.php?id=<?=$ExtraUploaderID?>"><?=$ExtraUploaderName?></a> <?=time_diff($ExtraTime)?> <a href="#" onclick="Switch(<?=$ReportID?>, <?=$TorrentID?>, <?=$ExtraID?>); return false;" class="brackets">Switch</a>
<?
$First = false;
}
@ -418,7 +418,7 @@
$Extras = explode(" ", $ExtraIDs);
$Value = "";
foreach($Extras as $ExtraID) {
$Value .= 'http://'.NONSSL_SITE_URL.'/torrents.php?torrentid='.$ExtraID.' ';
$Value .= 'https://'.SSL_SITE_URL.'/torrents.php?torrentid='.$ExtraID.' ';
}
echo 'value="'.trim($Value).'"';
} ?>/>
@ -442,8 +442,7 @@
</form>
<br />
</div>
<script type="text/javascript">
//<![CDATA[
<script type="text/javascript">//<![CDATA[
Load('<?=$ReportID?>');
//]]>
</script>

View File

@ -302,7 +302,7 @@
<a href="log.php?search=Torrent+<?=$TorrentID?>"><?=$TorrentID?></a> (Deleted)
<? } else {?>
<?=$LinkName?>
<a href="torrents.php?action=download&amp;id=<?=$TorrentID?>&amp;authkey=<?=$LoggedUser['AuthKey']?>&amp;torrent_pass=<?=$LoggedUser['torrent_pass']?>" title="Download">[DL]</a>
<a href="torrents.php?action=download&amp;id=<?=$TorrentID?>&amp;authkey=<?=$LoggedUser['AuthKey']?>&amp;torrent_pass=<?=$LoggedUser['torrent_pass']?>" title="Download" class="brackets">DL</a>
uploaded by <a href="user.php?id=<?=$UploaderID?>"><?=$UploaderName?></a> <?=time_diff($Time)?>
<br />
<? if ($ReporterName == "") { $ReporterName = "System"; } ?>
@ -451,8 +451,8 @@
?>
<?=($First ? "" : "<br />")?>
<?=$ExtraLinkName?>
<a href="torrents.php?action=download&amp;id=<?=$ExtraID?>&amp;authkey=<?=$LoggedUser['AuthKey']?>&amp;torrent_pass=<?=$LoggedUser['torrent_pass']?>" title="Download">[DL]</a>
uploaded by <a href="user.php?id=<?=$ExtraUploaderID?>"><?=$ExtraUploaderName?></a> <?=time_diff($ExtraTime)?> [<a href="#" onclick="Switch(<?=$ReportID?>, <?=$TorrentID?>, <?=$ExtraID?>); return false;">Switch</a>]
<a href="torrents.php?action=download&amp;id=<?=$ExtraID?>&amp;authkey=<?=$LoggedUser['AuthKey']?>&amp;torrent_pass=<?=$LoggedUser['torrent_pass']?>" title="Download" class="brackets">DL</a>
uploaded by <a href="user.php?id=<?=$ExtraUploaderID?>"><?=$ExtraUploaderName?></a> <?=time_diff($ExtraTime)?> <a href="#" onclick="Switch(<?=$ReportID?>, <?=$TorrentID?>, <?=$ExtraID?>); return false;" class="brackets">Switch</a>
<?
$First = false;
}
@ -577,7 +577,7 @@
$Extras = explode(" ", $ExtraIDs);
$Value = "";
foreach($Extras as $ExtraID) {
$Value .= 'http://'.NONSSL_SITE_URL.'/torrents.php?torrentid='.$ExtraID.' ';
$Value .= 'https://'.SSL_SITE_URL.'/torrents.php?torrentid='.$ExtraID.' ';
}
echo 'value="'.trim($Value).'"';
} ?>/>
@ -640,8 +640,7 @@
</form>
<br />
</div>
<script type="text/javascript">
//<![CDATA[
<script type="text/javascript">//<![CDATA[
Load('<?=$ReportID?>');
//]]>
</script>

View File

@ -155,7 +155,7 @@
<tr id="artist_tr">
<td class="label">Artist(s)</td>
<td id="artistfields">
<p id="vawarning" class="hidden">Please use the multiple artists feature rather than adding 'Various Artists' as an artist, read <a href='wiki.php?action=article&amp;id=369'>this</a> for more information on why.</p>
<p id="vawarning" class="hidden">Please use the multiple artists feature rather than adding "Various Artists" as an artist; read <a href="wiki.php?action=article&amp;id=369">this</a> for more information.</p>
<?
if(!empty($ArtistForm)) {
@ -173,7 +173,7 @@
<option value="3"<?=($Importance == '3' ? ' selected="selected"' : '')?>>Remixer</option>
<option value="3"<?=($Importance == '7' ? ' selected="selected"' : '')?>>Producer</option>
</select>
<?if($First) { ?>[<a href="#" onclick="AddArtistField();return false;">+</a>] [<a href="#" onclick="RemoveArtistField();return false;">-</a>] <? } $First = false;?>
<?if($First) { ?><a href="#" onclick="AddArtistField();return false;" class="brackets">+</a> <a href="#" onclick="RemoveArtistField();return false;" class="brackets">-</a> <? } $First = false;?>
<br />
<? }
}
@ -187,7 +187,7 @@
<option value="6">DJ / Compiler</option>
<option value="3">Remixer</option>
</select>
[<a href="#" onclick="AddArtistField();return false;">+</a>] [<a href="#" onclick="RemoveArtistField();return false;">-</a>]
<a href="#" onclick="AddArtistField();return false;" class="brackets">+</a> <a href="#" onclick="RemoveArtistField();return false;" class="brackets">-</a>
<?
}
?>

View File

@ -89,22 +89,22 @@
<h2><a href="requests.php">Requests</a> &gt; <?=$CategoryName?> &gt; <?=$DisplayLink?></h2>
<div class="linkbox">
<? if($CanEdit) { ?>
<a href="requests.php?action=edit&amp;id=<?=$RequestID?>">[Edit]</a>
<a href="requests.php?action=edit&amp;id=<?=$RequestID?>" class="brackets">Edit</a>
<? }
if($UserCanEdit || check_perms('users_mod')) { //check_perms('site_moderate_requests')) { ?>
<a href="requests.php?action=delete&amp;id=<?=$RequestID?>">[Delete]</a>
<a href="requests.php?action=delete&amp;id=<?=$RequestID?>" class="brackets">Delete</a>
<? } ?>
<? if(has_bookmarked('request', $RequestID)) { ?>
<a href="#" id="bookmarklink_request_<?=$RequestID?>" onclick="Unbookmark('request', <?=$RequestID?>,'[Bookmark]');return false;">[Remove bookmark]</a>
<a href="#" id="bookmarklink_request_<?=$RequestID?>" onclick="Unbookmark('request', <?=$RequestID?>,'[Bookmark]');return false;" class="brackets">Remove bookmark</a>
<? } else { ?>
<a href="#" id="bookmarklink_request_<?=$RequestID?>" onclick="Bookmark('request', <?=$RequestID?>,'[Remove bookmark]');return false;">[Bookmark]</a>
<a href="#" id="bookmarklink_request_<?=$RequestID?>" onclick="Bookmark('request', <?=$RequestID?>,'[Remove bookmark]');return false;" class="brackets">Bookmark</a>
<? } ?>
<a href="reports.php?action=report&amp;type=request&amp;id=<?=$RequestID?>">[Report Request]</a>
<a href="reports.php?action=report&amp;type=request&amp;id=<?=$RequestID?>" class="brackets">Report request</a>
<? if(!$IsFilled) { ?>
<a href="upload.php?requestid=<?=$RequestID?><?=($GroupID?"&groupid=$GroupID":'')?>">[Upload Request]</a>
<a href="upload.php?requestid=<?=$RequestID?><?=($GroupID?"&groupid=$GroupID":'')?>" class="brackets">Upload request</a>
<? }
if(!$IsFilled && (($CategoryID == 0) || ($CategoryName == "Music" && $Year == 0))) { ?>
<a href="reports.php?action=report&amp;type=request_update&amp;id=<?=$RequestID?>">[Request Update]</a>
<a href="reports.php?action=report&amp;type=request_update&amp;id=<?=$RequestID?>" class="brackets">Request update</a>
<? } ?>
<?
@ -119,8 +119,8 @@
$google_url = "https://www.google.com/search?&tbm=shop&q=" . $encoded_artist . " " . $encoded_title;
?>
<a href="<? echo $worldcat_url; ?>">[Find in Library]</a>
<a href="<? echo $google_url; ?>">[Find in Stores]</a>
<a href="<? echo $worldcat_url; ?>" class="brackets">Find in library</a>
<a href="<? echo $google_url; ?>" class="brackets">Find in stores</a>
</div>
</div>
<div class="sidebar">
@ -443,7 +443,7 @@
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
<input type="hidden" name="requestid" value="<?=$RequestID?>" />
<input type="text" size="50" name="link" <?=(!empty($Link) ? "value='$Link' " : '')?>/>
<strong>Should be the permalink (PL) to the torrent (e.g. http://<?=NONSSL_SITE_URL?>/torrents.php?torrentid=xxxx).</strong>
<strong>Should be the permalink (PL) to the torrent (e.g. https://<?=SSL_SITE_URL?>/torrents.php?torrentid=xxxx).</strong>
<br />
<br />
<? if(check_perms('site_moderate_requests')) { ?> For User: <input type="text" size="25" name="user" <?=(!empty($FillerUsername) ? "value='$FillerUsername' " : '')?>/>
@ -550,16 +550,16 @@
<td colspan="<?=Users::has_avatars_enabled() ? 2 : 1?>">
<div style="float:left;"><a href='#post<?=$PostID?>'>#<?=$PostID?></a>
by <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?>');" class="brackets">Quote</a>
<? 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?>');" class="brackets">Edit</a>
<? }
if (check_perms('site_moderate_forums')) { ?>
- <a href="#post<?=$PostID?>" onclick="Delete('<?=$PostID?>');">[Delete]</a>
- <a href="#post<?=$PostID?>" onclick="Delete('<?=$PostID?>');" class="brackets">Delete</a>
<? } ?>
</div>
<div id="bar<?=$PostID?>" style="float:right;">
<a href="reports.php?action=report&amp;type=requests_comment&amp;id=<?=$PostID?>">[Report]</a>
<a href="reports.php?action=report&amp;type=requests_comment&amp;id=<?=$PostID?>" class="brackets">Report</a>
&nbsp;
<a href="#">&uarr;</a>
</div>

View File

@ -249,11 +249,11 @@ show_header($Title, 'requests');
<h2><?=$Title?></h2>
<div class="linkbox">
<? if(check_perms('site_submit_requests')){ ?>
<a href="requests.php?action=new">[New request]</a>
<a href="requests.php?type=created">[My requests]</a>
<a href="requests.php?action=new" class="brackets">New request</a>
<a href="requests.php?type=created" class="brackets">My requests</a>
<? }
if(check_perms('site_vote')){?>
<a href="requests.php?type=voted">[Requests I've voted on]</a>
<a href="requests.php?type=voted" class="brackets">Requests I've voted on</a>
<? } ?>
</div>
</div>
@ -461,7 +461,7 @@ foreach($Categories as $CatKey => $CatName) {
<? if($IsFilled){ ?>
<a href="torrents.php?id=<?=$TorrentID?>"><strong>Yes - <?=$TimeFilled?></strong></a>
<? } else { ?>
<strong>No - <a href="upload.php?requestid=<?=$RequestID?>">[Upload]</a></strong>
<strong>No - <a href="upload.php?requestid=<?=$RequestID?>" class="brackets">Upload</a></strong>
<? } ?>
</td>
<td>

View File

@ -11,17 +11,17 @@
<ul>
<li>All staff decisions must be respected. If you take issue with a decision, you must do so privately with the staff member who issued the decision or with an administrator of the site. Complaining about staff decisions in public or otherwise disrespecting staff members will not be taken lightly.</li>
<li>Access to this web site is a privilege, not a right, and it can be taken away from you for any reason.</li>
<li>One account per person per lifetime. Anyone creating additional accounts will be banned.</li>
<li>One account per person per lifetime. Anyone creating additional accounts will be banned. Additionally, unless your account is immune to <a href="wiki.php?action=article&amp;id=8">inactivity pruning</a>, accounts are automatically disabled if one page load is not made at least once every four months.</li>
<li>Avatars must not exceed 256 kB or be vertically longer than 400 pixels. Avatars must be safe for work, be entirely unoffensive, and cannot contain any nudity or religious imagery. Use common sense.</li>
<li>Do not post our .torrent files on other sites. Every .torrent file has your personal passkey embedded in it. The tracker will automatically disable your account if you share your torrent files with others. You will not get your account back. This doesn't prohibit you from sharing the content on other sites, but does prohibit you from sharing the .torrent file.</li>
<li>Any torrent you are seeding to this tracker must only have our tracker's URL in it. Adding another tracker's URL will cause incorrect data to be sent to our tracker, and will lead to your getting disabled for cheating. Similarly, your client must have DHT and PEX (peer exchange) disabled for all What.CD torrents.</li>
<li>This is a torrent site which promotes sharing amongst the community. If you are not willing to give back to the community what you take from it, this site is not for you. In other words, we expect you to have an acceptable share ratio. If you download a torrent, please, seed the copy you have until there are sufficient people seeding the torrent data before you stop.</li>
<li>Do not browse the site using proxies or TOR. The site will automatically alert us. This includes VPNs with dynamic IP addresses.</li>
<li>Do not browse the site using proxies or Tor. The site will automatically alert us. This includes VPNs with dynamic IP addresses.</li>
<li>Asking for invites to any site is not allowed anywhere on What.CD or our IRC network. Invites may be offered in the Invites forum, and nowhere else.</li>
<li>Trading and selling invites is strictly prohibited, as is offering them in public - this includes on any forum which is not a class-restricted section on an invitation-only torrent site.</li>
<li>Trading, selling, sharing, or giving away your account is prohibited. If you no longer want your account, send a staff PM requesting that it be disabled.</li>
<li>You're completely responsible for the people you invite. If your invitees are caught cheating or trading/selling invites, not only will they be banned, so will you. Be careful who you invite. Invites are a precious commodity.</li>
<li>Be careful when sharing an IP address or a computer with a friend if they have (or have had) an account. From then on your accounts will be inherently linked and if one of you violates the rules, both accounts will be disabled along with any other accounts linked by IP. This rule applies to logging into the site.</li>
<li>Be careful when sharing an IP address or a computer with a friend if they have (or have had) an account. From then on your accounts will be inherently linked and if one of you violates the rules, both accounts will be disabled along with any other accounts linked by IP address. This rule applies to logging into the site.</li>
<li>Attempting to find or exploit a bug in the site code is the worst possible offense you can commit. We have automatic systems in place for monitoring these activities, and committing them will result in the banning of you, your inviter, and your inviter's entire invite tree.</li>
<li>We're a community. Working together is what makes this place what it is. There are well over a thousand new torrents uploaded every day and sadly the staff aren't psychic. If you come across something that violates a rule, report it and help us better organize the site for you.</li>
<li>We respect the wishes of other sites here, as we wish for them to do the same. Please refrain from posting links to or full names for sites that do not want to be mentioned.</li>

View File

@ -214,7 +214,7 @@
<li id="r2.1.18"><a href="#h2.1"><strong>&uarr;_</strong></a> <a href="#r2.1.18">2.1.18.</a> <strong>Sound Sample Packs must be uploaded as applications.</strong> See <a href="#r4.1.9">4.1.9</a> for more information.</li>
<li id="r2.1.19"><a href="#h2.1"><strong>&uarr;_</strong></a> <a href="#r2.1.19">2.1.19.</a> <strong>All music torrents must represent a complete release, and may not be missing tracks (or discs in the case of a multi-disc release).</strong>
<ul>
<li id="r2.1.19.1"><a href="#r2.1.19"><strong>&uarr;_</strong></a> <a href="#r2.1.19.1">2.1.19.1.</a> <strong>If an album is released as a multi-disc set (or box set) of CDs or vinyl discs, then it must be uploaded as a single torrent.</strong> Preferably, each individual CD rip in a multi-disc set should be organized in its own folder (see <a href="#r2.3.12">2.3.12</a>).</li>
<li id="r2.1.19.1"><a href="#r2.1.19"><strong>&uarr;_</strong></a> <a href="#r2.1.19.1">2.1.19.1.</a> <strong>If an album is released as a multi-disc set (or box set) of CDs or vinyl discs, then it must be uploaded as a single torrent.</strong> Preferably, each individual CD rip in a multi-disc set should be organized in its own folder (see <a href="#r2.3.15">2.3.15</a>).</li>
<li id="r2.1.19.2"><a href="#r2.1.19"><strong>&uarr;_</strong></a> <a href="#r2.1.19.2">2.1.19.2.</a> <strong>A single track (e.g., one MP3 file) cannot be uploaded on its own unless it is an officially released single.</strong> If a specific track can only be found on an album, the entire album must be uploaded in the torrent.</li>
<li id="r2.1.19.3"><a href="#r2.1.19"><strong>&uarr;_</strong></a> <a href="#r2.1.19.3">2.1.19.3.</a> <strong>Bonus discs may be uploaded separately in accordance with <a href="#h2.4">2.4</a>.</strong> Please note that individual bonus tracks cannot be uploaded without the rest of the album. Bonus tracks are not bonus discs. Enhanced audio CDs with data or video tracks must be uploaded without the non-audio tracks. If you want to share the videos or data, you may host the files off-site with a file sharing service and include the link to that service in your torrent description.</li>
</ul>

View File

@ -115,8 +115,8 @@
<div class="head">
<strong><?=$Title?></strong> - posted <?=time_diff($BlogTime);?> by <?=$Author?>
<? if(check_perms('admin_manage_blog')) { ?>
- <a href="staffblog.php?action=editblog&amp;id=<?=$BlogID?>">[Edit]</a>
<a href="staffblog.php?action=deleteblog&amp;id=<?=$BlogID?>&amp;auth=<?=$LoggedUser['AuthKey']?>" onclick="return confirm('Do you want to delete this?')">[Delete]</a>
- <a href="staffblog.php?action=editblog&amp;id=<?=$BlogID?>" class="brackets">Edit</a>
<a href="staffblog.php?action=deleteblog&amp;id=<?=$BlogID?>&amp;auth=<?=$LoggedUser['AuthKey']?>" onclick="return confirm('Do you want to delete this?')" class="brackets">Delete</a>
<? } ?>
</div>
<div class="pad">

View File

@ -15,13 +15,13 @@
<h2>Staff PMs - Manage common responses</h2>
<div class="linkbox">
<? if ($IsStaff) { ?>
<a href="staffpm.php">[My unanswered]</a>
<a href="staffpm.php" class="brackets">My unanswered</a>
<? } ?>
<a href="staffpm.php?view=unanswered">[All unanswered]</a>
<a href="staffpm.php?view=open">[Open]</a>
<a href="staffpm.php?view=resolved">[Resolved]</a>
<a href="staffpm.php?view=unanswered" class="brackets">All unanswered</a>
<a href="staffpm.php?view=open" class="brackets">Open</a>
<a href="staffpm.php?view=resolved" class="brackets">Resolved</a>
<? if ($ConvID = (int)$_GET['convid']) { ?>
<a href="staffpm.php?action=viewconv&amp;id=<?=$ConvID?>">[Back to conversation]</a>
<a href="staffpm.php?action=viewconv&amp;id=<?=$ConvID?>" class="brackets">Back to conversation</a>
<? } ?>
</div>
</div>

View File

@ -83,13 +83,13 @@
<h2><?=$ViewString?> Staff PMs</h2>
<div class="linkbox">
<? if ($IsStaff) {
?> <a href="staffpm.php">[My unanswered]</a>
?> <a href="staffpm.php" class="brackets">My unanswered</a>
<? } ?>
<a href="staffpm.php?view=unanswered">[All unanswered]</a>
<a href="staffpm.php?view=open">[Open]</a>
<a href="staffpm.php?view=resolved">[Resolved]</a>
<a href="staffpm.php?view=unanswered" class="brackets">All unanswered</a>
<a href="staffpm.php?view=open" class="brackets">Open</a>
<a href="staffpm.php?view=resolved" class="brackets">Resolved</a>
<? if ($IsStaff) { ?>
<a href="staffpm.php?action=scoreboard">[Scoreboard]</a>
<a href="staffpm.php?action=scoreboard" class="brackets">Scoreboard</a>
<? } ?>
</div>
</div>

View File

@ -37,21 +37,21 @@
// Staff only
if ($IsStaff) {
?>
<a href="staffpm.php">[My unanswered]</a>
<a href="staffpm.php" class="brackets">My unanswered</a>
<?
}
// FLS/Staff
if ($IsFLS) {
?>
<a href="staffpm.php?view=unanswered">[All unanswered]</a>
<a href="staffpm.php?view=open">[Open]</a>
<a href="staffpm.php?view=resolved">[Resolved]</a>
<a href="staffpm.php?view=unanswered" class="brackets">All unanswered</a>
<a href="staffpm.php?view=open" class="brackets">Open</a>
<a href="staffpm.php?view=resolved" class="brackets">Resolved</a>
<?
// User
} else {
?>
<a href="staffpm.php">[Back to inbox]</a>
<a href="staffpm.php" class="brackets">Back to inbox</a>
<?
}
@ -85,7 +85,7 @@
</strong>
<?=time_diff($SentDate, 2, true)?>
<? if ($Status != 'Resolved') { ?>
- <a href="#quickpost" onclick="Quote('<?=$MessageID?>','<?=$Username?>');">[Quote]</a>
- <a href="#quickpost" onclick="Quote('<?=$MessageID?>','<?=$Username?>');" class="brackets">Quote</a>
<? } ?>
</div>
<div class="body"><?=$Text->full_format($Message)?></div>
@ -103,7 +103,7 @@
<div class="head">
<strong>Preview</strong>
</div>
<div id="common_answers_body" class="body">Select an answer from the dropdown to view it.</div>
<div id="common_answers_body" class="body">Select an answer from the drop-down to view it.</div>
</div>
<br />
<div class="center">

View File

@ -120,7 +120,7 @@
<td><?=Format::get_size($DataSize)?></td>
<td><?=Format::get_size($IndexSize)?></td>
<td><?=Format::get_size($DataSize + $IndexSize)?></td>
<td>[<a href="tools.php?action=database_specifics&amp;table=<?=display_str($Name)?>">Schema</a>]</td>
<td><a href="tools.php?action=database_specifics&amp;table=<?=display_str($Name)?>" class="brackets">Schema</a></td>
</tr>
<?
}

View File

@ -56,7 +56,7 @@
<td>User</td>
<td>Ratio</td>
<td>Email</td>
<td>IP</td>
<td>IP address</td>
<td>Country</td>
<td>Host</td>
<td>Registered</td>
@ -70,15 +70,15 @@
<td><?=Format::get_ratio_html($Uploaded,$Downloaded)?><br /><?=Format::get_ratio_html($InviterUploaded,$InviterDownloaded)?></td>
<td>
<span style="float:left;"><?=display_str($Email)?></span>
<span style="float:right;">[<a href="userhistory.php?action=email&amp;userid=<?=$UserID?>" title="History">H</a>|<a href="/user.php?action=search&email_history=on&email=<?=display_str($Email)?>" title="Search">S</a>]</span><br />
<span style="float:right;"><a href="userhistory.php?action=email&amp;userid=<?=$UserID?>" title="History" class="brackets">H</a> <a href="/user.php?action=search&amp;email_history=on&amp;email=<?=display_str($Email)?>" title="Search" class="brackets">S</a></span><br />
<span style="float:left;"><?=display_str($InviterEmail)?></span>
<span style="float:right;">[<a href="userhistory.php?action=email&amp;userid=<?=$InviterID?>" title="History">H</a>|<a href="/user.php?action=search&amp;email_history=on&amp;email=<?=display_str($InviterEmail)?>" title="Search">S</a>]</span><br />
<span style="float:right;"><a href="userhistory.php?action=email&amp;userid=<?=$InviterID?>" title="History" class="brackets">H</a> <a href="/user.php?action=search&amp;email_history=on&amp;email=<?=display_str($InviterEmail)?>" title="Search" class="brackets">S</a></span><br />
</td>
<td>
<span style="float:left;"><?=display_str($IP)?></span>
<span style="float:right;"><?=display_str($Uses)?> [<a href="userhistory.php?action=ips&amp;userid=<?=$UserID?>" title="History">H</a>|<a href="/user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($IP)?>" title="Search">S</a>]</span><br />
<span style="float:right;"><?=display_str($Uses)?> <a href="userhistory.php?action=ips&amp;userid=<?=$UserID?>" title="History" class="brackets">H</a> <a href="/user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($IP)?>" title="Search" class="brackets">S</a></span><br />
<span style="float:left;"><?=display_str($InviterIP)?></span>
<span style="float:right;"><?=display_str($InviterUses)?> [<a href="userhistory.php?action=ips&amp;userid=<?=$InviterID?>" title="History">H</a>|<a href="/user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($InviterIP)?>" title="Search">S</a>]</span><br />
<span style="float:right;"><?=display_str($InviterUses)?> <a href="userhistory.php?action=ips&amp;userid=<?=$InviterID?>" title="History" class="brackets">H</a> <a href="/user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($InviterIP)?>" title="Search" class="brackets">S</a></span><br />
</td>
<td>
<?=$IPCC?> <br />

View File

@ -11,7 +11,7 @@
View::show_header("Service Stats");
?>
<div class="linkbox">
[<a href="tools.php?action=database_specifics">Database Specifics</a>]
<a href="tools.php?action=database_specifics" class="brackets">Database specifics</a>
</div>
<div class="permissions">
<div class="permission_container">

View File

@ -0,0 +1,142 @@
<?
// skipfile
if (!check_perms('users_mod') && !check_perms("site_mark_suggestions")) {
error(403);
}
View::show_header('Suggestions');
$Categories = array(
"Dupe Suggestion",
"Already Implemented",
"Already Rejected Suggestion/Against The Rules",
"Awful Suggestion",
"Suggestion"
)?>
<h2>Suggestions</h2>
<div class="linkbox">
<a href="tools.php?action=suggestions&amp;view=scoreboard" class="brackets">Scoreboard</a>
<a href="tools.php?action=suggestions&amp;view=marked" class="brackets">Open suggestions</a>
<a href="tools.php?action=suggestions&amp;view=marked&amp;closed=1" class="brackets">Closed suggestions</a>
<a href="tools.php?action=suggestions&amp;view=marked&amp;all=1" class="brackets">All suggestions</a>
</div>
<?if($_GET['view'] == "scoreboard" || empty($_GET['view'])) { ?>
<h3>Marked</h3>
<table>
<tr class="colhead">
<td>Username</td>
<td>Count</td>
</tr>
<?
$DB->query("SELECT
s.UserID, count(s.ThreadID) AS C
FROM marked_suggestions AS s
GROUP BY s.UserID ORDER BY c DESC LIMIT 15");
$Row = 'b';
while ( list ($UserID, $Count) = $DB->next_record() ) {
$Row = ($Row == 'a') ? 'b' : 'a';
?>
<tr class="row<?=$Row?>">
<td><?=Users::format_username($UserID)?></td>
<td><?=number_format($Count)?></td>
</tr>
<? }?>
</table>
<h3>Implemented</h3>
<table>
<tr class="colhead">
<td>Username</td>
<td>Count</td>
</tr>
<?
$DB->query("SELECT
LastPostAuthorID, count(LastPostAuthorID) AS C
FROM forums_topics AS f
WHERE ForumID = 63 AND f.Title LIKE '[implemented]%'
GROUP BY LastPostAuthorID ORDER BY c DESC LIMIT 15");
$Row = 'b';
while ( list ($UserID, $Count) = $DB->next_record() ) {
$Row = ($Row == 'a') ? 'b' : 'a';
?>
<tr class="row<?=$Row?>">
<td><?=Users::format_username($UserID)?></td>
<td><?=number_format($Count)?></td>
</tr>
<? }?>
</table>
<h3>Rejected</h3>
<table>
<tr class="colhead">
<td>Username</td>
<td>Count</td>
</tr>
<?
$DB->query("SELECT
LastPostAuthorID, count(LastPostAuthorID) AS C
FROM forums_topics AS f
WHERE ForumID = 63 AND f.Title LIKE '[rejected]%'
GROUP BY LastPostAuthorID ORDER BY c DESC LIMIT 15");
$Row = 'b';
while ( list ($UserID, $Count) = $DB->next_record() ) {
$Row = ($Row == 'a') ? 'b' : 'a';
?>
<tr class="row<?=$Row?>">
<td><?=Users::format_username($UserID)?></td>
<td><?=number_format($Count)?></td>
</tr>
<? }?>
</table>
<?
}
elseif ($_GET['view'] == "marked") {
if(((int) $_GET['all']) == 1) {
$Forums = "9, 63, 13";
} elseif(((int) $_GET['closed']) == 1) {
$Forums = "63, 13";
}
else {
$Forums = 9;
}
foreach ($Categories as $Key => $Value) {
$DB->query("SELECT
f.Title, s.ThreadID, s.URL, s.UserID, s.Notes
FROM marked_suggestions AS s
LEFT JOIN forums_topics AS f ON s.ThreadID = f.ID
WHERE f.ForumID IN ($Forums) AND s.Category = $Key
ORDER BY f.Title ASC");
?>
<h3><a href="#" onclick="$('#category_<?=$Key?>').toggle();"><?=$Value?></a> (<?=$DB->record_count()?>)</h3>
<div class="hidden" id="category_<?=$Key?>">
<table>
<tr class="colhead">
<td>Thread title</td>
<td>Username</td>
<td>Links</td>
<td>Notes</td>
</tr>
<?
$Row = 'b';
while ( list ($Title, $ThreadID, $URL, $UserID, $Notes) = $DB->next_record() ) {
$Row = ($Row == 'a') ? 'b' : 'a';
?>
<tr class="row<?=$Row?>">
<td><a href="forums.php?action=viewthread&amp;threadid=<?=$ThreadID?>"><?=$Title?></a></td>
<td><?=Users::format_username($UserID)?></td>
<td><a href="<?=$URL?>"><?=$URL?></a></td>
<td><?=$Notes?></td>
</tr>
<? }?>
</table>
</div>
<?
}
}
?>
<?
View::show_footer();
?>

View File

@ -60,8 +60,8 @@
<div class="box vertical_space">
<div class="head">
<strong><?=display_str($Title) ?></strong> - posted <?=time_diff($NewsTime) ?>
- <a href="tools.php?action=editnews&amp;id=<?=$NewsID?>">[Edit]</a>
<a href="tools.php?action=deletenews&amp;id=<?=$NewsID?>&amp;auth=<?=$LoggedUser['AuthKey']?>">[Delete]</a>
- <a href="tools.php?action=editnews&amp;id=<?=$NewsID?>" class="brackets">Edit</a>
<a href="tools.php?action=deletenews&amp;id=<?=$NewsID?>&amp;auth=<?=$LoggedUser['AuthKey']?>" class="brackets">Delete</a>
</div>
<div class="pad"><?=$Text->full_format($Body) ?></div>

View File

@ -16,32 +16,32 @@ function display_perm($Key,$Title) {
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
<input type="hidden" name="id" value="<?=display_str($_REQUEST['id']); ?>" />
<div class="linkbox">
[<a href="tools.php?action=permissions">Back to permission list</a>]
[<a href="tools.php">Back to Tools</a>]
<a href="tools.php?action=permissions" class="brackets">Back to permission list</a>
<a href="tools.php" class="brackets">Back to tools</a>
</div>
<table class="permission_head layout">
<tr>
<td class="label">Permission Name</td>
<td class="label">Permission name</td>
<td><input type="text" name="name" id="name" value="<?=(!empty($Name) ? display_str($Name) : '')?>" /></td>
</tr>
<tr>
<td class="label">Class Level</td>
<td class="label">Class level</td>
<td><input type="text" name="level" id="level" value="<?=(!empty($Level) ? display_str($Level) : '')?>" /></td>
</tr>
<tr>
<td class="label">Secondary Class</td>
<td><input type="checkbox" name="secondary" value="1" <? if (!empty($Secondary)) { ?>checked<? } ?> /></td>
<td class="label">Secondary class</td>
<td><input type="checkbox" name="secondary" value="1"<? if (!empty($Secondary)) { ?> checked="checked"<? } ?> /></td>
</tr>
<tr>
<td class="label">Show on Staff page</td>
<td><input type="checkbox" name="displaystaff" value="1" <? if (!empty($DisplayStaff)) { ?>checked<? } ?> /></td>
<td class="label">Show on staff page</td>
<td><input type="checkbox" name="displaystaff" value="1"<? if (!empty($DisplayStaff)) { ?> checked="checked"<? } ?> /></td>
</tr>
<tr>
<td class="label">Maximum number of personal collages</td>
<td><input type="text" name="maxcollages" size="5" value="<?=$Values['MaxCollages']?>" /></td>
</tr>
<tr>
<td class="label">Additional Forums</td>
<td class="label">Additional forums</td>
<td><input type="text" size="30" name="forums" value="<?=display_str($Forums)?>" /></td>
</tr>
<? if (is_numeric($_REQUEST['id'])) { ?>

View File

@ -13,8 +13,8 @@ function confirmDelete(id) {
<div class="thin">
<div class="header">
<div class="linkbox">
[<a href="tools.php?action=permissions&amp;id=new">Create a new permission set</a>]
[<a href="tools.php">Back to tools</a>]
<a href="tools.php?action=permissions&amp;id=new" class="brackets">Create a new permission set</a>
<a href="tools.php" class="brackets">Back to tools</a>
</div>
</div>
<?
@ -37,7 +37,10 @@ function confirmDelete(id) {
<td><?=display_str($Name); ?></td>
<td><?=($Secondary?'Secondary':$Level) ?></td>
<td><?=number_format($UserCount); ?></td>
<td class="center">[<a href="tools.php?action=permissions&amp;id=<?=$ID ?>">Edit</a> | <a href="#" onclick="return confirmDelete(<?=$ID?>)">Remove</a>]</td>
<td class="center">
<a href="tools.php?action=permissions&amp;id=<?=$ID ?>" class="brackets">Edit</a>
<a href="#" onclick="return confirmDelete(<?=$ID?>)" class="brackets">Remove</a>
</td>
</tr>
<? } ?>
</table>

View File

@ -27,7 +27,7 @@
<table cellpadding="6" cellspacing="1" border="0" class="layout border" width="100%">
<tr>
<td rowspan="2" class="label"><strong>Add Recommendation:</strong></td>
<td>Link to a torrent group on site. E.g. <strong>http://<?=NONSSL_SITE_URL?>/torrents.php?id=10000</strong></td>
<td>Link to a torrent group on site. For example, <strong>https://<?=SSL_SITE_URL?>/torrents.php?id=12345</strong></td>
</tr>
<tr>
<td>
@ -49,7 +49,7 @@
<? } ?>
- <a href="torrents.php?id=<?=$GroupID?>"><?=$GroupName?></a>
<? if(check_perms('site_manage_recommendations') || $UserID == $LoggedUser['ID']){ ?>
<a href="tools.php?action=recommend_alter&amp;groupid=<?=$GroupID?>">[Delete]</a>
<a href="tools.php?action=recommend_alter&amp;groupid=<?=$GroupID?>" class="brackets">Delete</a>
<? } ?>
</li>
<? } ?>

View File

@ -30,13 +30,13 @@
<div class="header">
<h2>Tag Aliases</h2>
<div class="linkbox">
[<a href="tools.php?action=tag_aliases&amp;order=goodtags">Sort by good tags</a>]
[<a href="tools.php?action=tag_aliases&amp;order=badtags">Sort by bad tags</a>]
<a href="tools.php?action=tag_aliases&amp;order=goodtags" class="brackets">Sort by good tags</a>
<a href="tools.php?action=tag_aliases&amp;order=badtags" class="brackets">Sort by bad tags</a>
</div>
</div>
<table width="100%">
<tr class="colhead">
<td>Tag</td>
<td>Proper tag</td>
<td>Renamed from</td>
<td>Submit</td>
</tr>

View File

@ -52,7 +52,7 @@
<div class="header">
<h2>Add freeleech tokens to all enabled users</h2>
<div class="linkbox">
<a href="tools.php?action=tokens&amp;showabusers=1">[Show Abusers]</a>
<a href="tools.php?action=tokens&amp;showabusers=1" class="brackets">Show abusers</a>
</div>
</div>
<div class="box pad" style="margin-left: auto; margin-right: auto; text-align:center; max-width: 40%">

View File

@ -38,7 +38,7 @@
<table width="100%">
<tr class="colhead">
<td>User</td>
<td>IP</td>
<td>IP address</td>
<td>Dupes</td>
<td>Registered</td>
</tr>
@ -48,7 +48,7 @@
?>
<tr class="row<?=$Row?>">
<td><?=Users::format_username($UserID, true, true, true, true)?></td>
<td><span style="float:left;"><?=Tools::get_host_by_ajax($IP)." ($IP)"?></span><span style="float:right;">[<a href="userhistory.php?action=ips&amp;userid=<?=$UserID?>" title="History">H</a>|<a href="user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($IP)?>" title="Search">S</a>]</span></td>
<td><span style="float:left;"><?=Tools::get_host_by_ajax($IP)." ($IP)"?></span><span style="float:right;"><a href="userhistory.php?action=ips&amp;userid=<?=$UserID?>" title="History" class="brackets">H</a> <a href="user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($IP)?>" title="Search" class="brackets">S</a></span></td>
<td><?=display_str($Uses)?></td>
<td><?=time_diff($Joined)?></td>
</tr>

View File

@ -16,10 +16,10 @@
<div class="header">
<h2>Top 10 Tags</h2>
<div class="linkbox">
[<a href="top10.php?type=torrents">Torrents</a>]
[<a href="top10.php?type=users">Users</a>]
[<a href="top10.php?type=tags"><strong>Tags</strong></a>]
[<a href="top10.php?type=votes">Favorites</a>]
<a href="top10.php?type=torrents" class="brackets">Torrents</a>
<a href="top10.php?type=users" class="brackets">Users</a>
<a href="top10.php?type=tags" class="brackets"><strong>Tags</strong></a>
<a href="top10.php?type=votes" class="brackets">Favorites</a>
</div>
</div>
@ -105,19 +105,19 @@ function generate_tag_table($Caption, $Tag, $Details, $Limit, $ShowVotes=true, $
<?
switch($Limit) {
case 100: ?>
- [<a href="top10.php?type=tags&details=<?=$Tag?>">Top 10</a>]
- [Top 100]
- [<a href="top10.php?type=tags&amp;limit=250&amp;details=<?=$Tag?>">Top 250</a>]
- <a href="top10.php?type=tags&amp;details=<?=$Tag?>" class="brackets">Top 10</a>
- <span class="brackets">Top 100</span>
- <a href="top10.php?type=tags&amp;limit=250&amp;details=<?=$Tag?>" class="brackets">Top 250</a>
<? break;
case 250: ?>
- [<a href="top10.php?type=tags&details=<?=$Tag?>">Top 10</a>]
- [<a href="top10.php?type=tags&amp;limit=100&amp;details=<?=$Tag?>">Top 100</a>]
- [Top 250]
- <a href="top10.php?type=tags&amp;details=<?=$Tag?>" class="brackets">Top 10</a>
- <a href="top10.php?type=tags&amp;limit=100&amp;details=<?=$Tag?>" class="brackets">Top 100</a>
- <span class="brackets">Top 250</span>
<? break;
default: ?>
- [Top 10]
- [<a href="top10.php?type=tags&amp;limit=100&amp;details=<?=$Tag?>">Top 100</a>]
- [<a href="top10.php?type=tags&amp;limit=250&amp;details=<?=$Tag?>">Top 250</a>]
- <span class="brackets">Top 10</span>
- <a href="top10.php?type=tags&amp;limit=100&amp;details=<?=$Tag?>" class="brackets">Top 100</a>
- <a href="top10.php?type=tags&amp;limit=250&amp;details=<?=$Tag?>" class="brackets">Top 250</a>
<? } ?>
</small>
</h3>
@ -127,8 +127,8 @@ function generate_tag_table($Caption, $Tag, $Details, $Limit, $ShowVotes=true, $
<td>Tag</td>
<td style="text-align:right">Uses</td>
<? if($ShowVotes) { ?>
<td style="text-align:right">Pos. Votes</td>
<td style="text-align:right">Neg. Votes</td>
<td style="text-align:right">Pos. votes</td>
<td style="text-align:right">Neg. votes</td>
<? } ?>
</tr>
<?

View File

@ -353,19 +353,19 @@ function generate_torrent_table($Caption, $Tag, $Details, $Limit) {
<?
switch($Limit) {
case 100: ?>
- [<a href="top10.php?details=<?=$Tag?>">Top 10</a>]
- [Top 100]
- [<a href="top10.php?type=torrents&amp;limit=250&amp;details=<?=$Tag?>">Top 250</a>]
- <a href="top10.php?details=<?=$Tag?>" class="brackets">Top 10</a>
- <span class="brackets">Top 100</span>
- <a href="top10.php?type=torrents&amp;limit=250&amp;details=<?=$Tag?>" class="brackets">Top 250</a>
<? break;
case 250: ?>
- [<a href="top10.php?details=<?=$Tag?>">Top 10</a>]
- [<a href="top10.php?type=torrents&amp;limit=100&amp;details=<?=$Tag?>">Top 100</a>]
- [Top 250]
- <a href="top10.php?details=<?=$Tag?>" class="brackets">Top 10</a>
- <a href="top10.php?type=torrents&amp;limit=100&amp;details=<?=$Tag?>" class="brackets">Top 100</a>
- <span class="brackets">Top 250</span>
<? break;
default: ?>
- [Top 10]
- [<a href="top10.php?type=torrents&amp;limit=100&amp;details=<?=$Tag?>">Top 100</a>]
- [<a href="top10.php?type=torrents&amp;limit=250&amp;details=<?=$Tag?>">Top 250</a>]
- <span class="brackets">Top 10</span>
- <a href="top10.php?type=torrents&amp;limit=100&amp;details=<?=$Tag?>" class="brackets">Top 100</a>
- <a href="top10.php?type=torrents&amp;limit=250&amp;details=<?=$Tag?>" class="brackets">Top 250</a>
<? } ?>
</small>
<? } ?>
@ -432,7 +432,7 @@ function generate_torrent_table($Caption, $Tag, $Details, $Limit) {
$DisplayName = Artists::display_artists($Artists[$GroupID], true, true);
}
$DisplayName.= "<a href='torrents.php?id=$GroupID&amp;torrentid=$TorrentID' title='View Torrent'>$GroupName</a>";
$DisplayName.= "<a href=\"torrents.php?id=$GroupID&amp;torrentid=$TorrentID\" title=\"View Torrent\">$GroupName</a>";
if($GroupCategoryID==1 && $GroupYear>0) {
$DisplayName.= " [$GroupYear]";
@ -484,16 +484,16 @@ function generate_torrent_table($Caption, $Tag, $Details, $Limit) {
?>
<td class="center cats_col"><div title="<?=ucfirst(str_replace('_',' ',$PrimaryTag))?>" class="cats_<?=strtolower(str_replace(array('-',' '),array('',''),$Categories[$GroupCatOffset]))?> tags_<?=str_replace('.','_',$PrimaryTag)?>"></div></td>
<td>
<span>[ <a href="torrents.php?action=download&amp;id=<?=$TorrentID?>&amp;authkey=<?=$LoggedUser['AuthKey']?>&amp;torrent_pass=<?=$LoggedUser['torrent_pass']?>" title="Download">DL</a> ]</span>
<span><a href="torrents.php?action=download&amp;id=<?=$TorrentID?>&amp;authkey=<?=$LoggedUser['AuthKey']?>&amp;torrent_pass=<?=$LoggedUser['torrent_pass']?>" title="Download" class="brackets">DL</a></span>
<strong><?=$DisplayName?></strong> <?=$ExtraInfo?>
<span class="bookmark" style="float:right;">
<?
if($IsBookmarked) {
?>
<a href="#" id="bookmarklink_torrent_<?=$GroupID?>" class="remove_bookmark" title="Remove bookmark" onclick="Unbookmark('torrent',<?=$GroupID?>,'Bookmark');return false;">Unbookmark</a>
<a href="#" id="bookmarklink_torrent_<?=$GroupID?>" class="brackets remove_bookmark" title="Remove bookmark" onclick="Unbookmark('torrent',<?=$GroupID?>,'Bookmark');return false;">Unbookmark</a>
<? } else { ?>
<a href="#" id="bookmarklink_torrent_<?=$GroupID?>" class="add_bookmark" title="Add bookmark" onclick="Bookmark('torrent',<?=$GroupID?>,'Unbookmark');return false;">Bookmark</a>
<a href="#" id="bookmarklink_torrent_<?=$GroupID?>" class="brackets add_bookmark" title="Add bookmark" onclick="Bookmark('torrent',<?=$GroupID?>,'Unbookmark');return false;">Bookmark</a>
<? } ?>
</span>

View File

@ -105,19 +105,19 @@ function generate_user_table($Caption, $Tag, $Details, $Limit) {
<?
switch($Limit) {
case 100: ?>
- [<a href="top10.php?type=users&details=<?=$Tag?>">Top 10</a>]
- [Top 100]
- [<a href="top10.php?type=users&amp;limit=250&amp;details=<?=$Tag?>">Top 250</a>]
- <a href="top10.php?type=users&amp;details=<?=$Tag?>" class="brackets">Top 10</a>
- <span class="brackets">Top 100</span>
- <a href="top10.php?type=users&amp;limit=250&amp;details=<?=$Tag?>" class="brackets">Top 250</a>
<? break;
case 250: ?>
- [<a href="top10.php?type=users&details=<?=$Tag?>">Top 10</a>]
- [<a href="top10.php?type=users&amp;limit=100&amp;details=<?=$Tag?>">Top 100</a>]
- [Top 250]
- <a href="top10.php?type=users&amp;details=<?=$Tag?>" class="brackets">Top 10</a>
- <a href="top10.php?type=users&amp;limit=100&amp;details=<?=$Tag?>" class="brackets">Top 100</a>
- <span class="brackets">Top 250</span>
<? break;
default: ?>
- [Top 10]
- [<a href="top10.php?type=users&amp;limit=100&amp;details=<?=$Tag?>">Top 100</a>]
- [<a href="top10.php?type=users&amp;limit=250&amp;details=<?=$Tag?>">Top 250</a>]
- <span class="brackets">Top 10</span>
- <a href="top10.php?type=users&amp;limit=100&amp;details=<?=$Tag?>" class="brackets">Top 100</a>
- <a href="top10.php?type=users&amp;limit=250&amp;details=<?=$Tag?>" class="brackets">Top 250</a>
<? } ?>
</small>
</h3>

View File

@ -92,10 +92,10 @@
<div class="header">
<h2>Top <?=$Limit?> Voted Groups</h2>
<div class="linkbox">
[<a href="top10.php?type=torrents">Torrents</a>]
[<a href="top10.php?type=users">Users</a>]
[<a href="top10.php?type=tags">Tags</a>]
[<a href="top10.php?type=votes"><strong>Favorites</strong></a>]
<a href="top10.php?type=torrents" class="brackets">Torrents</a>
<a href="top10.php?type=users" class="brackets">Users</a>
<a href="top10.php?type=tags" class="brackets">Tags</a>
<a href="top10.php?type=votes" class="brackets"><strong>Favorites</strong></a>
</div>
</div>
<?
@ -140,19 +140,19 @@
<?
switch($Limit) {
case 100: ?>
- [<a href="top10.php?type=votes">Top 25</a>]
- [Top 100]
- [<a href="top10.php?type=votes&amp;limit=250">Top 250</a>]
- <a href="top10.php?type=votes" class="brackets">Top 25</a>
- <span class="brackets">Top 100</span>
- <a href="top10.php?type=votes&amp;limit=250" class="brackets">Top 250</a>
<? break;
case 250: ?>
- [<a href="top10.php?type=votes">Top 25</a>]
- [<a href="top10.php?type=votes&amp;limit=100">Top 100</a>]
- [Top 250]
- <a href="top10.php?type=votes" class="brackets">Top 25</a>
- <a href="top10.php?type=votes&amp;limit=100" class="brackets">Top 100</a>
- <span class="brackets">Top 250</span>
<? break;
default: ?>
- [Top 25]
- [<a href="top10.php?type=votes&amp;limit=100">Top 100</a>]
- [<a href="top10.php?type=votes&amp;limit=250">Top 250</a>]
- <span class="brackets">Top 25</span>
- <a href="top10.php?type=votes&amp;limit=100" class="brackets">Top 100</a>
- <a href="top10.php?type=votes&amp;limit=250" class="brackets">Top 250</a>
<? } ?>
</small>
<?
@ -221,9 +221,9 @@
<td>
<strong><?=$DisplayName?></strong> <!--<?Votes::vote_link($GroupID,$UserVotes[$GroupID]['Type']);?>-->
<? if($IsBookmarked) { ?>
<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>
<span class="bookmark" style="float:right;"><a href="#" id="bookmarklink_torrent_<?=$GroupID?>" class="brackets remove_bookmark" title="Remove bookmark" onclick="Unbookmark('torrent',<?=$GroupID?>,'Bookmark');return false;">Unbookmark</a></span>
<? } else { ?>
<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>
<span class="bookmark" style="float:right;"><a href="#" id="bookmarklink_torrent_<?=$GroupID?>" class="brackets add_bookmark" title="Add bookmark" onclick="Bookmark('torrent',<?=$GroupID?>,'Unbookmark');return false;">Bookmark</a></span>
<? } ?>
<?=$TorrentTags?>
</td>

View File

@ -756,7 +756,7 @@ function header_link($SortKey,$DefaultWay="DESC") {
</table>
<table class="layout cat_list" width="100%">
<tr>
<td class="label"><a href="#" onclick="$('#taglist').toggle();return false;">(View Tags)</a></td>
<td class="label"><a class="brackets" href="#" onclick="$('#taglist').toggle();return false;">View tags</a></td>
</tr>
</table>
<div class="submit">
@ -883,7 +883,7 @@ function header_link($SortKey,$DefaultWay="DESC") {
<td class="center cats_col"><div title="<?=ucfirst(str_replace('_',' ',$PrimaryTag))?>" class="cats_<?=strtolower(str_replace(array('-',' '),array('',''),$Categories[$GroupCategoryID-1]))?> tags_<?=str_replace('.','_',$PrimaryTag)?>"></div></td>
<td colspan="2">
<?=$DisplayName?>
<span style="float:right;"><a href="#showimg_<?=$GroupID?>" onclick="Bookmark(<?=$GroupID?>);this.innerHTML='Bookmarked';return false;">[Bookmark]</a></span>
<span style="float:right;"><a href="#showimg_<?=$GroupID?>" onclick="Bookmark(<?=$GroupID?>);this.innerHTML='Bookmarked';return false;" class="brackets">Bookmark</a></span>
<?=$TorrentTags?>
</td>
<td class="nobr"><?=time_diff($GroupTime,1)?></td>

View File

@ -592,7 +592,7 @@ function header_link($SortKey,$DefaultWay="desc") {
</td>
</tr>
<tr id="edition_expand">
<td colspan="4" class="center ft_edition_expand">[<a href="#" onclick="ToggleEditionRows();return false;">Click here to toggle searching for specific remaster information</a>]</td>
<td colspan="4" class="center ft_edition_expand"><a href="#" class="brackets" onclick="ToggleEditionRows();return false;">Click here to toggle searching for specific remaster information</a></td>
</tr>
<?
if (Format::form('remastertitle', true) == "" && Format::form('remasteryear', true) == "" &&
@ -794,7 +794,7 @@ function header_link($SortKey,$DefaultWay="desc") {
<table class="layout cat_list" width="100%">
<tr>
<td class="label">
<a href="#" onclick="$('#taglist').toggle(); if (this.innerHTML=='(View Tags)'){this.innerHTML='(Hide Tags)';} else {this.innerHTML='(View Tags)';}; return false;"><?=(empty($LoggedUser['ShowTags'])) ? '(View Tags)' : '(Hide Tags)'?></a>
<a class="brackets" href="#" onclick="$('#taglist').toggle(); if (this.innerHTML=='View tags'){this.innerHTML='Hide tags';} else {this.innerHTML='View tags';}; return false;"><?=(empty($LoggedUser['ShowTags'])) ? 'View tags' : 'Hide tags'?></a>
</td>
</tr>
</table>
@ -962,9 +962,9 @@ function header_link($SortKey,$DefaultWay="desc") {
<td colspan="2">
<?=$DisplayName?>
<? if (in_array($GroupID, $Bookmarks)) { ?>
<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>
<span class="remove_bookmark" style="float:right;"><a href="#" id="bookmarklink_torrent_<?=$GroupID?>" class="brackets" title="Remove bookmark" onclick="Unbookmark('torrent',<?=$GroupID?>,'Bookmark');return false;">Unbookmark</a></span>
<? } else { ?>
<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>
<span class="add_bookmark" style="float:right;"><a href="#" id="bookmarklink_torrent_<?=$GroupID?>" class="brackets" title="Add bookmark" onclick="Bookmark('torrent',<?=$GroupID?>,'Unbookmark');return false;">Bookmark</a></span>
<? } ?>
<br />
<div class="tags">

View File

@ -163,7 +163,7 @@
<a href="log.php?search=Torrent+<?=$TorrentID?>"><?=$TorrentID?></a> (Deleted)
<? } else {?>
<?=$LinkName?>
<a href="torrents.php?action=download&amp;id=<?=$TorrentID?>&amp;authkey=<?=$LoggedUser['AuthKey']?>&amp;torrent_pass=<?=$LoggedUser['torrent_pass']?>" title="Download">[DL]</a>
<a href="torrents.php?action=download&amp;id=<?=$TorrentID?>&amp;authkey=<?=$LoggedUser['AuthKey']?>&amp;torrent_pass=<?=$LoggedUser['torrent_pass']?>" class="brackets" title="Download">DL</a>
uploaded by <a href="user.php?id=<?=$UploaderID?>"><?=$UploaderName?></a> <?=time_diff($Time)?>
<br />
<? $DB->query("SELECT r.ID

View File

@ -133,7 +133,7 @@ function compare($X, $Y){
?>
<div class="box box_artists">
<div class="head"><strong>Artists</strong>
<?=(check_perms('torrents_edit')) ? '<span style="float:right;" class="edit_artists"><a onclick="ArtistManager(); return false;" href="#">[Edit]</a></span>' : ''?>
<?=(check_perms('torrents_edit')) ? '<span style="float:right;" class="edit_artists"><a onclick="ArtistManager(); return false;" href="#" class="brackets">Edit</a></span>' : ''?>
</div>
<ul class="stats nobullet" id="artist_list">
<? if(!empty($Artists[4]) && count($Artists[4]) > 0) {
@ -150,7 +150,7 @@ function compare($X, $Y){
}
?>
(<?=$AliasID?>)&nbsp;
<span class="remove remove_artist"><a href="javascript:void(0);" onclick="ajax.get('torrents.php?action=delete_alias&amp;auth=' + authkey + '&amp;groupid=<?=$GroupID?>&amp;artistid=<?=$Artist['id']?>&amp;importance=4');this.parentNode.parentNode.style.display = 'none';" title="Remove artist">[X]</a></span>
<span class="remove remove_artist"><a href="javascript:void(0);" onclick="ajax.get('torrents.php?action=delete_alias&amp;auth=' + authkey + '&amp;groupid=<?=$GroupID?>&amp;artistid=<?=$Artist['id']?>&amp;importance=4');this.parentNode.parentNode.style.display = 'none';" class="brackets" title="Remove artist">X</a></span>
<? } ?>
</li>
<? }
@ -169,7 +169,7 @@ function compare($X, $Y){
}
?>
(<?=$AliasID?>)&nbsp;
<span class="remove remove_artist"><a href="javascript:void(0);" onclick="ajax.get('torrents.php?action=delete_alias&amp;auth=' + authkey + '&amp;groupid=<?=$GroupID?>&amp;artistid=<?=$Artist['id']?>&amp;importance=6');this.parentNode.parentNode.style.display = 'none';" title="Remove artist">[X]</a></span>
<span class="remove remove_artist"><a href="javascript:void(0);" onclick="ajax.get('torrents.php?action=delete_alias&amp;auth=' + authkey + '&amp;groupid=<?=$GroupID?>&amp;artistid=<?=$Artist['id']?>&amp;importance=6');this.parentNode.parentNode.style.display = 'none';" class="brackets" title="Remove artist">X</a></span>
<? } ?>
</li>
<?
@ -191,7 +191,7 @@ function compare($X, $Y){
}
?>
(<?=$AliasID?>)&nbsp;
<span class="remove remove_artist"><a href="javascript:void(0);" onclick="ajax.get('torrents.php?action=delete_alias&amp;auth=' + authkey + '&amp;groupid=<?=$GroupID?>&amp;artistid=<?=$Artist['id']?>&amp;importance=1');this.parentNode.parentNode.style.display = 'none';" title="Remove artist">[X]</a></span>
<span class="remove remove_artist"><a href="javascript:void(0);" onclick="ajax.get('torrents.php?action=delete_alias&amp;auth=' + authkey + '&amp;groupid=<?=$GroupID?>&amp;artistid=<?=$Artist['id']?>&amp;importance=1');this.parentNode.parentNode.style.display = 'none';" class="brackets" title="Remove artist">X</a></span>
<? } ?>
</li>
<?
@ -210,7 +210,7 @@ function compare($X, $Y){
}
?>
(<?=$AliasID?>)&nbsp;
<span class="remove remove_artist"><a href="javascript:void(0);" onclick="ajax.get('torrents.php?action=delete_alias&amp;auth=' + authkey + '&amp;groupid=<?=$GroupID?>&amp;artistid=<?=$Artist['id']?>&amp;importance=2');this.parentNode.parentNode.style.display = 'none';" title="Remove artist">[X]</a></span>
<span class="remove remove_artist"><a href="javascript:void(0);" onclick="ajax.get('torrents.php?action=delete_alias&amp;auth=' + authkey + '&amp;groupid=<?=$GroupID?>&amp;artistid=<?=$Artist['id']?>&amp;importance=2');this.parentNode.parentNode.style.display = 'none';" class="brackets" title="Remove artist">X</a></span>
<? } ?>
</li>
<?
@ -230,7 +230,7 @@ function compare($X, $Y){
}
?>
(<?=$AliasID?>)&nbsp;
<span class="remove remove_artist"><a href="javascript:void(0);" onclick="ajax.get('torrents.php?action=delete_alias&amp;auth=' + authkey + '&amp;groupid=<?=$GroupID?>&amp;artistid=<?=$Artist['id']?>&amp;importance=5');this.parentNode.parentNode.style.display = 'none';" title="Remove conductor">[X]</a></span>
<span class="remove remove_artist"><a href="javascript:void(0);" onclick="ajax.get('torrents.php?action=delete_alias&amp;auth=' + authkey + '&amp;groupid=<?=$GroupID?>&amp;artistid=<?=$Artist['id']?>&amp;importance=5');this.parentNode.parentNode.style.display = 'none';" class="brackets" title="Remove conductor">X</a></span>
<? } ?>
</li>
<?
@ -250,7 +250,7 @@ function compare($X, $Y){
}
?>
(<?=$AliasID?>)&nbsp;
<span class="remove remove_artist"><a href="javascript:void(0);" onclick="ajax.get('torrents.php?action=delete_alias&amp;auth=' + authkey + '&amp;groupid=<?=$GroupID?>&amp;artistid=<?=$Artist['id']?>&amp;importance=3');this.parentNode.parentNode.style.display = 'none';" title="Remove artist">[X]</a></span>
<span class="remove remove_artist"><a href="javascript:void(0);" onclick="ajax.get('torrents.php?action=delete_alias&amp;auth=' + authkey + '&amp;groupid=<?=$GroupID?>&amp;artistid=<?=$Artist['id']?>&amp;importance=3');this.parentNode.parentNode.style.display = 'none';" class="brackets" title="Remove artist">X</a></span>
<? } ?>
</li>
<?
@ -270,7 +270,7 @@ function compare($X, $Y){
}
?>
(<?=$AliasID?>)&nbsp;
<span class="remove remove_artist"><a href="javascript:void(0);" onclick="ajax.get('torrents.php?action=delete_alias&amp;auth=' + authkey + '&amp;groupid=<?=$GroupID?>&amp;artistid=<?=$Artist['id']?>&amp;importance=7');this.parentNode.parentNode.style.display = 'none';" title="Remove producer">[X]</a></span>
<span class="remove remove_artist"><a href="javascript:void(0);" onclick="ajax.get('torrents.php?action=delete_alias&amp;auth=' + authkey + '&amp;groupid=<?=$GroupID?>&amp;artistid=<?=$Artist['id']?>&amp;importance=7');this.parentNode.parentNode.style.display = 'none';" class="brackets" title="Remove producer">X</a></span>
<? } ?>
</li>
<?
@ -282,7 +282,7 @@ function compare($X, $Y){
<?
if(check_perms('torrents_add_artist')) { ?>
<div class="box box_addartists">
<div class="head"><strong>Add artist</strong><span style="float:right;" class="additional_add_artist"><a onclick="AddArtistField(); return false;" href="#">[+]</a></span></div>
<div class="head"><strong>Add artist</strong><span style="float:right;" class="additional_add_artist"><a onclick="AddArtistField(); return false;" href="#" class="brackets">+</a></span></div>
<div class="body">
<form class="add_form" name="artists" action="torrents.php" method="post">
<div id="AddArtists">
@ -322,14 +322,14 @@ function compare($X, $Y){
<li>
<a href="torrents.php?taglist=<?=$Tag['name']?>" style="float:left; display:block;"><?=display_str($Tag['name'])?></a>
<div style="float:right; display:block; letter-spacing: -1px;" class="edit_tags_votes">
<a href="torrents.php?action=vote_tag&amp;way=down&amp;groupid=<?=$GroupID?>&amp;tagid=<?=$Tag['id']?>&amp;auth=<?=$LoggedUser['AuthKey']?>" style="font-family: monospace;" title="Vote this tag down" class="vote_tag_down">[-]</a>
<a href="torrents.php?action=vote_tag&amp;way=down&amp;groupid=<?=$GroupID?>&amp;tagid=<?=$Tag['id']?>&amp;auth=<?=$LoggedUser['AuthKey']?>" style="font-family: monospace;" title="Vote this tag down" class="brackets vote_tag_down">-</a>
<?=$Tag['score']?>
<a href="torrents.php?action=vote_tag&amp;way=up&amp;groupid=<?=$GroupID?>&amp;tagid=<?=$Tag['id']?>&amp;auth=<?=$LoggedUser['AuthKey']?>" style="font-family: monospace;" title="Vote this tag up" class="vote_tag_up">[+]</a>
<a href="torrents.php?action=vote_tag&amp;way=up&amp;groupid=<?=$GroupID?>&amp;tagid=<?=$Tag['id']?>&amp;auth=<?=$LoggedUser['AuthKey']?>" style="font-family: monospace;" title="Vote this tag up" class="brackets vote_tag_up">+</a>
<? if(check_perms('users_warn')){ ?>
<a href="user.php?id=<?=$Tag['userid']?>" title="View the profile of the user that added this tag" class="view_tag_user">[U]</a>
<a href="user.php?id=<?=$Tag['userid']?>" title="View the profile of the user that added this tag" class="brackets view_tag_user">U</a>
<? } ?>
<? if(empty($LoggedUser['DisableTagging']) && check_perms('site_delete_tag')){ ?>
<span class="remove remove_tag"><a href="torrents.php?action=delete_tag&amp;groupid=<?=$GroupID?>&amp;tagid=<?=$Tag['id']?>&amp;auth=<?=$LoggedUser['AuthKey']?>" title="Remove tag">[X]</a></span>
<span class="remove remove_tag"><a href="torrents.php?action=delete_tag&amp;groupid=<?=$GroupID?>&amp;tagid=<?=$Tag['id']?>&amp;auth=<?=$LoggedUser['AuthKey']?>" class="brackets" title="Remove tag">X</a></span>
<? } ?>
</div>
<br style="clear:both" />
@ -455,7 +455,7 @@ function filelist($Str) {
$FileList = str_replace(array('_','-'), ' ', $FileList);
$FileList = str_replace('|||','<tr><td>',display_str($FileList));
$FileList = preg_replace_callback('/\{\{\{([^\{]*)\}\}\}/i','filelist',$FileList);
$FileList = '<table class="filelist_table" style="overflow-x:auto;"><tr class="colhead_dark"><td><div style="float: left; display: block; font-weight: bold;">File Name'.(check_perms('users_mod') ? ' [<a href="torrents.php?action=regen_filelist&amp;torrentid='.$TorrentID.'">Regenerate</a>]' : '').'</div><div style="float:right; display:block;">'.(empty($FilePath) ? '' : '/'.$FilePath.'/' ).'</div></td><td><strong>Size</strong></td></tr><tr><td>'.$FileList."</table>";
$FileList = '<table class="filelist_table" style="overflow-x:auto;"><tr class="colhead_dark"><td><div style="float: left; display: block; font-weight: bold;">File Name'.(check_perms('users_mod') ? ' <a href="torrents.php?action=regen_filelist&amp;torrentid='.$TorrentID.'" class="brackets">Regenerate</a>' : '').'</div><div style="float:right; display:block;">'.(empty($FilePath) ? '' : '/'.$FilePath.'/' ).'</div></td><td><strong>Size</strong></td></tr><tr><td>'.$FileList."</table>";
$ExtraInfo=''; // String that contains information on the torrent (e.g. format and encoding)
$AddExtra=''; // Separator between torrent properties
@ -567,7 +567,7 @@ function filelist($Str) {
<?} ?>
<?
if ($LastActive != '0000-00-00 00:00:00' && time() - strtotime($LastActive) >= 345678 && time()-strtotime($LastReseedRequest)>=864000) { ?>
<br /><a href="torrents.php?action=reseed&amp;torrentid=<?=$TorrentID?>&amp;groupid=<?=$GroupID?>">[Request re-seed]</a>
<br /><a href="torrents.php?action=reseed&amp;torrentid=<?=$TorrentID?>&amp;groupid=<?=$GroupID?>" class="brackets">Request re-seed</a>
<?} ?>
<? } ?>
@ -819,16 +819,16 @@ function filelist($Str) {
<td colspan="<?=Users::has_avatars_enabled() ? 2 : 1?>">
<div style="float:left;"><a class="post_id" href="torrents.php?id=<?=$GroupID?>&amp;postid=<?=$PostID?>#post<?=$PostID?>">#<?=$PostID?></a>
<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?>');" class="brackets">Quote</a>
<? 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?>');" class="brackets">Edit</a>
<? }
if (check_perms('site_moderate_forums')) { ?>
- <a href="#post<?=$PostID?>" onclick="Delete('<?=$PostID?>');">[Delete]</a>
- <a href="#post<?=$PostID?>" onclick="Delete('<?=$PostID?>');" class="brackets">Delete</a>
<? } ?>
</div>
<div id="bar<?=$PostID?>" style="float:right;">
<a href="reports.php?action=report&amp;type=torrents_comment&amp;id=<?=$PostID?>">[Report]</a>
<a href="reports.php?action=report&amp;type=torrents_comment&amp;id=<?=$PostID?>" class="brackets">Report</a>
<? if (check_perms('users_warn') && $AuthorID != $LoggedUser['ID']) {
$AuthorInfo = Users::user_info($AuthorID);
if ($LoggedUser['Class'] >= $AuthorInfo['Class']) {
@ -840,7 +840,7 @@ function filelist($Str) {
<input type="hidden" name="userid" value="<?=$AuthorID?>" />
<input type="hidden" name="key" value="<?=$Key?>" />
</form>
- <a href="#" onclick="$('#warn<?=$PostID?>').raw().submit(); return false;">[Warn]</a>
- <a href="#" onclick="$('#warn<?=$PostID?>').raw().submit(); return false;" class="brackets">Warn</a>
<? }
}
?>

View File

@ -26,40 +26,36 @@
<div class="box box_info box_userinfo_community">
<div class="head colhead_dark">Community</div>
<ul class="stats nobullet">
<li>Forum posts: <?=number_format($ForumPosts)?> [<a href="userhistory.php?action=posts&amp;userid=<?=$UserID?>" title="View">View</a>]</li>
<li>Forum posts: <?=number_format($ForumPosts)?> <a href="userhistory.php?action=posts&amp;userid=<?=$UserID?>" class="brackets" title="View">View</a></li>
<? if (($Override=check_paranoia_here('torrentcomments+'))) { ?>
<li <?= $Override===2 ? 'class="paranoia_override"' : ''?>>Torrent comments: <?=number_format($NumComments)?>
<? if($Override=check_paranoia_here('torrentcomments')) { ?>[<a href="comments.php?id=<?=$UserID?>" <?= $Override===2 ? 'class="paranoia_override"'
: ''
?> title="View">View</a>]
<? } ?>
<li<?= $Override===2 ? ' class="paranoia_override"' : ''?>>Torrent comments: <?=number_format($NumComments)?>
<? if($Override=check_paranoia_here('torrentcomments')) { ?>
<a href="comments.php?id=<?=$UserID?>" class="brackets<?= $Override===2 ? ' paranoia_override' : '' ?>" title="View">View</a>
<? } ?>
</li>
<? }
if (($Override=check_paranoia_here('torrentcomments+'))) { ?>
<li <?= $Override===2 ? 'class="paranoia_override"' : ''?>>Artist comments: <?=number_format($NumArtistComments)?>
<? if($Override=check_paranoia_here('torrentcomments')) { ?>[<a href="comments.php?id=<?=$UserID?>&amp;action=artists" <?= $Override===2 ? 'class="paranoia_override"'
: ''
?> title="View">View</a>]
<? } ?>
<? } ?>
<? if (($Override=check_paranoia_here('torrentcomments+'))) { ?>
<li<?= $Override===2 ? ' class="paranoia_override"' : ''?>>Artist comments: <?=number_format($NumArtistComments)?>
<? if($Override=check_paranoia_here('torrentcomments')) { ?>
<a href="comments.php?id=<?=$UserID?>&amp;action=artists" class="brackets<?= $Override===2 ? ' paranoia_override' : '' ?>" title="View">View</a>
<? } ?>
</li>
<? }
if (($Override=check_paranoia_here('collages+'))) { ?>
<li <?= $Override===2 ? 'class="paranoia_override"' : ''?>>Collages started: <?=number_format($NumCollages)?>
<? if(($Override=check_paranoia_here('collages'))) { ?>[<a <?= ($Override===2) ? 'class="paranoia_override"'
:'' ?>
href="collages.php?userid=<?=$UserID?>" title="View">View</a>]
<? } ?>
<? } ?>
<? if (($Override=check_paranoia_here('collages+'))) { ?>
<li<?= $Override===2 ? ' class="paranoia_override"' : ''?>>Collages started: <?=number_format($NumCollages)?>
<? if(($Override=check_paranoia_here('collages'))) { ?>
<a href="collages.php?userid=<?=$UserID?>" class="brackets<?= ($Override===2) ? ' paranoia_override' : '' ?>" title="View">View</a>
<? } ?>
</li>
<? }
if (($Override=check_paranoia_here('collagecontribs+'))) { ?>
<li <?= $Override===2 ? 'class="paranoia_override"' : ''?>>Collages contributed to: <? echo number_format($NumCollageContribs);
if (($Override=check_paranoia_here('collagecontribs'))) {
?> [<a <?= ($Override===2) ?
'class="paranoia_override"' : ''?> href="collages.php?userid=<?=$UserID?>&amp;contrib=1" title="View">View</a>]
<? } ?>
<? } ?>
<? if (($Override=check_paranoia_here('collagecontribs+'))) { ?>
<li<?= $Override===2 ? ' class="paranoia_override"' : ''?>>Collages contributed to: <? echo number_format($NumCollageContribs); ?>
<? if (($Override=check_paranoia_here('collagecontribs'))) { ?>
<a href="collages.php?userid=<?$UserID?>&amp;contrib=1" class="brackets<?= ($Override===2) ? ' paranoia_override' : '' ?>" title="View">View</a>
<? } ?>
</li>
<? }
<? } ?>
<?
//Let's see if we can view requests because of reasons
$ViewAll = check_paranoia_here('requestsfilled_list');
$ViewCount = check_paranoia_here('requestsfilled_count');
@ -75,10 +71,10 @@
<li>
<span <?= ($ViewCount===2) ? 'class="paranoia_override"' : ''?>>Requests filled: <?=number_format($RequestsFilled)?> </span>
<span <?= ($ViewBounty===2) ? 'class="paranoia_override"' : ''?>> for <?=Format::get_size($TotalBounty) ?> </span>
[<a href="requests.php?type=filled&amp;userid=<?=$UserID?>" <?= ($ViewAll===2) ? 'class="paranoia_override"' : ''?> title="View">View</a>]
<a href="requests.php?type=filled&amp;userid=<?=$UserID?>" class="brackets<?= ($ViewAll===2) ? ' paranoia_override' : '' ?>" title="View">View</a>
</li>
<? }
<? } ?>
<?
//Let's see if we can view requests because of reasons
$ViewAll = check_paranoia_here('requestsvoted_list');
$ViewCount = check_paranoia_here('requestsvoted_count');
@ -94,79 +90,81 @@
<li>
<span <?= ($ViewCount===2) ? 'class="paranoia_override"' : ''?>>Requests voted: <?=number_format($RequestsVoted)?> </span>
<span <?= ($ViewBounty===2) ? 'class="paranoia_override"' : ''?>> for <?=Format::get_size($TotalSpent)?> </span>
[<a href="requests.php?type=voted&amp;userid=<?=$UserID?>" <?= ($ViewAll===2) ? 'class="paranoia_override"' : ''?> title="View">View</a>]
<a href="requests.php?type=voted&amp;userid=<?=$UserID?>" class="brackets<?= ($ViewAll===2) ? ' paranoia_override' : '' ?>" title="View">View</a>
</li>
<? }
if (($Override=check_paranoia_here('uploads+'))) { ?>
<li <?= $Override===2 ? 'class="paranoia_override"' : ''?>>Uploaded: <?=number_format($Uploads)?>
<? if(($Override=check_paranoia_here('uploads'))) { ?>[<a <?= $Override===2 ? 'class="paranoia_override"' :'' ?> href="torrents.php?type=uploaded&amp;userid=<?=$UserID?>" title="View">View</a>]<? if(check_perms('zip_downloader')) { ?> [<a href="torrents.php?action=redownload&amp;type=uploads&amp;userid=<?=$UserID?>"
onclick="return confirm('If you no longer have the content, your ratio WILL be affected; be sure to check the size of all torrents before redownloading.');">Download</a>]<? } } ?>
<? } ?>
<? if (($Override=check_paranoia_here('uploads+'))) { ?>
<li<?= $Override===2 ? ' class="paranoia_override"' : ''?>>Uploaded: <?=number_format($Uploads)?>
<? if (($Override=check_paranoia_here('uploads'))) { ?>
<a href="torrents.php?type=uploaded&amp;userid=<?=$UserID?>" class="brackets<?= $Override===2 ? ' paranoia_override' : '' ?>" title="View">View</a>
<? if(check_perms('zip_downloader')) { ?>
<a href="torrents.php?action=redownload&amp;type=uploads&amp;userid=<?=$UserID?>" onclick="return confirm('If you no longer have the content, your ratio WILL be affected; be sure to check the size of all torrents before redownloading.');" class="brackets<?= $Override===2 ? ' paranoia_override' : '' ?>" title="Download">Download</a>
<? } ?>
<? } ?>
</li>
<? }
if (($Override=check_paranoia_here('uniquegroups+'))) { ?>
<li <?= $Override===2 ? 'class="paranoia_override"' : ''?>>
Unique groups: <?echo number_format($UniqueGroups);
if(($Override=check_paranoia_here('uniquegroups'))) {?>
[<a <?= $Override===2 ? 'class="paranoia_override"' :'' ?> href="torrents.php?type=uploaded&amp;userid=<?=$UserID?>&amp;filter=uniquegroup">View</a>]
<?}?>
<? } ?>
<? if (($Override=check_paranoia_here('uniquegroups+'))) { ?>
<li<?= $Override===2 ? ' class="paranoia_override"' : ''?>>Unique groups: <? echo number_format($UniqueGroups); ?>
<? if (($Override=check_paranoia_here('uniquegroups'))) { ?>
<a href="torrents.php?type=uploaded&amp;userid=<?=$UserID?>&amp;filter=uniquegroup" class="brackets<?= $Override===2 ? ' paranoia_override' : '' ?>" title="View">View</a>
<? } ?>
</li>
<? }
if (($Override=check_paranoia_here('perfectflacs+'))) { ?>
<li <?= $Override===2 ? 'class="paranoia_override"' : ''?>>"Perfect" FLACs: <?echo number_format($PerfectFLACs);
if (($Override=check_paranoia_here('perfectflacs'))) { ?>
[<a <?= $Override===2 ? 'class="paranoia_override"' :'' ?> href="torrents.php?type=uploaded&amp;userid=<?=$UserID?>&amp;filter=perfectflac">View</a>]</li>
<? }
}
if (check_paranoia_here('seeding+') || check_paranoia_here('leeching+')) {
<? } ?>
<? if (($Override=check_paranoia_here('perfectflacs+'))) { ?>
<li<?= $Override===2 ? ' class="paranoia_override"' : ''?>>"Perfect" FLACs: <? echo number_format($PerfectFLACs); ?>
<? if (($Override=check_paranoia_here('perfectflacs'))) { ?>
<a href="torrents.php?type=uploaded&amp;userid=<?=$UserID?>&amp;filter=perfectflac" class="brackets<?= $Override===2 ? ' paranoia_override' : '' ?>" title="View">View</a>
<? } ?>
</li>
<? } ?>
<? if (check_paranoia_here('seeding+') || check_paranoia_here('leeching+')) {
$DB->query("SELECT IF(remaining=0,'Seeding','Leeching') AS Type, COUNT(x.uid) FROM xbt_files_users AS x INNER JOIN torrents AS t ON t.ID=x.fid WHERE x.uid='$UserID' AND x.active=1 GROUP BY Type");
$PeerCount = $DB->to_array(0, MYSQLI_NUM, false);
$Seeding = isset($PeerCount['Seeding'][1]) ? $PeerCount['Seeding'][1] : 0;
$Leeching = isset($PeerCount['Leeching'][1]) ? $PeerCount['Leeching'][1] : 0;
}
?>
} ?>
<? if (($Override=check_paranoia_here('seeding+'))) { ?>
<li <?= $Override===2 ? 'class="paranoia_override"' : ''?>>Seeding: <?=number_format($Seeding)?> <?
if(($AOverride=check_paranoia_here('seeding'))) {
<li<?= $Override===2 ? ' class="paranoia_override"' : ''?>>Seeding: <?=number_format($Seeding)?>
<? if (($AOverride=check_paranoia_here('seeding'))) {
echo ((($Override=check_paranoia_here('snatched')) && $UniqueSnatched > 0 )
? '<span ' .($Override===2 ? 'class="paranoia_override" ' : '').' >(' . 100*min(1,round($Seeding/$UniqueSnatched,2)).'%)</span> '
: ''); ?>
[<a href="torrents.php?type=seeding&amp;userid=<?=$UserID?>" <?= $AOverride===2 ? 'class="paranoia_override"' :'' ?> title="View">View</a>]
? '<span'.($Override===2 ? ' class="paranoia_override"' : '').'>(' . 100*min(1,round($Seeding/$UniqueSnatched,2)).'%)</span>' : ''); ?>
<a href="torrents.php?type=seeding&amp;userid=<?=$UserID?>" class="brackets<?= $AOverride===2 ? ' paranoia_override' :'' ?>" title="View">View</a>
<? if (check_perms('zip_downloader')) { ?>
[<a href="torrents.php?action=redownload&amp;type=seeding&amp;userid=<?=$UserID?>" onclick="return confirm('If you no longer have the content, your ratio WILL be affected; be sure to check the size of all albums before redownloading.');">Download</a>]
<a href="torrents.php?action=redownload&amp;type=seeding&amp;userid=<?=$UserID?>" onclick="return confirm('If you no longer have the content, your ratio WILL be affected; be sure to check the size of all albums before redownloading.');" class="brackets" title="Download">Download</a>
<? } ?>
<?} ?>
<? } ?>
</li>
<? }
if (($Override=check_paranoia_here('leeching+'))) { ?>
<li <?= $Override===2 ? 'class="paranoia_override"' : ''?>>Leeching: <? echo number_format($Leeching);
if(($Override=check_paranoia_here('leeching'))) { ?>
[<a <?= $Override===2 ? 'class="paranoia_override"' : ''?> href="torrents.php?type=leeching&amp;userid=<?=$UserID?>" title="View">View</a>]
<? }
echo ($DisableLeech == 0 && check_perms('users_view_ips')) ? "<strong> (Disabled)</strong>" : ""?>
<? } ?>
<? if (($Override=check_paranoia_here('leeching+'))) { ?>
<li<?= $Override===2 ? ' class="paranoia_override"' : ''?>>Leeching: <? echo number_format($Leeching); ?>
<? if(($Override=check_paranoia_here('leeching'))) { ?>
<a href="torrents.php?type=leeching&amp;userid=<?=$UserID?>" class="brackets<?= $Override===2 ? ' paranoia_override' : '' ?>" title="View">View</a>
<? } ?>
<? echo ($DisableLeech == 0 && check_perms('users_view_ips')) ? " <strong>(Disabled)</strong>" : "" ?>
</li>
<? }
?>
<? } ?>
<? if (($Override=check_paranoia_here('snatched+'))) { ?>
<li <?= $Override===2 ? 'class="paranoia_override"' : ''?>>Snatched: <?=number_format($Snatched)?>
<? if(($Override=check_perms('site_view_torrent_snatchlist', $Class))) { ?>
(<?= $Override === 2 ? '<span class="paranoia_override">'.number_format($UniqueSnatched).'</span>' : number_format($UniqueSnatched) ?>)
<? } ?>
<li<?= $Override===2 ? ' class="paranoia_override"' : ''?>>Snatched: <?=number_format($Snatched)?>
<? if(($Override=check_perms('site_view_torrent_snatchlist', $Class))) { ?>
(<?= $Override === 2 ? '<span class="paranoia_override">'.number_format($UniqueSnatched).'</span>' : number_format($UniqueSnatched) ?>)
<? } ?>
<? } ?>
<? if (($Override=check_paranoia_here('snatched'))) { ?>
[<a href="torrents.php?type=snatched&amp;userid=<?=$UserID?>" <?= $Override===2 ? 'class="paranoia_override"' : ''?> title="View">View</a>]<? if(check_perms('zip_downloader')) { ?> [<a href="torrents.php?action=redownload&amp;type=snatches&amp;userid=<?=$UserID?>" onclick="return confirm('If you no longer have the content, your ratio WILL be affected, be sure to check the size of all albums before redownloading.');">Download</a>]<? } ?>
<a href="torrents.php?type=snatched&amp;userid=<?=$UserID?>" class="brackets<?= $Override===2 ? ' paranoia_override' : '' ?>" title="View">View</a>
<? if(check_perms('zip_downloader')) { ?>
<a href="torrents.php?action=redownload&amp;type=snatches&amp;userid=<?=$UserID?>" onclick="return confirm('If you no longer have the content, your ratio WILL be affected, be sure to check the size of all albums before redownloading.');" class="brackets" title="Download">Download</a>
<? } ?>
</li>
<? }
if(($Override=check_perms('site_view_torrent_snatchlist', $Class))) {
<? } ?>
<? if(($Override=check_perms('site_view_torrent_snatchlist', $Class))) {
$DB->query("SELECT COUNT(ud.UserID), COUNT(DISTINCT ud.TorrentID) FROM users_downloads AS ud INNER JOIN torrents AS t ON t.ID=ud.TorrentID WHERE ud.UserID='$UserID'");
list($NumDownloads, $UniqueDownloads) = $DB->next_record();
?>
<li <?= $Override===2 ? 'class="paranoia_override"' : ''?>>Downloaded: <?=number_format($NumDownloads)?> (<?=number_format($UniqueDownloads)?>) [<a href="torrents.php?type=downloaded&amp;userid=<?=$UserID?>" title="View">View</a>]</li>
<?
}
if(($Override=check_paranoia_here('invitedcount'))) {
<li<?= $Override===2 ? ' class="paranoia_override"' : ''?>>Downloaded: <?=number_format($NumDownloads)?> (<?=number_format($UniqueDownloads)?>)
<a href="torrents.php?type=downloaded&amp;userid=<?=$UserID?>" class="brackets" title="View">View</a>
</li>
<? } ?>
<? if(($Override=check_paranoia_here('invitedcount'))) {
$DB->query("SELECT COUNT(UserID) FROM users_info WHERE Inviter='$UserID'");
list($Invited) = $DB->next_record();
?>

View File

@ -4,7 +4,7 @@
if ($DB->record_count()) {
list($LastFMUsername) = $DB->next_record();
$LastFMInfo = LastFM::get_user_info($LastFMUsername);
//Hand everything else over to js (gets data via the username in an id-d div) to allow faster page loading.
//Hand everything else over to JS (gets data via the username in an id-d div) to allow faster page loading.
?>
<div class="box box_info box_lastfm">
<div class="head colhead_dark">Last.fm</div>
@ -15,14 +15,14 @@
<div id="lastfm_stats" <? if ($OwnProfile == true): ?>data-uid="<?= $OwnProfile ?>"<? endif; ?>>
</div>
<li>
[<a href="#" id="lastfm_expand" onclick="return false">Show more info</a>]
<a href="#" id="lastfm_expand" onclick="return false" class="brackets">Show more info</a>
<?
//Append the reload stats button only if allowed on the current user page.
$Response = $Cache->get_value('lastfm_clear_cache_' . $LoggedUser . '_' . $_GET['id']);
if (empty($Response)) :
?>
<span id="lastfm_reload_container">
[<a href="#" id="lastfm_reload" onclick="return false">Reload stats</a>]
<a href="#" id="lastfm_reload" onclick="return false" class="brackets">Reload stats</a>
</span>
<? endif; ?>
</li>

View File

@ -54,7 +54,7 @@ function display_perm($Key,$Title) {
View::show_header($Username.' &gt; Permissions');
?>
<script type="text/javascript">
<script type="text/javascript">//<![CDATA[
function reset() {
for (i = 0; i < $('#permissionsform').raw().elements.length; i++) {
element = $('#permissionsform').raw().elements[i];
@ -63,15 +63,16 @@ function reset() {
}
}
}
//]]>
</script>
<div class="header">
<h2><?=Users::format_username($UserID, false, false, false)?> > Permissions</h2>
<div class="linkbox">
[<a href="#" onclick="reset();return false;">Defaults</a>]
<a href="#" onclick="reset();return false;" class="brackets">Defaults</a>
</div>
</div>
<div class="box pad">
Before using permissions, please understand that it allows you to both add and remove access to specific features. If you think that to add access to a feature, you need to uncheck everything else, <strong>YOU ARE WRONG</strong>. The checkmarks on the left, which are grayed out, are the standard permissions granted by their class (and donor/artist status), any changes you make to the right side will overwrite this. It's not complicated, and if you screw up, click the defaults link at the top. It will reset the user to their respective features granted by class, then you can check or uncheck the one or two things you want to change. <strong>DO NOT UNCHECK EVERYTHING.</strong> If you need further clarification, ask A9 before using this tool.
Before using permissions, please understand that it allows you to both add and remove access to specific features. If you think that to add access to a feature, you need to uncheck everything else, <strong>YOU ARE WRONG</strong>. The checkmarks on the left, which are grayed out, are the standard permissions granted by their class (and donor/artist status), any changes you make to the right side will overwrite this. It's not complicated, and if you screw up, click the defaults link at the top. It will reset the user to their respective features granted by class, then you can check or uncheck the one or two things you want to change. <strong>DO NOT UNCHECK EVERYTHING.</strong> If you need further clarification, ask a developer before using this tool.
</div>
<br />

View File

@ -351,26 +351,26 @@ function check_paranoia_here($Setting) {
<div class="head colhead_dark">History</div>
<ul class="stats nobullet">
<? if (check_perms('users_view_email',$Class)) { ?>
<li>Emails: <?=number_format($EmailChanges)?> [<a href="userhistory.php?action=email2&amp;userid=<?=$UserID?>">View</a>]&nbsp;[<a href="userhistory.php?action=email&amp;userid=<?=$UserID?>">Legacy view</a>]</li>
<li>Emails: <?=number_format($EmailChanges)?> <a href="userhistory.php?action=email2&amp;userid=<?=$UserID?>" class="brackets">View</a>&nbsp;<a href="userhistory.php?action=email&amp;userid=<?=$UserID?>" class="brackets">Legacy view</a></li>
<?
}
if (check_perms('users_view_ips',$Class)) {
?>
<li>IPs: <?=number_format($IPChanges)?> [<a href="userhistory.php?action=ips&amp;userid=<?=$UserID?>">View</a>]&nbsp;[<a href="userhistory.php?action=ips&amp;userid=<?=$UserID?>&amp;usersonly=1">View Users</a>]</li>
<li>IPs: <?=number_format($IPChanges)?> <a href="userhistory.php?action=ips&amp;userid=<?=$UserID?>" class="brackets">View</a>&nbsp;<a href="userhistory.php?action=ips&amp;userid=<?=$UserID?>&amp;usersonly=1" class="brackets">View Users</a></li>
<? if (check_perms('users_view_ips',$Class) && check_perms('users_mod',$Class)) { ?>
<li>Tracker IPs: <?=number_format($TrackerIPs)?> [<a href="userhistory.php?action=tracker_ips&amp;userid=<?=$UserID?>">View</a>]</li>
<li>Tracker IPs: <?=number_format($TrackerIPs)?> <a href="userhistory.php?action=tracker_ips&amp;userid=<?=$UserID?>" class="brackets">View</a></li>
<? } ?>
<?
}
if (check_perms('users_view_keys',$Class)) {
?>
<li>Passkeys: <?=number_format($PasskeyChanges)?> [<a href="userhistory.php?action=passkeys&amp;userid=<?=$UserID?>">View</a>]</li>
<li>Passkeys: <?=number_format($PasskeyChanges)?> <a href="userhistory.php?action=passkeys&amp;userid=<?=$UserID?>" class="brackets">View</a></li>
<?
}
if (check_perms('users_mod', $Class)) {
?>
<li>Passwords: <?=number_format($PasswordChanges)?> [<a href="userhistory.php?action=passwords&amp;userid=<?=$UserID?>">View</a>]</li>
<li>Stats: N/A [<a href="userhistory.php?action=stats&amp;userid=<?=$UserID?>">View</a>]</li>
<li>Passwords: <?=number_format($PasswordChanges)?> <a href="userhistory.php?action=passwords&amp;userid=<?=$UserID?>" class="brackets">View</a></li>
<li>Stats: N/A <a href="userhistory.php?action=stats&amp;userid=<?=$UserID?>" class="brackets">View</a></li>
<?
}
@ -414,7 +414,7 @@ function check_paranoia_here($Setting) {
<? if (check_perms('users_view_email',$Class) || $OwnProfile) { ?>
<li>Email: <a href="mailto:<?=display_str($Email)?>"><?=display_str($Email)?></a>
<? if (check_perms('users_view_email',$Class)) { ?>
[<a href="user.php?action=search&amp;email_history=on&amp;email=<?=display_str($Email)?>" title="Search">S</a>]
<a href="user.php?action=search&amp;email_history=on&amp;email=<?=display_str($Email)?>" title="Search" class="brackets">S</a>
<? } ?>
</li>
<? }
@ -428,7 +428,7 @@ function check_paranoia_here($Setting) {
if (check_perms('users_view_keys',$Class) || $OwnProfile) {
?>
<li>Passkey: [<a href="#" onclick="this.innerHTML='<?=display_str($torrent_pass)?>'; return false;">View</a>]</li>
<li>Passkey: <a href="#" onclick="this.innerHTML='<?=display_str($torrent_pass)?>'; return false;" class="brackets">View</a></li>
<? }
if (check_perms('users_view_invites')) {
if (!$InviterID) {
@ -460,14 +460,8 @@ function check_paranoia_here($Setting) {
?>
<li <?= $Override===2 || $SupportFor ? 'class="paranoia_override"' : ''?>>Clients: <?
$DB->query("SELECT DISTINCT useragent FROM xbt_files_users WHERE uid = ".$UserID);
while(list($Client) = $DB->next_record()) {
if (strlen($Clients) > 0) {
$Clients .= "; ".$Client;
} else {
$Clients = $Client;
}
}
echo $Clients;
$Clients = $DB->collect(0);
echo implode("; ", $Clients);
?></li>
<?
}
@ -605,7 +599,7 @@ function check_paranoia_here($Setting) {
<tr class="colhead">
<td colspan="5">
<span style="float:left;">
<?=display_str($CName)?> - <a href="collages.php?id=<?=$CollageID?>">see full</a>
<?=display_str($CName)?> - <a href="collages.php?id=<?=$CollageID?>" class="brackets">See full</a>
</span>
<span style="float:right;">
<a href="#" onclick="$('#collage<?=$CollageID?> .images').toggle(); this.innerHTML=(this.innerHTML=='(Hide)'?'(Show)':'(Hide)'); return false;"><?=$FirstCol?'(Hide)':'(Show)'?></a>
@ -681,7 +675,7 @@ function check_paranoia_here($Setting) {
<table cellpadding="6" cellspacing="1" border="0" class="border" width="100%">
<tr class="colhead_dark">
<td style="width:48%;">
<strong>Request Name</strong>
<strong>Request name</strong>
</td>
<td>
<strong>Vote</strong>
@ -781,8 +775,8 @@ function check_paranoia_here($Setting) {
<tr class="colhead">
<td>Subject</td>
<td>Date</td>
<td>Assigned To</td>
<td>Resolved By</td>
<td>Assigned to</td>
<td>Resolved by</td>
</tr>
<? foreach($StaffPMs as $StaffPM) {
list($ID, $Subject, $Status, $Level, $AssignedTo, $Date, $ResolverID) = $StaffPM;

View File

@ -75,7 +75,7 @@
<tr class="colhead">
<td>Email</td>
<td>Set</td>
<td>IP [<a href="userhistory.php?action=ips&amp;userid=<?=$UserID ?>">H</a>]</td>
<td>IP <a href="userhistory.php?action=ips&amp;userid=<?=$UserID ?>" class="brackets">H</a></td>
<? if ($UsersOnly == 1) {
?>
<td>User</td>
@ -94,7 +94,7 @@
<tr class="rowa">
<td><?=display_str($Values['Email'])?></td>
<td><?=time_diff($Values['Time'])?></td>
<td><?=display_str($Values['IP'])?> (<?=display_str($Values['Code'])?>) [<a href="user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($Values['IP'])?>" title="Search">S</a>]</td>
<td><?=display_str($Values['IP'])?> (<?=display_str($Values['Code'])?>) <a href="user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($Values['IP'])?>" class="brackets" title="Search">S</a></td>
<?
if ($UsersOnly == 1) {
$ueQuery = $DB->query("SELECT ue.UserID, Username, ue.Time, ue.IP FROM users_history_emails AS ue, users_main WHERE ue.Email = '".db_string($Values['Email'])."' AND UserID != ".$UserID." AND ID = UserID");

View File

@ -168,7 +168,7 @@
<td>Current email</td>
<td>Start</td>
<td>End</td>
<td>Current IP [<a href="userhistory.php?action=ips&amp;userid=<?=$UserID ?>">H</a>]</td>
<td>Current IP <a href="userhistory.php?action=ips&amp;userid=<?=$UserID ?>" class="brackets">H</a></td>
<td>Set from IP</td>
</tr>
<tr class="rowa">
@ -176,11 +176,11 @@
<td><?=time_diff($Current['StartTime'])?></td>
<td></td>
<td>
<?=display_str($Current['CurrentIP'])?> (<?=Tools::get_country_code_by_ajax($Current['CurrentIP'])?>) [<a href="user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($Current['CurrentIP'])?>" title="Search">S</a>] [<a href="http://whatismyipaddress.com/ip/<?=display_str($Current['CurrentIP'])?>" title="WIPA">WI</a>]<br />
<?=display_str($Current['CurrentIP'])?> (<?=Tools::get_country_code_by_ajax($Current['CurrentIP'])?>) <a href="user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($Current['CurrentIP'])?>" class="brackets" title="Search">S</a> <a href="http://whatismyipaddress.com/ip/<?=display_str($Current['CurrentIP'])?>" class="brackets" title="Search WIMIA.com">WI</a><br />
<?=Tools::get_host_by_ajax($Current['CurrentIP'])?>
</td>
<td>
<?=display_str($Current['IP'])?> (<?=Tools::get_country_code_by_ajax($Current['IP'])?>) [<a href="user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($Current['IP'])?>" title="Search">S</a>] [<a href="http://whatismyipaddress.com/ip/<?=display_str($Current['IP'])?>" title="WIPA">WI</a>]<br />
<?=display_str($Current['IP'])?> (<?=Tools::get_country_code_by_ajax($Current['IP'])?>) <a href="user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($Current['IP'])?>" class="brackets" title="Search">S</a> <a href="http://whatismyipaddress.com/ip/<?=display_str($Current['IP'])?>" class="brackets" title="Search WIMIA.com">WI</a><br />
<?=Tools::get_host_by_ajax($Current['IP'])?>
</td>
</tr>
@ -195,7 +195,7 @@
<td><?=time_diff($Match['EndTime'])?></td>
<td></td>
<td>
<?=display_str($Match['IP'])?> (<?=Tools::get_country_code_by_ajax($Match['IP'])?>) [<a href="user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($Match['IP'])?>" title="Search">S</a>] [<a href="http://whatismyipaddress.com/ip/<?=display_str($Match['IP'])?>" title="WIPA">WI</a>]<br />
<?=display_str($Match['IP'])?> (<?=Tools::get_country_code_by_ajax($Match['IP'])?>) <a href="user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($Match['IP'])?>" class="brackets" title="Search">S</a> <a href="http://whatismyipaddress.com/ip/<?=display_str($Match['IP'])?>" class="brackets" title="Search WIMIA.com">WI</a><br />
<?=Tools::get_host_by_ajax($Match['IP'])?>
</td>
</tr>
@ -232,7 +232,7 @@
<td><?=time_diff($Match['EndTime'])?></td>
<td></td>
<td>
<?=display_str($Match['IP'])?> (<?=Tools::get_country_code_by_ajax($Match['IP'])?>) [<a href="user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($Match['IP'])?>" title="Search">S</a>] [<a href="http://whatismyipaddress.com/ip/<?=display_str($Match['IP'])?>" title="WIPA">WI</a>]<br />
<?=display_str($Match['IP'])?> (<?=Tools::get_country_code_by_ajax($Match['IP'])?>) <a href="user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($Match['IP'])?>" class="brackets" title="Search">S</a> <a href="http://whatismyipaddress.com/ip/<?=display_str($Match['IP'])?>" class="brackets" title="Search WIMIA.com">WI</a><br />
<?=Tools::get_host_by_ajax($Match['IP'])?>
</td>
</tr>
@ -251,7 +251,7 @@
<td><?=time_diff($Record['EndTime'])?></td>
<td><?=time_diff($Record['ElapsedTime'])?></td>
<td>
<?=display_str($Record['IP'])?> (<?=Tools::get_country_code_by_ajax($Record['IP'])?>) [<a href="user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($Record['IP'])?>" title="Search">S</a>] [<a href="http://whatismyipaddress.com/ip/<?=display_str($Record['IP'])?>" title="WIPA">WI</a>]<br />
<?=display_str($Record['IP'])?> (<?=Tools::get_country_code_by_ajax($Record['IP'])?>) <a href="user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($Record['IP'])?>" class="brackets" title="Search">S</a> <a href="http://whatismyipaddress.com/ip/<?=display_str($Record['IP'])?>" class="brackets" title="Search WIMIA.com">WI</a><br />
<?=Tools::get_host_by_ajax($Record['IP'])?>
</td>
</tr>
@ -290,7 +290,7 @@
<td><?=time_diff($Match['EndTime'])?></td>
<td></td>
<td>
<?=display_str($Match['IP'])?> (<?=Tools::get_country_code_by_ajax($Match['IP'])?>) [<a href="user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($Match['IP'])?>" title="Search">S</a>] [<a href="http://whatismyipaddress.com/ip/<?=display_str($Match['IP'])?>" title="WIPA">WI</a>]<br />
<?=display_str($Match['IP'])?> (<?=Tools::get_country_code_by_ajax($Match['IP'])?>) <a href="user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($Match['IP'])?>" class="brackets" title="Search">S</a> <a href="http://whatismyipaddress.com/ip/<?=display_str($Match['IP'])?>" class="brackets" title="Search WIMIA.com">WI</a><br />
<?=Tools::get_host_by_ajax($Match['IP'])?>
</td>
</tr>
@ -308,7 +308,7 @@
<td><?=time_diff($Invite['EndTime'])?></td>
<td><?=time_diff($Invite['AccountAge'])?></td>
<td>
<?=display_str($Invite['IP'])?> (<?=Tools::get_country_code_by_ajax($Invite['IP'])?>) [<a href="user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($Invite['IP'])?>" title="Search">S</a>] [<a href="http://whatismyipaddress.com/ip/<?=display_str($Invite['IP'])?>" title="WIPA">WI</a>]<br />
<?=display_str($Invite['IP'])?> (<?=Tools::get_country_code_by_ajax($Invite['IP'])?>) <a href="user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($Invite['IP'])?>" class="brackets" title="Search">S</a> <a href="http://whatismyipaddress.com/ip/<?=display_str($Invite['IP'])?>" class="brackets" title="Search WIMIA.com">WI</a><br />
<?=Tools::get_host_by_ajax($Invite['IP'])?>
</td>
</tr>

View File

@ -131,16 +131,16 @@ function UnBan(ip, id, elemID) {
</div>
<div class="linkbox">
<? if($UsersOnly) { ?>
<a href="userhistory.php?action=ips&amp;userid=<?=$UserID?>">[View All IPs]</a>
<a href="userhistory.php?action=ips&amp;userid=<?=$UserID?>" class="brackets">View all IP addresses</a>
<? } else { ?>
<a href="userhistory.php?action=ips&amp;userid=<?=$UserID?>&amp;usersonly=1">[View IPs With Users]</a>
<a href="userhistory.php?action=ips&amp;userid=<?=$UserID?>&amp;usersonly=1" class="brackets">View IP addresses with users</a>
<? } ?>
<br />
<?=$Pages?>
</div>
<table>
<tr class="colhead">
<td>IP Search</td>
<td>IP address search</td>
</tr>
<tr><td>
@ -196,7 +196,7 @@ function UnBan(ip, id, elemID) {
<? }
else {
$IPs[$IP] = false; ?>
<a id="<?=$counter?>" href="#" onclick="Ban('<?=$IP?>', '<?=$ID?>', '<?=$counter?>'); this.onclick=null;return false;">[Ban]</a>
<a id="<?=$counter?>" href="#" onclick="Ban('<?=$IP?>', '<?=$ID?>', '<?=$counter?>'); this.onclick=null;return false;" class="brackets">Ban</a>
<? }
$counter++;
}

View File

@ -47,7 +47,7 @@ function ShowIPs(rowname) {
?>
<div class="thin">
<div class="header">
<h2>Tracker IP history for <a href="/user.php?id=<?=$UserID?>"><?=$Username?></a></h2>
<h2>Tracker IP address history for <a href="/user.php?id=<?=$UserID?>"><?=$Username?></a></h2>
</div>
<div class="linkbox"><?=$Pages?></div>
<table>
@ -63,8 +63,10 @@ function ShowIPs(rowname) {
?>
<tr class="rowa">
<td><?=$IP?> (<?=Tools::get_country_code_by_ajax($IP)?>)<br /><?=Tools::get_host_by_ajax($IP)?>
[<a href="http://whatismyipaddress.com/ip/<?=display_str($IP)?>" title="Search WIMIA.com">WI</a>]
<td>
<?=$IP?> (<?=Tools::get_country_code_by_ajax($IP)?>)<br /><?=Tools::get_host_by_ajax($IP)?>
<a href="http://whatismyipaddress.com/ip/<?=display_str($IP)?>" class="brackets" title="Search WIMIA.com">WI</a>
</td>
<td><a href="torrents.php?torrentid=<?=$TorrentID?>"><?=$TorrentID?></a></td>
<td><?=date("Y-m-d g:i:s", $Time)?></td>
</tr>

View File

@ -40,14 +40,14 @@
<td>Old</td>
<td>New</td>
<td>Changed</td>
<td>IP [<a href="/userhistory.php?action=ips&amp;userid=<?=$UserID?>">H</a>]</td>
<td>IP <a href="/userhistory.php?action=ips&amp;userid=<?=$UserID?>" class="brackets">H</a></td>
</tr>
<? while(list($OldPassKey, $NewPassKey, $ChangeTime, $ChangerIP) = $DB->next_record()){ ?>
<tr class="rowa">
<td><?=display_str($OldPassKey)?></td>
<td><?=display_str($NewPassKey)?></td>
<td><?=time_diff($ChangeTime)?></td>
<td><?=display_str($ChangerIP)?> [<a href="user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($ChangerIP)?>" title="Search">S</a>]<br /><?=display_str(Tools::get_host_by_ip($ChangerIP))?></td>
<td><?=display_str($ChangerIP)?> <a href="user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($ChangerIP)?>" class="brackets" title="Search">S</a><br /><?=display_str(Tools::get_host_by_ip($ChangerIP))?></td>
</tr>
<? } ?>
</table>

View File

@ -36,12 +36,12 @@
<table width="100%">
<tr class="colhead">
<td>Changed</td>
<td>IP [<a href="/userhistory.php?action=ips&amp;userid=<?=$UserID?>">H</a>]</td>
<td>IP <a href="/userhistory.php?action=ips&amp;userid=<?=$UserID?>" class="brackets">H</a></td>
</tr>
<? while(list($ChangeTime, $ChangerIP) = $DB->next_record()){ ?>
<tr class="rowa">
<td><?=time_diff($ChangeTime)?></td>
<td><?=display_str($ChangerIP)?> [<a href="/user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($ChangerIP)?>" title="Search">S</a>]<br /><?=Tools::get_host_by_ajax($ChangerIP)?></td>
<td><?=display_str($ChangerIP)?> <a href="/user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($ChangerIP)?>" class="brackets" title="Search">S</a><br /><?=Tools::get_host_by_ajax($ChangerIP)?></td>
</tr>
<? } ?>
</table>

View File

@ -212,24 +212,24 @@
if(!$ShowUnread){ ?>
<br /><br />
<? if($ShowGrouped) { ?>
[<a href="userhistory.php?action=posts&amp;userid=<?=$UserID?>&amp;showunread=0&amp;group=0">Show all posts</a>]&nbsp;&nbsp;&nbsp;
<a href="userhistory.php?action=posts&amp;userid=<?=$UserID?>&amp;showunread=0&amp;group=0" class="brackets">Show all posts</a>&nbsp;&nbsp;&nbsp;
<? } else { ?>
[<a href="userhistory.php?action=posts&amp;userid=<?=$UserID?>&amp;showunread=0&amp;group=1">Show all posts (grouped)</a>]&nbsp;&nbsp;&nbsp;
<a href="userhistory.php?action=posts&amp;userid=<?=$UserID?>&amp;showunread=0&amp;group=1" class="brackets">Show all posts (grouped)</a>&nbsp;&nbsp;&nbsp;
<? } ?>
[<a href="userhistory.php?action=posts&amp;userid=<?=$UserID?>&amp;showunread=1&amp;group=1">Only display posts with unread replies (grouped)</a>]&nbsp;&nbsp;&nbsp;
<a href="userhistory.php?action=posts&amp;userid=<?=$UserID?>&amp;showunread=1&amp;group=1" class="brackets">Only display posts with unread replies (grouped)</a>&nbsp;&nbsp;&nbsp;
<? } else { ?>
<br /><br />
[<a href="userhistory.php?action=posts&amp;userid=<?=$UserID?>&amp;showunread=0&amp;group=0">Show all posts</a>]&nbsp;&nbsp;&nbsp;
<a href="userhistory.php?action=posts&amp;userid=<?=$UserID?>&amp;showunread=0&amp;group=0" class="brackets">Show all posts</a>&nbsp;&nbsp;&nbsp;
<?
if(!$ShowGrouped) {
?>[<a href="userhistory.php?action=posts&amp;userid=<?=$UserID?>&amp;showunread=1&amp;group=1">Only display posts with unread replies (grouped)</a>]&nbsp;&nbsp;&nbsp;<?
?><a href="userhistory.php?action=posts&amp;userid=<?=$UserID?>&amp;showunread=1&amp;group=1" class="brackets">Only display posts with unread replies (grouped)</a>&nbsp;&nbsp;&nbsp;<?
}
else {
?>[<a href="userhistory.php?action=posts&amp;userid=<?=$UserID?>&amp;showunread=1&amp;group=0">Only display posts with unread replies</a>]&nbsp;&nbsp;&nbsp;<?
?><a href="userhistory.php?action=posts&amp;userid=<?=$UserID?>&amp;showunread=1&amp;group=0" class="brackets">Only display posts with unread replies</a>&nbsp;&nbsp;&nbsp;<?
}
}
?>
[<a href="userhistory.php?action=subscriptions">Go to subscriptions</a>]
<a href="userhistory.php?action=subscriptions" class="brackets">Go to subscriptions</a>
<?
}
?>
@ -285,7 +285,7 @@
?>
<span id="bar<?=$PostID ?>" style="float:right;">
<? 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="brackets subscribelink<?=$TopicID?>">Subscribe</a>
&nbsp;
<? } ?>
<a href="#">&uarr;</a>

View File

@ -49,12 +49,12 @@
<div class="linkbox pager">
<br />
<? if ($UnreadSQL) { ?>
[<a href="userhistory.php?action=quote_notifications&amp;showall=1">Show all quotes</a>]&nbsp;&nbsp;&nbsp;
<a href="userhistory.php?action=quote_notifications&amp;showall=1" class="brackets">Show all quotes</a>&nbsp;&nbsp;&nbsp;
<? } else { ?>
[<a href="userhistory.php?action=quote_notifications">Show unread quotes</a>]&nbsp;&nbsp;&nbsp;
<a href="userhistory.php?action=quote_notifications" class="brackets">Show unread quotes</a>&nbsp;&nbsp;&nbsp;
<? } ?>
[<a href="userhistory.php?action=subscriptions">Show subscriptions</a>]&nbsp;&nbsp;&nbsp;
[<a href="userhistory.php?action=quote_notifications&amp;catchup=1">Catch up</a>]&nbsp;&nbsp;&nbsp;
<a href="userhistory.php?action=subscriptions" class="brackets">Show subscriptions</a>&nbsp;&nbsp;&nbsp;
<a href="userhistory.php?action=quote_notifications&amp;catchup=1" class="brackets">Catch up</a>&nbsp;&nbsp;&nbsp;
<br /> <br />
<?
$Pages = Format::get_pages($Page, $NumResults, TOPICS_PER_PAGE, 9);

View File

@ -47,16 +47,16 @@
if($ShowAll) {
?>
<br /><br />
[<a href="userhistory.php?action=subscribed_collages&amp;showall=0">Only display collages with new additions</a>]&nbsp;&nbsp;&nbsp;
<a href="userhistory.php?action=subscribed_collages&amp;showall=0" class="brackets">Only display collages with new additions</a>&nbsp;&nbsp;&nbsp;
<?
} else {
?>
<br /><br />
[<a href="userhistory.php?action=subscribed_collages&amp;showall=1">Show all subscribed collages</a>]&nbsp;&nbsp;&nbsp;
<a href="userhistory.php?action=subscribed_collages&amp;showall=1" class="brackets">Show all subscribed collages</a>&nbsp;&nbsp;&nbsp;
<?
}
?>
[<a href="userhistory.php?action=catchup_collages&amp;auth=<?=$LoggedUser['AuthKey']?>">Catch up</a>]&nbsp;&nbsp;&nbsp;
<a href="userhistory.php?action=catchup_collages&amp;auth=<?=$LoggedUser['AuthKey']?>" class="brackets">Catch up</a>&nbsp;&nbsp;&nbsp;
</div>
</div>
<?
@ -285,7 +285,7 @@
<strong><a href="collage.php?id=<?=$CollageID?>"><?=$CollageName?></a></strong> (<?=$NewTorrentCount?> new torrent<?=($NewTorrentCount==1?'':'s')?>)
</span>&nbsp;
<span style="float:right;">
<a href="#" onclick="$('#discog_table_<?=$CollageID?>').toggle(); this.innerHTML=(this.innerHTML=='[Hide]'?'[Show]':'[Hide]'); return false;"><?=$ShowAll?'[Show]':'[Hide]'?></a>&nbsp;&nbsp;&nbsp;<a href="userhistory.php?action=catchup_collages&amp;auth=<?=$LoggedUser['AuthKey']?>&amp;collageid=<?=$CollageID?>">[Catch up]</a>&nbsp;&nbsp;&nbsp;<a href="#" onclick="CollageSubscribe(<?=$CollageID?>); return false;" id="subscribelink<?=$CollageID?>">[Unsubscribe]</a>
<a href="#" onclick="$('#discog_table_<?=$CollageID?>').toggle(); this.innerHTML=(this.innerHTML=='Hide'?'Show':'Hide'); return false;" class="brackets"><?=$ShowAll?'Show':'Hide'?></a>&nbsp;&nbsp;&nbsp;<a href="userhistory.php?action=catchup_collages&amp;auth=<?=$LoggedUser['AuthKey']?>&amp;collageid=<?=$CollageID?>" class="brackets">Catch up</a>&nbsp;&nbsp;&nbsp;<a href="#" onclick="CollageSubscribe(<?=$CollageID?>); return false;" id="subscribelink<?=$CollageID?>" class="brackets">Unsubscribe</a>
</span>
</td>
</tr>

View File

@ -159,7 +159,7 @@
<a href="forums.php?action=viewthread&amp;threadid=<?=$TopicID.($PostID?'&amp;postid='.$PostID.'#post'.$PostID:'')?>"></a>
</span>
<span id="bar<?=$PostID ?>" style="float:right;">
<a href="#" onclick="Subscribe(<?=$TopicID?>);return false;" id="subscribelink<?=$TopicID?>">[Unsubscribe]</a>
<a href="#" onclick="Subscribe(<?=$TopicID?>);return false;" id="subscribelink<?=$TopicID?>" class="brackets">Unsubscribe</a>
&nbsp;
<a href="#">&uarr;</a>
</span>

View File

@ -99,7 +99,7 @@
$i = 0;
foreach($AliasArray as $AliasItem){
?>
<li id="alias_<?=$AliasItem?>"><a href="wiki.php?action=article&amp;name=<?=$AliasItem?>"><?=Format::cut_string($AliasItem,20,1)?></a><? if(check_perms('admin_manage_wiki')){ ?> <a href="#" onclick="Remove_Alias('<?=$AliasItem?>');return false;" title="Delete Alias">[X]</a> <a href="user.php?id=<?=$UserArray[$i]?>" title="View User">[U]</a><? } ?></li>
<li id="alias_<?=$AliasItem?>"><a href="wiki.php?action=article&amp;name=<?=$AliasItem?>"><?=Format::cut_string($AliasItem,20,1)?></a><? if(check_perms('admin_manage_wiki')){ ?> <a href="#" onclick="Remove_Alias('<?=$AliasItem?>');return false;" class="brackets" title="Delete Alias">X</a> <a href="user.php?id=<?=$UserArray[$i]?>" class="brackets" title="View User">U</a><? } ?></li>
<? $i++;
}
}

View File

@ -1,5 +1,5 @@
<?
View::show_header('Create an article');
View::show_header('Create an article', 'jquery');
?>
<div class="thin">
<div class="box pad">
@ -17,7 +17,9 @@
<input type="text" name="alias" size="50" maxlength="50" />
<? } */?>
<h3>Body </h3>
<textarea name="body" cols="91" rows="22" style="width:95%"></textarea>
<?
$ReplyText = new TEXTAREA_PREVIEW('body', 'body', '', 91, 22, true, false);
?>
<? if(check_perms('admin_manage_wiki')){ ?>
<h3>Access</h3>
<p>There are some situations in which the viewing or editing of an article should be restricted to a certain class.</p>
@ -25,6 +27,7 @@
<strong>Restrict Edit:</strong> <select name="minclassedit"><?=class_list()?></select>
<? } ?>
<div style="text-align: center;">
<input type="button" value="Preview" class="hidden button_preview_<?=$ReplyText->getID()?>" title="Preview text" tabindex="1" />
<input type="submit" value="Submit" />
</div>
</div>

View File

@ -8,7 +8,7 @@
error('You do not have access to edit this article.');
}
View::show_header('Edit '.$Title);
View::show_header('Edit '.$Title, 'jquery');
?>
<div class="thin">
<div class="box pad">
@ -21,7 +21,9 @@
<h3>Title</h3>
<input type="text" name="title" size="92" maxlength="100" value="<?=$Title?>" />
<h3>Body </h3>
<textarea name="body" cols="91" rows="22" style="width:95%"><?=$Body?></textarea>
<?
$ReplyText = new TEXTAREA_PREVIEW('body', 'body', $Body, 91, 22, true, false);
?>
<? if(check_perms('admin_manage_wiki')){ ?>
<h3>Access</h3>
<p>There are some situations in which the viewing or editing of an article should be restricted to a certain class.</p>
@ -29,6 +31,7 @@
<strong>Restrict Edit:</strong> <select name="minclassedit"><?=class_list($Edit)?></select>
<? } ?>
<div style="text-align: center;">
<input type="button" value="Preview" class="hidden button_preview_<?=$ReplyText->getID()?>" title="Preview text" tabindex="1" />
<input type="submit" value="Submit" />
</div>
</div>

View File

@ -57,7 +57,7 @@
<div class="header">
<h2>Search articles</h2>
<div class="linkbox">
[<a href="wiki.php?action=create&amp;alias=<?=display_str($Alias->convert($_GET['search']))?>">Create an article</a>] [<a href="wiki.php?action=link&amp;alias=<?=display_str($Alias->convert($_GET['search']))?>">Link this search</a>]
<a href="wiki.php?action=create&amp;alias=<?=display_str($Alias->convert($_GET['search']))?>" class="brackets">Create an article</a> <a href="wiki.php?action=link&amp;alias=<?=display_str($Alias->convert($_GET['search']))?>" class="brackets">Link this search</a>
</div>
</div>
<div>

View File

@ -89,7 +89,7 @@ function Save_Edit(postid) {
$('#reply_box').toggle();
if (location.href.match(/forums\.php/)) {
ajax.post("forums.php?action=takeedit","form" + postid, function (response) {
$('#bar' + postid).raw().innerHTML = "<a href=\"reports.php?action=report&amp;type=post&amp;id="+postid+"\">[Report]</a>&nbsp;<a href=\"#\">&uarr;</a>";
$('#bar' + postid).raw().innerHTML = "<a href=\"reports.php?action=report&amp;type=post&amp;id="+postid+"\" class=\"brackets\">Report</a>&nbsp;<a href=\"#\">&uarr;</a>";
$('#preview' + postid).raw().innerHTML = response;
$('#editbox' + postid).hide();
$('#pmbox' + postid).hide();

View File

@ -107,7 +107,7 @@ function add_selection() {
listitem.id = 'list' + selected.value;
listitem.innerHTML = ' <input type="hidden" name="list[]" value="'+selected.value+'" /> ' +
' <span style="float:left;">'+selected.innerHTML+'</span>' +
' <a href="#" onclick="remove_selection(\''+selected.value+'\');return false;" style="float:right;">[X]</a>' +
' <a href="#" onclick="remove_selection(\''+selected.value+'\');return false;" style="float:right;" class="brackets">X</a>' +
' <br style="clear:all;" />';
$('#list').raw().appendChild(listitem);
$('#opt' + selected.value).raw().disabled = true;

View File

@ -177,14 +177,14 @@
for (i = 3; i < a.length; i++) {
sharedArtistsHtml += '<li class="hidden"><a href="artist.php?artistname=' + escapeAmpUrl(a[i]['name']) + '">' + escapeHtml(a[i]['name']) + '</a></li>'
}
sharedArtistsHtml += '<li>[<a href="#sharedartists" id="lastfm_expand" onclick="return false">Expand</a>]</li>'
sharedArtistsHtml += '<li><a href="#sharedartists" id="lastfm_expand" onclick="return false" class="brackets">Expand</a></li>'
}
sharedArtistsHtml += '</ul></li>';
sharedArtists = sharedArtistsHtml;
} else {
// Allow removing loading message regardless.
sharedArtists = " ";
sharedArtistsHtml += '<li class="lastfm_expand">[<a href="#sharedartists" id="lastfm_expand" onclick="return false">Expand</a>]</li>'
sharedArtistsHtml += '<li class="lastfm_expand"><a href="#sharedartists" id="lastfm_expand" onclick="return false" class="brackets">Expand</a></li>'
}
tasteometerHtml += "</li>";
tasteometer = tasteometerHtml;
@ -256,7 +256,7 @@
for (i = 3; i < j.length; i++) {
html += '<li class="hidden"><a href="artist.php?artistname=' + escapeAmpUrl(j[i]['name']) + '">' + escapeHtml(j[i]['name']) + '</a></li>'
}
html+= '<li>[<a href="#topartists" id="lastfm_expand" onclick="return false">Expand</a>]</li>'
html+= '<li><a href="#topartists" id="lastfm_expand" onclick="return false" class="brackets">Expand</a></li>'
}
html += '</ul>';
html += "</li>";

View File

@ -246,23 +246,23 @@ ul.thin li { margin:0px 0px; padding:0px; }
}
#searchbars ul li ul {
display: block;
position: absolute;
top: 1em;
left: 0;
z-index: 1000;
border: 1px solid #65430F;
display: block;
position: absolute;
top: 1em;
left: 0;
z-index: 1000;
border: 1px solid #65430F;
background: #DCB881;
width: 12em;
margin-top: 12px;
width: 12em;
margin-top: 12px;
}
#searchbars ul li ul li {
margin: 0 0 0 0;
padding: 0;
display: block;
width: 100%;
text-align: left;
margin: 0 0 0 0;
padding: 0;
display: block;
width: 100%;
text-align: left;
}
#searchbars ul li ul li.highlight {
@ -442,15 +442,6 @@ td, th {
.colhead {
background: #b78234 url(images/woodnavcenter.png) repeat-x;
font-weight: bold;
color: #ffffff;
}
.colhead a {
color: #ffffff;
}
.colhead a:hover {
color: #ECDABB;
}
td.colhead, .colhead td, .colhead th {
@ -803,12 +794,6 @@ ul .invitetree {
font-weight: bold;
}
.linkbox .brackets:before {
content: "[";
color: #492802;
}
.linkbox .brackets:after {
content: "]";
.brackets:before, .brackets:after {
color: #492802;
}

File diff suppressed because one or more lines are too long

View File

@ -7,10 +7,10 @@ This design incorporates some code from the 'Customize Zeal' Greasemonkey script
/* Global */
@font-face { font-family: Akzidenz; src: url('http://ssl.what.cd/static/styles/postmod/images/Akzidenz.otf'); }
@font-face { font-family: Officina; src: url('http://ssl.what.cd/static/styles/postmod/images/Officina.otf'); }
@font-face { font-family: Corpid; src: url('http://ssl.what.cd/static/styles/postmod/images/CorpidOffice.ttf'); }
@font-face { font-family: Avant; src: url('http://ssl.what.cd/static/styles/postmod/images/Avant.otf'); }
@font-face { font-family: Akzidenz; src: url('https://what.cd/static/styles/postmod/images/Akzidenz.otf'); }
@font-face { font-family: Officina; src: url('https://what.cd/static/styles/postmod/images/Officina.otf'); }
@font-face { font-family: Corpid; src: url('https://what.cd/static/styles/postmod/images/CorpidOffice.ttf'); }
@font-face { font-family: Avant; src: url('https://what.cd/static/styles/postmod/images/Avant.otf'); }
* {
padding: 0em;
@ -69,7 +69,7 @@ a[onclick]:focus {
a[onclick]:active {
outline: 0;
/* background: url(http://ssl.what.cd/static/styles/postmod/images/load.gif) 100% 4px no-repeat; */
/* background: url(https://what.cd/static/styles/postmod/images/load.gif) 100% 4px no-repeat; */
}
a[onclick^="AddArtistField"]:focus, a[onclick^="AddArtistField"]:active {
@ -78,11 +78,11 @@ a[onclick^="AddArtistField"]:focus, a[onclick^="AddArtistField"]:active {
padding: 0 !important;
}
.main_column a[href^="http"], .main_column a[href^="https"] { padding: 0 10px 0 0; background: url(http://ssl.what.cd/static/styles/postmod/images/external.png) 100% 4px no-repeat; }
.main_column a[href^="http"]:hover, .main_column a[href^="https"]:hover { padding: 0 10px 0 0; background: url(http://ssl.what.cd/static/styles/postmod/images/external.png) 100% 4px no-repeat !important; }
.forum_post a[href^="http"], .forum_post a[href^="https"] { padding: 0 10px 0 0; background: url(http://ssl.what.cd/static/styles/postmod/images/external.png) 100% 4px no-repeat; }
.forum_post a[href^="http"]:hover, .forum_post a[href^="https"]:hover { padding: 0 10px 0 0; background: url(http://ssl.what.cd/static/styles/postmod/images/external.png) 100% 4px no-repeat; }
.head a[href^="http"]:hover, .head a[href^="https"]:hover, .colhead a[href^="http"]:hover, .colhead a[href^="https"]:hover, .colhead_dark a[href^="http"]:hover, .colhead_dark a[href^="https"]:hover { padding: 0 10px 0 0; background: url(http://ssl.what.cd/static/styles/postmod/images/external.png) 100% 4px no-repeat; }
.main_column a[href^="http"], .main_column a[href^="https"] { padding: 0 10px 0 0; background: url(https://what.cd/static/styles/postmod/images/external.png) 100% 4px no-repeat; }
.main_column a[href^="http"]:hover, .main_column a[href^="https"]:hover { padding: 0 10px 0 0; background: url(https://what.cd/static/styles/postmod/images/external.png) 100% 4px no-repeat !important; }
.forum_post a[href^="http"], .forum_post a[href^="https"] { padding: 0 10px 0 0; background: url(https://what.cd/static/styles/postmod/images/external.png) 100% 4px no-repeat; }
.forum_post a[href^="http"]:hover, .forum_post a[href^="https"]:hover { padding: 0 10px 0 0; background: url(https://what.cd/static/styles/postmod/images/external.png) 100% 4px no-repeat; }
.head a[href^="http"]:hover, .head a[href^="https"]:hover, .colhead a[href^="http"]:hover, .colhead a[href^="https"]:hover, .colhead_dark a[href^="http"]:hover, .colhead_dark a[href^="https"]:hover { padding: 0 10px 0 0; background: url(https://what.cd/static/styles/postmod/images/external.png) 100% 4px no-repeat; }
.forum_post a[href^="http"] img, .forum_post a[href^="https"] img { padding: 0 0 0 0; background: transparent !important; border: none; }
.forum_post a[href^="http"] img:hover, .forum_post a[href^="https"] img:hover { padding: 0 0 0 0; background: transparent !important; border: none; }
@ -144,10 +144,10 @@ ul.thin li { margin:0px 0px; padding:0px; }
#header {
width: 950px;
margin: 0 auto 0 auto;
/*background: url('http://ssl.what.cd/static/styles/postmod/images/bg_header.png') 11px 65px no-repeat;*/
/*background: url('https://what.cd/static/styles/postmod/images/bg_header.png') 11px 65px no-repeat;*/
height: 173px;
padding: 0 0 0 0;
background: transparent url('http://ssl.what.cd/static/styles/postmod/images/content.png');
background: transparent url('https://what.cd/static/styles/postmod/images/content.png');
}
#content {
@ -155,13 +155,13 @@ ul.thin li { margin:0px 0px; padding:0px; }
margin: 0 auto 0 auto;
border: 1px solid #222;
color: #DFDFDF;
background: transparent url('http://ssl.what.cd/static/styles/postmod/images/content.png');
background: transparent url('https://what.cd/static/styles/postmod/images/content.png');
padding: 40px 22px;
overflow: hidden;
}
#alerts {
background: transparent url('http://ssl.what.cd/static/styles/postmod/images/content.png');
background: transparent url('https://what.cd/static/styles/postmod/images/content.png');
padding: 4px 9px;
margin: -19px auto 0 auto;
-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
@ -169,7 +169,7 @@ ul.thin li { margin:0px 0px; padding:0px; }
}
#footer {
background: transparent url('http://ssl.what.cd/static/styles/postmod/images/bg_footer.png');
background: transparent url('https://what.cd/static/styles/postmod/images/bg_footer.png');
margin-top: 40px;
width: 100%;
text-align: center;
@ -179,7 +179,7 @@ ul.thin li { margin:0px 0px; padding:0px; }
}
#footer:after {
content: url('http://ssl.what.cd/static/styles/postmod/images/gazelle.png');
content: url('https://what.cd/static/styles/postmod/images/gazelle.png');
}
#disclaimer_container {
@ -190,7 +190,7 @@ ul.thin li { margin:0px 0px; padding:0px; }
#logo {
width: 138px;
height: 37px;
background: url('http://ssl.what.cd/static/styles/postmod/images/woodlogo.png') no-repeat top left;
background: url('https://what.cd/static/styles/postmod/images/woodlogo.png') no-repeat top left;
margin: 23px 0 0 11px;
position: absolute;
z-index: 2;
@ -360,7 +360,7 @@ ul.thin li { margin:0px 0px; padding:0px; }
padding: 0 2px 0 10px;
font-family: Helvetica, Arial, sans-serif;
height: 22px;
background: url('http://ssl.what.cd/static/styles/postmod/images/content_light.png') transparent;
background: url('https://what.cd/static/styles/postmod/images/content_light.png') transparent;
color: #FFF;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
@ -369,14 +369,14 @@ ul.thin li { margin:0px 0px; padding:0px; }
}
#autocomplete {
background: url('http://ssl.what.cd/static/styles/postmod/images/content.png');
background: url('https://what.cd/static/styles/postmod/images/content.png');
border: 1px solid #EEE;
list-style: none;
}
#searchbars input:active,
#searchbars input:focus {
background: url('http://ssl.what.cd/static/styles/postmod/images/content.png');
background: url('https://what.cd/static/styles/postmod/images/content.png');
border: 1px solid #EEE;
}
@ -399,22 +399,22 @@ ul.thin li { margin:0px 0px; padding:0px; }
}
#searchbars ul li ul {
display: block;
position: absolute;
top: 1em;
left: 0;
z-index: 1000;
border : 1px solid #EEE;
background: url('http://ssl.what.cd/static/styles/postmod/images/content.png');
width: 12em;
margin-top: 12px;
display: block;
position: absolute;
top: 1em;
left: 0;
z-index: 1000;
border : 1px solid #EEE;
background: url('https://what.cd/static/styles/postmod/images/content.png');
width: 12em;
margin-top: 12px;
}
#searchbars ul li ul li {
margin: 1px 0 1px 4px;
padding: 0;
display: block;
width: 100%;
margin: 1px 0 1px 4px;
padding: 0;
display: block;
width: 100%;
cursor: pointer;
}
@ -460,7 +460,7 @@ table.grouping>tbody>tr.colhead>td:first-child+td+td,
table.no_grouping>tbody>tr.group>td:first-child+td,
table.no_grouping>tbody>tr.colhead>td:first-child+td { text-indent:-20px; border-left: none;}
.last_read {width: 15px; height: 15px; background: url('http://ssl.what.cd/static/styles/postmod/images/go_last_read.png') no-repeat center center; margin-left: 5px;}
.last_read {width: 15px; height: 15px; background: url('https://what.cd/static/styles/postmod/images/go_last_read.png') no-repeat center center; margin-left: 5px;}
.last_read a { border: none; width: 100%; height: 100%; display: block; }
.last_read a:hover { border: none; }
.last_read a:active, .last_read a:focus { outline: 0; }
@ -484,14 +484,6 @@ input.hidden {
color: #DFDFDF;
}
#userinfo_username .brackets:before {
content: "[";
}
#userinfo_username .brackets:after {
content: "]";
}
.linkbox {
text-align:center;
padding: 5px;
@ -616,7 +608,7 @@ td, th {
.colhead, .colhead_dark, .head {
padding: 4px;
background: #000 url('http://ssl.what.cd/static/styles/postmod/images/table_header_dark.png') repeat-x;
background: #000 url('https://what.cd/static/styles/postmod/images/table_header_dark.png') repeat-x;
border-bottom: 1px solid #000;
color: #FBFCFD;
}
@ -706,7 +698,7 @@ ul.poll li.graph {
.show_torrents {
width: 28px;
height: 28px;
background: url('http://ssl.what.cd/static/styles/postmod/images/show.png') no-repeat center center;
background: url('https://what.cd/static/styles/postmod/images/show.png') no-repeat center center;
-moz-opacity: 0.5;
opacity:.50;
filter: alpha(opacity=50);
@ -715,7 +707,7 @@ ul.poll li.graph {
.hide_torrents {
width: 28px;
height: 28px;
background: url('http://ssl.what.cd/static/styles/postmod/images/hide.png') no-repeat center center;
background: url('https://what.cd/static/styles/postmod/images/hide.png') no-repeat center center;
-moz-opacity: 0.5;
opacity:.50;
filter: alpha(opacity=50);
@ -728,7 +720,7 @@ ul.poll li.graph {
display: block;
}
.torrent_table a:active img, .torrent_table a:focus img {
.torrent_table a:active img, .torrent_table a:focus img {
background-color: transparent !important;
}
@ -794,14 +786,14 @@ tr.torrent td {
/* Layout (Forums) */
.unread_locked_sticky{background: url('http://ssl.what.cd/static/styles/postmod/images/locked_sticky_unread.png') no-repeat center center;}
.read_locked_sticky{background: url('http://ssl.what.cd/static/styles/postmod/images/locked_sticky_read.png') no-repeat center center;}
.read_sticky{background: url('http://ssl.what.cd/static/styles/postmod/images/sticky_read.png') no-repeat center center;}
.unread_sticky{background: url('http://ssl.what.cd/static/styles/postmod/images/sticky_unread.png') no-repeat center center;}
.unread_locked{background: url('http://ssl.what.cd/static/styles/postmod/images/locked_unread.png') no-repeat center center;}
.read_locked{background: url('http://ssl.what.cd/static/styles/postmod/images/locked_read.png') no-repeat center center;}
.unread{background: url('http://ssl.what.cd/static/styles/postmod/images/unread.png') no-repeat center center;}
.read{background: url('http://ssl.what.cd/static/styles/postmod/images/read.png') no-repeat center center;}
.unread_locked_sticky{background: url('https://what.cd/static/styles/postmod/images/locked_sticky_unread.png') no-repeat center center;}
.read_locked_sticky{background: url('https://what.cd/static/styles/postmod/images/locked_sticky_read.png') no-repeat center center;}
.read_sticky{background: url('https://what.cd/static/styles/postmod/images/sticky_read.png') no-repeat center center;}
.unread_sticky{background: url('https://what.cd/static/styles/postmod/images/sticky_unread.png') no-repeat center center;}
.unread_locked{background: url('https://what.cd/static/styles/postmod/images/locked_unread.png') no-repeat center center;}
.read_locked{background: url('https://what.cd/static/styles/postmod/images/locked_read.png') no-repeat center center;}
.unread{background: url('https://what.cd/static/styles/postmod/images/unread.png') no-repeat center center;}
.read{background: url('https://what.cd/static/styles/postmod/images/read.png') no-repeat center center;}
table.forum_post {
margin: 10px 0px;
@ -891,13 +883,13 @@ ul .invitetree {
/* Layout (MISC) */
.poll{list-style:none; padding:10px; margin:5px}
.poll li{clear:both}
.poll{list-style: none; padding:10px; margin:5px}
.poll li{clear: both}
.poll .graph{padding:0 0 15px 0}
.poll .graph span{display:block; height:19px; float:left}
.poll .graph .left_poll{width:9px; background:url('http://ssl.what.cd/static/styles/postmod/images/poll_left.png') top left no-repeat}
.poll .graph .center_poll{background:url('http://ssl.what.cd/static/styles/postmod/images/poll_middle.png') top left repeat-x}
.poll .graph .right_poll{width:11px; background:url('http://ssl.what.cd/static/styles/postmod/images/poll_right.png') top left no-repeat}
.poll .graph span{display: block; height: 19px; float: left}
.poll .graph .left_poll{width: 9px; background: url('https://what.cd/static/styles/postmod/images/poll_left.png') top left no-repeat}
.poll .graph .center_poll{background: url('https://what.cd/static/styles/postmod/images/poll_middle.png') top left repeat-x}
.poll .graph .right_poll{width: 11px; background: url('https://what.cd/static/styles/postmod/images/poll_right.png') top left no-repeat}
.curtain {
position: fixed;
@ -932,7 +924,7 @@ ul .invitetree {
}
input[type=button], input[type=submit] {
background: #111 url(http://ssl.what.cd/static/styles/postmod/images/alert-overlay.png) repeat-x;
background: #111 url(https://what.cd/static/styles/postmod/images/alert-overlay.png) repeat-x;
display: inline-block;
padding: 3px 6px 4px;
margin: 3px;
@ -953,7 +945,7 @@ input[type=button]:hover, input[type=submit]:hover { background-color: #000; co
input[type=button]:active , input[type=submit]:active { top: 1px; }
input[type="button"]:active, input[type="button"]:focus, input[type="submit"]:active, input[type="submit"]:focus {
/* background: #262626 url(http://ssl.what.cd/static/styles/postmod/images/load.gif) no-repeat center center; */
/* background: #262626 url(https://what.cd/static/styles/postmod/images/load.gif) no-repeat center center; */
display: inline-block;
padding: 3px 6px 4px;
margin: 3px;
@ -971,7 +963,7 @@ input[type="button"]:active, input[type="button"]:focus, input[type="submit"]:ac
}
input[type=text], input[type="password"], input[type="search"] {
background: #111 url(http://ssl.what.cd/static/styles/postmod/images/alert-overlay.png) repeat-x;
background: #111 url(https://what.cd/static/styles/postmod/images/alert-overlay.png) repeat-x;
display: inline-block;
padding: 3px;
margin: 3px;
@ -984,9 +976,9 @@ input[type=text], input[type="password"], input[type="search"] {
}
input[type=text]:hover, input[type=text]:focus, input[type="search"]:hover, input[type="search"]:focus, input[type="password"]:hover, input[type="password"]:focus { background-color: #000; color: #FFF; }
input[type=text]:active, input[type="search"]:active, input[type="password"]:active { top: 1px; }
input[type=text]:active, input[type="search"]:active, input[type="password"]:active { top: 1px; }
input[disabled=disabled] { background: #4F4F4F url(http://ssl.what.cd/static/styles/postmod/images/alert-overlay.png) repeat-x; color: #DFDFDF; }
input[disabled=disabled] { background: #4F4F4F url(https://what.cd/static/styles/postmod/images/alert-overlay.png) repeat-x; color: #DFDFDF; }
input[disabled=disabled]:hover, input[disabled=disabled]:focus, input[disabled=disabled]:active { background-color: #4F4F4F; color: #DFDFDF; }
/*
@ -1032,17 +1024,12 @@ select:hover, option:hover {
}
.rippy {
background-image:url(http://puu.sh/AmW/rippy.gif);
display: block !important;
height: 180px;
width: 180px;
}
.rippy #bubble { display: none !important; }
.linkbox .brackets:before {
content: "[";
background-image:url(http://puu.sh/AmW/rippy.gif);
display: block !important;
height: 180px;
width: 180px;
}
.linkbox .brackets:after {
content: "]";
.rippy #bubble {
display: none !important;
}

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 B

View File

@ -1 +0,0 @@
@import url('https://www.htrd.info/darkmono2/darkmono2.css');

View File

@ -1,14 +1,14 @@
.box h3 {
font-size: 140%;
font-size: 140%;
}
.box h4 {
font-size: 130%;
font-size: 130%;
}
.box h5 {
font-size: 120%;
font-size: 120%;
}
.box h6 {
font-size: 110%;
font-size: 110%;
}
pre br {
@ -261,8 +261,7 @@ span.secondary_class {
cursor: -webkit-grabbing;
}
#manage_collage_table .ui-sortable-helper td,#manage_collage_table .ui-sortable-placeholder
{
#manage_collage_table .ui-sortable-helper td, #manage_collage_table .ui-sortable-placeholder {
border: 0;
}
@ -338,39 +337,49 @@ tr.torrent .bookmark>a:after {
width: 50%;
}
.navigation_list,
.navigation_list ol {
.navigation_list, .navigation_list ol {
list-style-position: inside;
margin-top: 10px;
margin-bottom: 20px;
}
.navigation_list > li {
list-style-type: upper-roman !important;
list-style-type: upper-roman !important;
}
.navigation_list li li {
list-style-type: upper-alpha;
list-style-type: upper-alpha;
}
.navigation_list li li li {
list-style-type: decimal;
list-style-type: decimal;
}
.navigation_list li li li li {
list-style-type: lower-alpha;
list-style-type: lower-alpha;
}
.voted_type { font-weight: bold; }
.voted_type {
font-weight: bold;
}
.torrent_table .group .votes_info_td strong { font-size: inherit; }
.torrent_table .group .votes_info_td strong {
font-size: inherit;
}
.text_preview { min-height: 100px }
.text_preview {
min-height: 100px
}
#lastfm_compatibilitybar_container {
width: 100%;
height: 5px;
background: #969696
width: 100%;
height: 5px;
background: #969696;
}
#lastfm_compatibilitybar {
height: 100%;
height: 100%;
}
.votespan.brackets:before {
@ -380,3 +389,15 @@ tr.torrent .bookmark>a:after {
.votespan.brackets:after {
content: " )";
}
.brackets:before {
content: "[";
}
.brackets:after {
content: "]";
}
#userinfo .brackets:before, #userinfo .brackets:after {
content: "";
}

View File

@ -1413,11 +1413,3 @@ body#forums .poll li.graph {
.navigation_list li {
margin-left: 20px;
}
.linkbox .brackets:before {
content: "[";
}
.linkbox .brackets:after {
content: "]";
}

View File

@ -772,11 +772,3 @@ ul .invitetree {
font-size: 1.25em;
font-weight: bold;
}
.linkbox .brackets:before {
content: "[";
}
.linkbox .brackets:after {
content: "]";
}

View File

@ -341,20 +341,20 @@ ul.thin li {
}
#searchbars ul li ul {
display: block;
position: absolute;
top: 1em;
left: 0;
z-index: 1000;
width: 12em;
margin-top: 12px;
display: block;
position: absolute;
top: 1em;
left: 0;
z-index: 1000;
width: 12em;
margin-top: 12px;
}
#searchbars ul li ul li {
margin: 0
padding: 0;
display: block;
width: 100%;
margin: 0
padding: 0;
display: block;
width: 100%;
background: #303030;
}
@ -441,22 +441,12 @@ input.hidden {
margin: 0px auto;
}
#userinfo_username .brackets:before {
content: "[";
}
#userinfo_username .brackets:after {
content: "]";
}
#userinfo_major .brackets:before {
font-weight: bold;
content: "[";
}
#userinfo_major .brackets:after {
font-weight: bold;
content: "]";
}
div.linkbox {
@ -898,11 +888,9 @@ tr.torrent .bookmark > a:before { color:#999; }
tr.torrent .bookmark > a:after { color:#999; }
.linkbox .brackets:before {
content: "[";
color: #999;
}
.linkbox .brackets:after {
content: "]";
color: #999;
}

View File

@ -332,22 +332,12 @@ input.hidden {
margin: 0px auto;
}
#userinfo_username .brackets:before {
content: "[";
}
#userinfo_username .brackets:after {
content: "]";
}
#userinfo_major .brackets:before {
font-weight: bold;
content: "[";
}
#userinfo_major .brackets:after {
font-weight: bold;
content: "]";
}
div.linkbox {
@ -788,11 +778,3 @@ tr.torrent .bookmark > a:before {
tr.torrent .bookmark > a:after {
color: black;
}
.linkbox .brackets:before {
content: "[";
}
.linkbox .brackets:after {
content: "]";
}

View File

@ -309,22 +309,12 @@ input.hidden {
margin: 0px auto;
}
#userinfo_username .brackets:before {
content: "[";
}
#userinfo_username .brackets:after {
content: "]";
}
#userinfo_major .brackets:before {
font-weight: bold;
content: "[";
}
#userinfo_major .brackets:after {
font-weight: bold;
content: "]";
}
div.linkbox {
@ -746,11 +736,3 @@ ul .invitetree {
z-index:1002;
overflow: auto;
}
.linkbox .brackets:before {
content: "[";
}
.linkbox .brackets:after {
content: "]";
}

View File

@ -1,45 +1,47 @@
pre, blockquote {
color: #444;
}
.log1 {
color: purple;
}
.log2 {
color: yellow;
}
color: purple;
}
.log3 {
color: blue;
}
.log2 {
color: yellow;
}
.log4 {
font-weight: bold;
}
.log3 {
color: blue;
}
.log5 {
text-decoration: underline;
}
.log4 {
font-weight: bold;
}
.good {
font-weight: bold;
color: green;
}
.log5 {
text-decoration: underline;
}
.bad {
font-weight: bold;
color: red;
}
.good {
font-weight: bold;
color: green;
}
.goodish {
font-weight: bold;
color: #35BF00;
}
.bad {
font-weight: bold;
color: red;
}
.badish {
font-weight: bold;
color: #E5B244;
}
.goodish {
font-weight: bold;
color: #35BF00;
}
pre {
overflow: auto;
}
.badish {
font-weight: bold;
color: #E5B244;
}
pre {
overflow: auto;
}

View File

@ -133,32 +133,30 @@ textarea#quickpost{margin:0; padding:0}
#searchbars form{display:inline}
#searchbars ul li ul {
display: block;
position: absolute;
top: 1em;
left: 0;
z-index: 1000;
background: #262626 url(https://what.cd/static/styles/minimal/images/bg.png) repeat-x 0 -3px;
border: 1px solid #757575;
margin-top: 12px;
white-space: nowrap;
overflow: hidden;
display: block;
position: absolute;
top: 1em;
left: 0;
z-index: 1000;
background: #262626 url(https://what.cd/static/styles/minimal/images/bg.png) repeat-x 0 -3px;
border: 1px solid #757575;
margin-top: 12px;
white-space: nowrap;
overflow: hidden;
}
#searchbars ul li ul li {
margin: 0 0 0 0;
padding: 3px;
display: block;
margin: 0 0 0 0;
padding: 3px;
display: block;
}
#searchbars ul li ul li.highlight {
background-position: 0px -771px;
background-repeat: repeat-x;
color: white;
background-position: 0px -771px;
background-repeat: repeat-x;
color: white;
}
/* TABLE BORDERS */
table tr td{border:1px solid #757575}
#user table tr td{border:0}
@ -166,7 +164,7 @@ table tr td{border:1px solid #757575}
/* content */
#content{z-index:0; padding:0; margin:0; position:relative}
#content h2:first-child{border-bottom:1px solid #ACBFA9;}
#content .box h2{background:none; margin:0; padding:0; position:static; border-bottom:0}
#content .box h2{background:none; margin:0; padding:0; position:static; border-bottom:0}
#content table{padding:0; border-collapse:collapse; width:100%}
#content table td, #content table th{padding:5px}
#content table td h4{margin:0}
@ -188,9 +186,9 @@ table tr td{border:1px solid #757575}
#wiki .linkbox{background-color:transparent; margin-bottom:0}
/* FRIENDS */
#friends table{width:60%; margin:0 auto}
#friends textarea{height:42px; width:270px !important; margin:0}
#friends .left{width:50%; text-align:right}
#friends table{width:60%; margin:0 auto}
#friends textarea{height:42px; width:270px !important; margin:0}
#friends .left{width:50%; text-align:right}
#friends br,
#footer br{display:none}
@ -210,7 +208,7 @@ table tr td{border:1px solid #757575}
#requests table.border{margin-bottom:8px}
/* STAFF */
#staff .thin .box{padding-top:3px !important}
#staff .thin .box{padding-top:3px !important}
/* UPLOAD */
#upload #post{font-size:175%; margin-top:10px}
@ -226,7 +224,7 @@ table tr.colhead_dark td{background:#555; border:0}
#forums h3{margin:15px 0}
#forums h3:first-child{margin:0 0 15px 0}
#forums table.border .cat_list{width:80%}
#forums table.border .cat_list td{width:20%; padding:0 !important; border:0 !important}
#forums table.border .cat_list td{width:20%; padding:0 !important; border:0 !important}
.forum_unread .colhead_dark{background-color:#e3f1f9 !important; /*border:2px solid #a8d3ec !important; */}
#forums table.forum_unread tr.colhead_dark td{background:#3A638C url(images/unread.png) no-repeat 91% 50%}
@ -263,9 +261,9 @@ strong.quoteheader {color: #f1f1f1;}
#forums .forum_post,
#userhistory .forum_post,
#collage .forum_post,
#torrents .forum_post{border:0; margin:0}
#torrents .forum_post{border:0; margin:0}
.avatar{border:0 !important; padding:1px 1px 1px 0; background-color:#161616 !important; width:150px}
.avatar{border:0 !important; padding:1px 1px 1px 0; background-color:#161616 !important; width:150px}
#comments .avatar{width:150px}
#requests .forum_post .body{border:0}
@ -279,7 +277,7 @@ strong.quoteheader {color: #f1f1f1;}
#forums .forum_post td,
#userhistory .forum_post td,
#collage .forum_post td,
#torrents .forum_post td{border-left:0; border-right:0}
#torrents .forum_post td{border-left:0; border-right:0}
#forums .forum_post .body div,
#collage .forum_post .body div,
@ -291,11 +289,11 @@ strong.quoteheader {color: #f1f1f1;}
#forums .forum_post .body div div,
#collage .forum_post .body div div,
#torrents .forum_post .body div div{background:none; padding:0}
#torrents .forum_post .body div div{background:none; padding:0}
#forums .forum_post ul{margin:5px 0 0 0; padding:0}
#forums .forum_post li{margin:0 0 0 20px; padding:0}
#forums #content .thin .box form .box input[type="Text"]{font-size:20px; width:500px}
#forums #content .thin .box form .box input[type="Text"]{font-size:20px; width:500px}
#forums #content form .box{width:510px; margin:0 auto; padding:1ex; text-align:left; background-color:#404040}
/* TORRENTS */
@ -317,7 +315,7 @@ strong.quoteheader {color: #f1f1f1;}
.torrent a{font-weight:bold}
.linkbox{text-align:center; padding:0 0 8px; margin-top: 8px;}
.linkbox a{padding:0 3px}
.show_torrents_link{border:none; width:28px; height:28px; display:block}
.show_torrents_link{border:none; width:28px; height:28px; display:block}
.show_torrents{background-repeat:no-repeat; background-position:0 -1093px; width:30px; height:30px}
.hide_torrents{background-repeat:no-repeat; background-position:0 -1033px; width:30px; height:30px}
.group{font-weight:bold}
@ -332,15 +330,15 @@ strong.quoteheader {color: #f1f1f1;}
#torrent_table tr.colhead td{font-weight:bold}
#torrent_table .group_torrent td{background-color:#333}
.torrent_table .group_torrent td{background-color:#333}
.torrent_table .pad td{padding:20px !important; border:1px solid #ACBFA9 !important}
.torrent_table .pad td td{border-left:0 !important; border-right:0 !important; background:none; padding:5px !important}
.torrent_table .pad td{padding:20px !important; border:1px solid #ACBFA9 !important}
.torrent_table .pad td td{border-left:0 !important; border-right:0 !important; background:none; padding:5px !important}
.torrent_table tr.group_torrent td span, #torrent_table tr.group_torrent td span{padding-left:18px}
.torrent_table tr.group_torrent a, #torrent_table tr.group_torrent a{color:#999; font-weight:normal}
.torrent_table tr.group_torrent a:hover, #torrent_table tr.group_torrent a:hover{color:#007dc6}
#torrents #content .center .box form div input[type="text"],
#wiki #content .center .box form div input[type="text"],
#artist #content .center .box form div input[type="text"]{width:500px; margin-bottom:10px}
#artist #content .center .box form div input[type="text"]{width:500px; margin-bottom:10px}
#torrents #content .center .box form div textarea,
#wiki #content .center .box form div textarea,
@ -360,7 +358,7 @@ strong.quoteheader {color: #f1f1f1;}
.main_column{width:700px}
.sidebar{float:right; width:250px}
.main_column table{margin:0 0 20px 0}
.box table{margin:0; background-color:#FFF}
.box table{margin:0; background-color:#FFF}
#discog_table, #collage_table{margin-top:1px}
.sidebar form br,
@ -370,13 +368,13 @@ strong.quoteheader {color: #f1f1f1;}
.sidebar .box .body{/*ADD TAG ON ALBUM PAGE */ padding:10px}
.sidebar .box .stats{list-style:none; margin:0; padding:10px}
.sidebar ol{padding:0 !important; margin:0; list-style-position:inside}
.sidebar ul{list-style-type:none; margin:0}
.sidebar ol{padding:0 !important; margin:0; list-style-position:inside}
.sidebar ul{list-style-type:none; margin:0}
.sidebar .box li{margin:0 0 2px 0}
.sidebar form textarea{width:220px !important}
.sidebar form input{margin:0}
.sidebar .box .pad div{padding:0 !important}
.sidebar form{padding:0 !important; margin:0 !important}
.sidebar form{padding:0 !important; margin:0 !important}
#recommended ul{margin:0 0 0 0; padding:10px}
#discog_table .center{background-image:none}
@ -391,14 +389,14 @@ strong.quoteheader {color: #f1f1f1;}
.main_column .group td{ border:0 !important}
#discog_table div.tags{padding-left:15px}
/* POLLS */
/* POLLS */
.poll{list-style:none; padding:10px; margin:5px}
.poll li{clear:both}
.poll .graph{padding:0 0 15px 0}
.poll .graph span{display:block; height:19px; float:left}
.poll .graph .left_poll{width:9px; background:url(images/poll_left.png) top left no-repeat}
.poll .graph span{display:block; height:19px; float:left}
.poll .graph .left_poll{width:9px; background:url(images/poll_left.png) top left no-repeat}
.poll .graph .center_poll{background:url(images/poll_middle.png) top left repeat-x}
.poll .graph .right_poll{width:11px; background:url(images/poll_right.png) top left no-repeat}
.poll .graph .right_poll{width:11px; background:url(images/poll_right.png) top left no-repeat}
/* MISC */
.r00{color:#F00}
@ -428,7 +426,7 @@ strong.quoteheader {color: #f1f1f1;}
.curtain{position:fixed; top:0%; left:0%; width:100%; height:100%; background-color:black; z-index:1001; opacity:0.8; filter:alpha(opacity=80)}
.lightbox{position:fixed; text-align:center; top:5%; left:5%; width:90%; height:90%; padding:0px; z-index:1002; overflow:auto}
.lightbox table{position:absolute; top:50%; left:50%; margin-left:-300px !important; background-color:#e6e6e6; border:5px solid #f6f6f6; padding:5px}
.lightbox table{position:absolute; top:50%; left:50%; margin-left:-300px !important; background-color:#e6e6e6; border:5px solid #f6f6f6; padding:5px}
.lightbox form{color:#aaa}
.lightbox table *{text-align:left}
.lightbox .colhead span{font-weight:bold}
@ -436,7 +434,7 @@ strong.quoteheader {color: #f1f1f1;}
.nobullet{list-style:none; margin:0; padding:10px}
/* CLEARFIXES */
#menu ul:after, ul#userinfo_minor:after, div.sidebar:after, #content:after, #footer:after{content:"."; display:block; height:0; clear:both; visibility:hidden}
#menu ul:after, ul#userinfo_minor:after, div.sidebar:after, #content:after, #footer:after{content:"."; display:block; height:0; clear:both; visibility:hidden}
div.sidebar, #content, #footer{display:inline-block}
/* Hides from IE-mac \*/
@ -446,7 +444,7 @@ div.sidebar, #content, #footer{display:block}
/* COLLAGES + User profile page */
ul.collage_images {
margin: 0 2px 3px !important;
margin: 0 2px 3px !important;
}
ul.collage_images img {
@ -455,7 +453,7 @@ ul.collage_images img {
}
ul.collage_images li a {
height: 139px !important;
height: 139px !important;
}
ul.collage_images li {
@ -465,20 +463,20 @@ ul.collage_images li {
}
ul.collage_images li a:hover {
position: relative;
overflow: visible !important;
position: relative;
overflow: visible !important;
}
ul.collage_images li a:hover img {
position: absolute;
margin: -80px;
z-index: 4;
width: 300px !important;
height: 300px !important;
position: absolute;
margin: -80px;
z-index: 4;
width: 300px !important;
height: 300px !important;
}
ul.collage_images {
width: 695px !important;
width: 695px !important;
}
#user .recent td { text-align: center; }
@ -543,16 +541,15 @@ tr.torrent .bookmark > a:before { content:""; }
tr.torrent .bookmark > a:after { content:""; }
.sidebar .navigation_list li {
margin-left: 20px;
margin-left: 20px;
}
.linkbox .brackets:before {
content: "[ ";
color: #F1F1F1;
content: "[ ";
color: #757575;
}
.linkbox .brackets:after {
content: " ]";
color: #F1F1F1;
content: " ]";
color: #757575;
}

View File

@ -130,22 +130,22 @@ textarea#quickpost{margin:0; padding:0}
#searchbars ul li{display:inline; margin-right:10px;list-style:none;position:relative}
#searchbars form{display:inline}
#searchbars ul li ul {
display: block;
position: absolute;
top: 1em;
left: 0;
z-index: 1000;
border : 1px solid #000;
width: 12em;
margin-top: 12px;
display: block;
position: absolute;
top: 1em;
left: 0;
z-index: 1000;
border : 1px solid #000;
width: 12em;
margin-top: 12px;
}
#searchbars ul li ul li {
margin: 0 0 0 0;
padding: 0;
display: block;
width: 100%;
text-align: center;
margin: 0 0 0 0;
padding: 0;
display: block;
width: 100%;
text-align: center;
}
/* TABLE BORDERS */
table tr td{border:1px solid #757575}
@ -154,7 +154,7 @@ table tr td{border:1px solid #757575}
/* content */
#content{z-index:0; padding:0; margin:0; position:relative}
#content h2:first-child{border-bottom:1px solid #ACBFA9;}
#content .box h2{background:none; margin:0; padding:0; position:static; border-bottom:0}
#content .box h2{background:none; margin:0; padding:0; position:static; border-bottom:0}
#content table{padding:0; border-collapse:collapse; width:100%}
#content table td{padding:5px}
#content table td h4{margin:0}
@ -176,9 +176,9 @@ table tr td{border:1px solid #757575}
#wiki .linkbox{background-color:transparent; margin-bottom:0}
/* FRIENDS */
#friends table{width:60%; margin:0 auto}
#friends textarea{height:42px; width:270px !important; margin:0}
#friends .left{width:50%; text-align:right}
#friends table{width:60%; margin:0 auto}
#friends textarea{height:42px; width:270px !important; margin:0}
#friends .left{width:50%; text-align:right}
#friends br,
#footer br{display:none}
@ -198,7 +198,7 @@ table tr td{border:1px solid #757575}
#requests table.border{margin-bottom:8px}
/* STAFF */
#staff .thin .box{padding-top:3px !important}
#staff .thin .box{padding-top:3px !important}
/* UPLOAD */
#upload #post{font-size:175%; margin-top:10px}
@ -214,7 +214,7 @@ table tr.colhead_dark td{background:#555; border:0}
#forums h3{margin:15px 0}
#forums h3:first-child{margin:0 0 15px 0}
#forums table.border .cat_list{width:80%}
#forums table.border .cat_list td{width:20%; padding:0 !important; border:0 !important}
#forums table.border .cat_list td{width:20%; padding:0 !important; border:0 !important}
.forum_unread .colhead_dark{background-color:#e3f1f9 !important; /*border:2px solid #a8d3ec !important; */}
#forums table.forum_unread tr.colhead_dark td{background: #3A638C}
@ -250,9 +250,9 @@ table tr.colhead_dark td{background:#555; border:0}
#forums .forum_post,
#userhistory .forum_post,
#collage .forum_post,
#torrents .forum_post{border:0; margin:0}
#torrents .forum_post{border:0; margin:0}
.avatar{border:0 !important; padding:1px 1px 1px 0; background-color:#161616 !important; width:150px}
.avatar{border:0 !important; padding:1px 1px 1px 0; background-color:#161616 !important; width:150px}
#comments .avatar{width:150px}
#requests .forum_post .body{border:0}
@ -266,7 +266,7 @@ table tr.colhead_dark td{background:#555; border:0}
#forums .forum_post td,
#userhistory .forum_post td,
#collage .forum_post td,
#torrents .forum_post td{border-left:0; border-right:0}
#torrents .forum_post td{border-left:0; border-right:0}
#forums .forum_post .body div,
#collage .forum_post .body div,
@ -278,11 +278,11 @@ table tr.colhead_dark td{background:#555; border:0}
#forums .forum_post .body div div,
#collage .forum_post .body div div,
#torrents .forum_post .body div div{background:none; padding:0}
#torrents .forum_post .body div div{background:none; padding:0}
#forums .forum_post ul{margin:5px 0 0 0; padding:0}
#forums .forum_post li{margin:0 0 0 20px; padding:0}
#forums #content .thin .box form .box input[type="Text"]{font-size:20px; width:500px}
#forums #content .thin .box form .box input[type="Text"]{font-size:20px; width:500px}
#forums #content form .box{width:510px; margin:0 auto; padding:1ex; text-align:left; background-color:#404040}
/* TORRENTS */
@ -304,7 +304,7 @@ table tr.colhead_dark td{background:#555; border:0}
.torrent a{font-weight:bold}
.linkbox{text-align:center; padding:0 0 8px; margin-top: 8px;}
.linkbox a{padding:0 3px}
.show_torrents_link{border:none; width:28px; height:28px; display:block}
.show_torrents_link{border:none; width:28px; height:28px; display:block}
.show_torrents{background-repeat:no-repeat; background-position:0 -1093px; width:30px; height:30px}
.hide_torrents{background-repeat:no-repeat; background-position:0 -1033px; width:30px; height:30px}
.group{font-weight:bold}
@ -319,15 +319,15 @@ table tr.colhead_dark td{background:#555; border:0}
#torrent_table tr.colhead td{font-weight:bold}
#torrent_table .group_torrent td{background-color:#333}
.torrent_table .group_torrent td{background-color:#333}
.torrent_table .pad td{padding:20px !important; border:1px solid #ACBFA9 !important}
.torrent_table .pad td td{border-left:0 !important; border-right:0 !important; background:none; padding:5px !important}
.torrent_table .pad td{padding:20px !important; border:1px solid #ACBFA9 !important}
.torrent_table .pad td td{border-left:0 !important; border-right:0 !important; background:none; padding:5px !important}
.torrent_table tr.group_torrent td span, #torrent_table tr.group_torrent td span{padding-left:18px}
.torrent_table tr.group_torrent a, #torrent_table tr.group_torrent a{color:#999; font-weight:normal}
.torrent_table tr.group_torrent a:hover, #torrent_table tr.group_torrent a:hover{color:#007dc6}
#torrents #content .center .box form div input[type="text"],
#wiki #content .center .box form div input[type="text"],
#artist #content .center .box form div input[type="text"]{width:500px; margin-bottom:10px}
#artist #content .center .box form div input[type="text"]{width:500px; margin-bottom:10px}
#torrents #content .center .box form div textarea,
#wiki #content .center .box form div textarea,
@ -347,7 +347,7 @@ table tr.colhead_dark td{background:#555; border:0}
.main_column{width:700px}
.sidebar{float:right; width:250px}
.main_column table{margin:0 0 20px 0}
.box table{margin:0; background-color:#FFF}
.box table{margin:0; background-color:#FFF}
#discog_table, #collage_table{margin-top:1px}
.sidebar form br,
@ -357,13 +357,13 @@ table tr.colhead_dark td{background:#555; border:0}
.sidebar .box .body{/*ADD TAG ON ALBUM PAGE */ padding:10px}
.sidebar .box .stats{list-style:none; margin:0; padding:10px}
.sidebar ol{padding:0 !important; margin:0; list-style-position:inside}
.sidebar ul{list-style-type:none; margin:0}
.sidebar ol{padding:0 !important; margin:0; list-style-position:inside}
.sidebar ul{list-style-type:none; margin:0}
.sidebar .box li{margin:0 0 2px 0}
.sidebar form textarea{width:220px !important}
.sidebar form input{margin:0}
.sidebar .box .pad div{padding:0 !important}
.sidebar form{padding:0 !important; margin:0 !important}
.sidebar form{padding:0 !important; margin:0 !important}
#recommended ul{margin:0 0 0 0; padding:10px}
#discog_table .center{background-image:none}
@ -378,14 +378,14 @@ table tr.colhead_dark td{background:#555; border:0}
.main_column .group td{ border:0 !important}
#discog_table div.tags{padding-left:15px}
/* POLLS */
/* POLLS */
.poll{list-style:none; padding:10px; margin:5px}
.poll li{clear:both}
.poll .graph{padding:0 0 15px 0}
.poll .graph span{display:block; height:19px; float:left}
.poll .graph #left_poll{width:9px; background:url(https://what.cd/static/styles/minimal/images/poll_left.png) top left no-repeat}
.poll .graph span{display:block; height:19px; float:left}
.poll .graph #left_poll{width:9px; background:url(https://what.cd/static/styles/minimal/images/poll_left.png) top left no-repeat}
.poll .graph #center_poll{background:url(https://what.cd/static/styles/minimal/images/poll_middle.png) top left repeat-x}
.poll .graph #right_poll{width:11px; background:url(https://what.cd/static/styles/minimal/images/poll_right.png) top left no-repeat}
.poll .graph #right_poll{width:11px; background:url(https://what.cd/static/styles/minimal/images/poll_right.png) top left no-repeat}
/* MISC */
.r00{color:#F00}
@ -415,7 +415,7 @@ table tr.colhead_dark td{background:#555; border:0}
.curtain{position:fixed; top:0%; left:0%; width:100%; height:100%; background-color:black; z-index:1001; opacity:0.8; filter:alpha(opacity=80)}
.lightbox{position:fixed; text-align:center; top:5%; left:5%; width:90%; height:90%; padding:0px; z-index:1002; overflow:auto}
.lightbox table{position:absolute; top:50%; left:50%; margin-left:-300px !important; background-color:#e6e6e6; border:5px solid #f6f6f6; padding:5px}
.lightbox table{position:absolute; top:50%; left:50%; margin-left:-300px !important; background-color:#e6e6e6; border:5px solid #f6f6f6; padding:5px}
.lightbox form{color:#aaa}
.lightbox table *{text-align:left}
.lightbox .colhead span{font-weight:bold}
@ -423,7 +423,7 @@ table tr.colhead_dark td{background:#555; border:0}
.nobullet{list-style:none; margin:0; padding:10px}
/* CLEARFIXES */
#menu ul:after, ul#userinfo_minor:after, div.sidebar:after, #content:after, #footer:after{content:"."; display:block; height:0; clear:both; visibility:hidden}
#menu ul:after, ul#userinfo_minor:after, div.sidebar:after, #content:after, #footer:after{content:"."; display:block; height:0; clear:both; visibility:hidden}
div.sidebar, #content, #footer{display:inline-block}
/* Hides from IE-mac \*/
@ -432,9 +432,9 @@ div.sidebar, #content, #footer{display:block}
/* End hide from IE-mac */
/* COLLAGES + User profile page */
#collage_table td{padding:0 !important; border:0 !important; width:140px !important; height:140px !important}
#collage_table td img{width:140px !important; height:140px !important; float:left}
#collage_table td img:hover{width:300px !important; height:300px !important; float:left; margin:-80px; z-index:100}
#collage_table td{padding:0 !important; border:0 !important; width:140px !important; height:140px !important}
#collage_table td img{width:140px !important; height:140px !important; float:left}
#collage_table td img:hover{width:300px !important; height:300px !important; float:left; margin:-80px; z-index:100}
#user .main_column td img{width:130px !important; height:130px !important}
#user .main_column td img:hover{width:280px !important; height:280px !important; margin:-75px; z-index:100}
#collage_table{width:645px}
@ -467,11 +467,11 @@ h3{margin:10px 0}
.cats_comics{width:30px; height:30px; background:url(https://what.cd/static/styles/minimal/images/icons/comics.png) top left no-repeat}
.linkbox .brackets:before {
content: "[ ";
color: #F1F1F1;
content: "[ ";
color: #757575;
}
.linkbox .brackets:after {
content: " ]";
color: #F1F1F1;
content: " ]";
color: #757575;
}

File diff suppressed because one or more lines are too long

View File

@ -443,7 +443,7 @@ textarea {
#menu ul li:last-child {
margin-right: 0;
padding-right: none;
border-right: none;
border-right: none;
}
#content {
@ -476,12 +476,12 @@ ul.collage_images li {
}
ul.collage_images li a {
height: 135px !important;
height: 135px !important;
width: 135px !important;
}
ul.collage_images li a img {
height: 135px !important;
height: 135px !important;
width: 135px !important;
}
@ -491,11 +491,11 @@ ul.collage_images li a:hover {
}
ul.collage_images li a:hover img {
position: absolute;
margin: -80px;
z-index: 4;
width: 300px !important;
height: 300px !important;
position: absolute;
margin: -80px;
z-index: 4;
width: 300px !important;
height: 300px !important;
}
#collages,#personal_collages,#collage_table,.forum_index,.torrent_table,.forum_post.box,.recent,table.border,.torrent_table.grouping,#userhistory table {
@ -835,7 +835,7 @@ table.forum_post td.body > div { /* Narrow main column (torrent comments, reques
}
strong.quoteheader{
color: #626262;
color: #626262;
}
.forum_post blockquote, #inbox div.body>blockquote {
@ -942,7 +942,7 @@ div.thin form.search_form table td.label,.filter_torrents table td:first-child {
position: absolute;
left: 120px;
font-size: 12pt;
color: #444;
color: #444;
line-height: 24pt;
}
@ -1147,16 +1147,16 @@ li.graph .center_poll {
}
#manage_collage_table input[type="text"] {
width: 40px;
width: 40px;
}
td {
td {
border: 1px solid #BBB;
padding: 5px;
text-align: left;
}
td.colhead {
td.colhead {
margin: -11px;
margin-bottom: 10px;
padding: 8px !important;
@ -1304,12 +1304,10 @@ form.manage_form[name=friends] .left input[type=submit] {
margin-right: 10px;
}
.linkbox .brackets:before {
content: "[";
.linkbox .brackets:before, .linkbox .brackets:after {
color: #444;
}
.linkbox .brackets:after {
content: "]";
color: #444;
#userinfo .brackets:before, #userinfo .brackets:after {
content: "";
}

View File

@ -46,11 +46,3 @@
font-weight: 700;
display: block;
}
.linkbox .brackets:before {
content: "[";
}
.linkbox .brackets:after {
content: "]";
}

View File

@ -399,22 +399,22 @@ ul.thin li { margin:0px 0px; padding:0px; }
}
#searchbars ul li ul {
display: block;
position: absolute;
top: 1em;
left: 0;
z-index: 1000;
border : 1px solid #EEE;
background: url('images/content.png');
width: 12em;
margin-top: 12px;
display: block;
position: absolute;
top: 1em;
left: 0;
z-index: 1000;
border : 1px solid #EEE;
background: url('images/content.png');
width: 12em;
margin-top: 12px;
}
#searchbars ul li ul li {
margin: 1px 0 1px 4px;
padding: 0;
display: block;
width: 100%;
margin: 1px 0 1px 4px;
padding: 0;
display: block;
width: 100%;
cursor: pointer;
}
@ -484,22 +484,12 @@ input.hidden {
color: #DFDFDF;
}
#userinfo_username .brackets:before {
content: "[";
}
#userinfo_username .brackets:after {
content: "]";
}
.linkbox {
text-align:center;
padding: 5px;
color: #FCFCFC;
}
.center {
text-align: center;
}
@ -728,7 +718,7 @@ ul.poll li.graph {
display: block;
}
.torrent_table a:active img, .torrent_table a:focus img {
.torrent_table a:active img, .torrent_table a:focus img {
background-color: transparent !important;
}
@ -831,7 +821,7 @@ table.forum_post td.body {
}
strong.quoteheader{
color:#444;
color:#444;
}
blockquote {
@ -906,10 +896,10 @@ ul .invitetree {
.poll{list-style:none; padding:10px; margin:5px}
.poll li{clear:both}
.poll .graph{padding:0 0 15px 0}
.poll .graph span{display:block; height:19px; float:left}
.poll .graph .left_poll{width:9px; background:url('images/poll_left.png') top left no-repeat}
.poll .graph span{display:block; height:19px; float:left}
.poll .graph .left_poll{width:9px; background:url('images/poll_left.png') top left no-repeat}
.poll .graph .center_poll{background:url('images/poll_middle.png') top left repeat-x}
.poll .graph .right_poll{width:11px; background:url('images/poll_right.png') top left no-repeat}
.poll .graph .right_poll{width:11px; background:url('images/poll_right.png') top left no-repeat}
.curtain {
position: fixed;
@ -996,7 +986,7 @@ input[type=text], input[type="password"], input[type="search"] {
}
input[type=text]:hover, input[type=text]:focus, input[type="search"]:hover, input[type="search"]:focus, input[type="password"]:hover, input[type="password"]:focus { background-color: #000; color: #FFF; }
input[type=text]:active, input[type="search"]:active, input[type="password"]:active { top: 1px; }
input[type=text]:active, input[type="search"]:active, input[type="password"]:active { top: 1px; }
input[disabled=disabled] { background: #4F4F4F url(images/alert-overlay.png) repeat-x; color: #DFDFDF; }
input[disabled=disabled]:hover, input[disabled=disabled]:focus, input[disabled=disabled]:active { background-color: #4F4F4F; color: #DFDFDF; }
@ -1048,22 +1038,16 @@ ul, ol{
}
tr.torrent .bookmark > a:before {
color:#646054;
color:#646054;
}
tr.torrent .bookmark > a:after {
color:#646054;
color:#646054;
}
#requests .forum_post textarea { /* overriding the inline 80-character monospace */
max-width: 409px;
}
.linkbox .brackets:before {
content: "[";
color: #FCFCFC;
}
.linkbox .brackets:after {
content: "]";
.linkbox .brackets:before, .linkbox .brackets:after {
color: #FCFCFC;
}

File diff suppressed because it is too large Load Diff

View File

@ -85,16 +85,16 @@ input[type="text"]:invalid, input[type="password"]:invalid {
}
#logo ul {
float: left;
left: 50%;
margin: 0 auto;
position: relative;
float: left;
left: 50%;
margin: 0 auto;
position: relative;
}
#logo ul li {
float: left;
position: relative;
right: 50%;
float: left;
position: relative;
right: 50%;
margin: 0 1em 0 0;
list-style: none;
}
@ -117,11 +117,3 @@ input[type="text"]:invalid, input[type="password"]:invalid {
color: red;
font-weight: bold;
}
.linkbox .brackets:before {
content: "[";
}
.linkbox .brackets:after {
content: "]";
}

View File

@ -405,22 +405,12 @@ input.hidden {
margin: 0px auto;
}
#userinfo_username .brackets:before {
content: "[";
}
#userinfo_username .brackets:after {
content: "]";
}
#userinfo_major .brackets:before {
font-weight: bold;
content: "[";
}
#userinfo_major .brackets:after {
font-weight: bold;
content: "]";
}
div.linkbox {
@ -862,11 +852,3 @@ form tr {
font-size: 1.25em;
font-weight: bold;
}
.linkbox .brackets:before {
content: "[";
}
.linkbox .brackets:after {
content: "]";
}

View File

@ -438,24 +438,20 @@ input.hidden {
#userinfo_username .brackets:before {
color: #FE448B;
content: "[";
}
#userinfo_username .brackets:after {
color: #FE448B;
content: "]";
}
#userinfo_major .brackets:before {
color: #FE448B;
font-weight: bold;
content: "[";
}
#userinfo_major .brackets:after {
color: #FE448B;
font-weight: bold;
content: "]";
}
div.linkbox {
@ -894,11 +890,3 @@ form tr {
font-size: 1.25em;
font-weight: bold;
}
.linkbox .brackets:before {
content: "[";
}
.linkbox .brackets:after {
content: "]";
}

View File

@ -34,12 +34,6 @@ tr.torrent .bookmark > a:after { content:""; }
margin-left: 20px;
}
.linkbox .brackets:before {
content: "[";
color: #666;
}
.linkbox .brackets:after {
content: "]";
.linkbox .brackets:before, .linkbox .brackets:after {
color: #666;
}

View File

@ -758,11 +758,9 @@ tr.torrent .bookmark > a:after { content:""; }
}
.linkbox .brackets:before {
content: "[";
color: #666;
}
.linkbox .brackets:after {
content: "]";
color: #666;
}