Empty commit

This commit is contained in:
Git 2012-04-04 08:00:25 +00:00
parent 8f04071913
commit 4fdb6431a7
3 changed files with 6 additions and 6 deletions

View File

@ -1200,10 +1200,10 @@ function format_username($UserID, $Badges = false, $IsWarned = true, $IsEnabled
} }
if ($Title) { if ($Title) {
// Image proxy CTs // Image proxy CTs
if(check_perms('site_proxy_images') && !empty($UserTitle)) { if(check_perms('site_proxy_images') && !empty($UserInfo['Title'])) {
$UserTitle = preg_replace_callback('~src=("?)(http.+?)(["\s>])~', function($Matches) { $UserInfo['Title'] = preg_replace_callback('~src=("?)(http.+?)(["\s>])~', function($Matches) {
return 'src='.$Matches[1].'http'.($SSL?'s':'').'://'.SITE_URL.'/image.php?c=1&i='.urlencode($Matches[2]).$Matches[3]; return 'src='.$Matches[1].'http'.($SSL?'s':'').'://'.SITE_URL.'/image.php?c=1&i='.urlencode($Matches[2]).$Matches[3];
}, $UserTitle); }, $UserInfo['Title']);
} }
$str.='</strong>'; $str.='</strong>';

View File

@ -278,7 +278,7 @@ function check_paranoia_here($Setting) {
'collagesContrib' => $NumCollageContribs == null ? null : (int) $NumCollageContribs, 'collagesContrib' => $NumCollageContribs == null ? null : (int) $NumCollageContribs,
'requestsFilled' => $RequestsFilled == null ? null : (int) $RequestsFilled, 'requestsFilled' => $RequestsFilled == null ? null : (int) $RequestsFilled,
'requestsVoted' => $RequestsVoted == null ? null : (int) $RequestsVoted, 'requestsVoted' => $RequestsVoted == null ? null : (int) $RequestsVoted,
'perfectFlacs' => $PerfectFLACs == null ? null : (int) $PerfectFlacs, 'perfectFlacs' => $PerfectFLACs == null ? null : (int) $PerfectFLACs,
'uploaded' => $Uploads == null ? null : (int) $Uploads, 'uploaded' => $Uploads == null ? null : (int) $Uploads,
'groups' => $UniqueGroups == null ? null : (int) $UniqueGroups, 'groups' => $UniqueGroups == null ? null : (int) $UniqueGroups,
'seeding' => $Seeding == null ? null : (int) $Seeding, 'seeding' => $Seeding == null ? null : (int) $Seeding,

View File

@ -238,7 +238,7 @@ function compare($X, $Y){
} }
} }
if (!empty($Artists[3]) && count($Artists[3]) > 0) { if (!empty($Artists[3]) && count($Artists[3]) > 0) {
print ' <li class="artists_remix"><strong>Remixed By:</strong></li>'; print ' <li class="artists_remix"><strong>Remixed by:</strong></li>';
foreach($Artists[3] as $Artist) { foreach($Artists[3] as $Artist) {
?> ?>
<li class="artists_remix"> <li class="artists_remix">
@ -258,7 +258,7 @@ function compare($X, $Y){
} }
} }
if (!empty($Artists[7]) && count($Artists[7]) > 0) { if (!empty($Artists[7]) && count($Artists[7]) > 0) {
print ' <li class="artists_producer"><strong>Produced By:</strong></li>'; print ' <li class="artists_producer"><strong>Produced by:</strong></li>';
foreach($Artists[7] as $Artist) { foreach($Artists[7] as $Artist) {
?> ?>
<li class="artists_producer"> <li class="artists_producer">