Empty commit

This commit is contained in:
Git 2012-12-23 08:00:46 +00:00
parent 215be56aa6
commit 3f7cc78b6c
6 changed files with 10 additions and 8 deletions

View File

@ -837,6 +837,7 @@ 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>
</div>
@ -914,6 +915,7 @@ function require(file, callback) {
<? } // if $NumSimilar>0 ?>
<div class="box">
<div id="info" class="head">
<a href="#">&uarr;</a>&nbsp;
<strong>Artist info</strong>
<a href="#" onclick="$('#body').toggle(); return false;">[Toggle]</a>
</div>

View File

@ -307,7 +307,7 @@ function next_hour() {
$Message = 'You have downloaded more then 10 GiB while on Ratio Watch. Your leeching privileges have been disabled. Please reread the rules and refer to this guide on how to improve your ratio https://what.cd/wiki.php?action=article&amp;id=110';
foreach($UserIDs as $UserID) {
Misc::send_pm($UserID,0,db_string($Subject),db_string($Message));
send_irc("PRIVMSG #reports : !leechdisabled Downloaded 10 GB+ on Ratio Watch. https://".SSL_SITE_URL."/user.php?id=$UserID");
send_irc("PRIVMSG #reports : !leechdisabled Downloaded 10 GB+ on Ratio Watch. https://".NONSSL_SITE_URL."/user.php?id=$UserID");
}
$DB->query("UPDATE users_info AS i JOIN users_main AS m ON m.ID=i.UserID

View File

@ -453,7 +453,7 @@ function generate_torrent_table($Caption, $Tag, $Details, $Limit) {
if($Scene) { $ExtraInfo.=$AddExtra.'Scene'; $AddExtra=' / '; }
if($Year>0) { $ExtraInfo.=$AddExtra.$Year; $AddExtra=' '; }
if($RemasterTitle) { $ExtraInfo.=$AddExtra.$RemasterTitle; }
if($IsSnatched) { $ExtraInfo.=' / <strong class="snatched_torrent_label">Snatched!</strong>'; }
if($IsSnatched) { if($GroupCategoryID == 1) { $ExtraInfo .= ' / '; } $ExtraInfo.='<strong class="snatched_torrent_label">Snatched!</strong>'; }
if($ExtraInfo!='') {
$ExtraInfo = "- [$ExtraInfo]";
}

View File

@ -670,7 +670,7 @@ function filelist($Str) {
?>
<table class="collage_table" id="collages">
<tr class="colhead">
<td width="85%">This album is in <?=count($Collages)?> collage<?=((count($Collages)>1)?'s':'')?><?=$SeeAll?></td>
<td width="85%"><a href="#">&uarr;</a>&nbsp;This album is in <?=count($Collages)?> collage<?=((count($Collages)>1)?'s':'')?><?=$SeeAll?></td>
<td># torrents</td>
</tr>
<? foreach ($Indices as $i) {
@ -715,7 +715,7 @@ function filelist($Str) {
?>
<table class="collage_table" id="personal_collages">
<tr class="colhead">
<td width="85%">This album is in <?=count($PersonalCollages)?> personal collage<?=((count($PersonalCollages)>1)?'s':'')?><?=$SeeAll?></td>
<td width="85%"><a href="#">&uarr;</a>&nbsp;This album is in <?=count($PersonalCollages)?> personal collage<?=((count($PersonalCollages)>1)?'s':'')?><?=$SeeAll?></td>
<td># torrents</td>
</tr>
<? foreach ($Indices as $i) {
@ -742,7 +742,7 @@ function filelist($Str) {
include(SERVER_ROOT.'/sections/torrents/voter_picks.php');
?>
<div class="box">
<div class="head"><strong><?=(!empty($ReleaseType) ? $ReleaseTypes[$ReleaseType].' info' : 'Info' )?></strong></div>
<div class="head"><a href="#">&uarr;</a>&nbsp;<strong><?=(!empty($ReleaseType) ? $ReleaseTypes[$ReleaseType].' info' : 'Info' )?></strong></div>
<div class="body"><? if ($WikiBody!="") { echo $WikiBody; } else { echo "There is no information on this torrent."; } ?></div>
</div>
<?

View File

@ -34,7 +34,7 @@
?>
<table class="vote_matches_table" id="vote_matches">
<tr class="colhead">
<td>People who like this album also liked... <a href="#" onclick="$('.votes_rows').toggle(); return false;">(Show)</a></td>
<td><a href="#">&uarr;</a>&nbsp;People who like this album also liked... <a href="#" onclick="$('.votes_rows').toggle(); return false;">(Show)</a></td>
</tr>
<?
$Top10Groups = array_keys($Top10);

View File

@ -630,8 +630,8 @@
}
// Use this section to control freeleeches
$T['FreeLeech'] = 0;
$T['FreeLeechType'] = 0;
$T['FreeLeech'] = 1;
$T['FreeLeechType'] = 1;
// Torrent
$DB->query("