Empty commit

This commit is contained in:
Git 2012-05-04 08:00:14 +00:00
parent 3fef0a5870
commit 347ce0ba87
5 changed files with 14 additions and 8 deletions

View File

@ -43,7 +43,7 @@
<div class="head colhead_dark"><strong>Featured Album</strong></div>
<div class="center pad"><?=display_artists($Artists, true, true)?><a href="torrents.php?id=<?=$FeaturedAlbum['GroupID']?>"><?=$FeaturedAlbum['Name']?></a></div>
<div class="center"><a href="torrents.php?id=<?=$FeaturedAlbum['GroupID']?>" title="<?=display_artists($Artists, false, false)?> - <?=$FeaturedAlbum['Name']?>"><img src="<?=$FeaturedAlbum['WikiImage']?>" alt="<?=display_artists($Artists, false, false)?> - <?=$FeaturedAlbum['Name']?>" width="100%" /></a></div>
<div class="center pad"><a href="forums.php?action=viewthread&amp;threadid=<?=$FeaturedAlbum['ThreadID']?>"><em>Read the interview with the band, discuss here</em></a></div>
<div class="center pad"><a href="forums.php?action=viewthread&amp;threadid=<?=$FeaturedAlbum['ThreadID']?>"><em>Read the interview with the artist, discuss here</em></a></div>
</div>
<?
}

View File

@ -32,9 +32,10 @@
"request" => array(
"title" => "Request",
"guidelines" => array(
"The report request option is for reporting a request which breaks any of the rules found here.",
"The report request option is for reporting a request which breaks any of the rules found <a href=\"rules.php?p=requests\">here</a>.",
"We encourage all users to use this feature whenever possible. This will get quicker action than PMing a staff member will.",
"In your report description below, please be specific and include as much information as possible that will help our staff resolve the issue.",
"In your report description below, please be specific and include as much information as possible that will help our staff resolve the issue. Links to reliable, external sources of information are extremely useful when resolving reports. Examples of such sources include the artist's official web site, Discogs, and MusicBrainz.",
"<strong>Do not report requests simply because they are unfillable.</strong> Requests for currently unfillable releases are allowed because the request may become fillable in the future. An example of such a scenario would be an iTunes-only release of a given album \"X\" that could have a physical CD, vinyl, etc. release at some future date. The probability of such a physical release is not relevant.",
"<strong>If you are reporting this request to get it updated to the new requests system, please go back and click '[Request Update]'</strong>."
)
),

View File

@ -109,7 +109,12 @@
<? if($CategoryID != 0) { ?>
<div class="box box_albumart">
<div class="head"><strong>Cover</strong></div>
<? if (!empty($Image)) { ?>
<?
if (!empty($Image)) {
if(check_perms('site_proxy_images')) {
$Image = 'http'.($SSL?'s':'').'://'.SITE_URL.'/image.php?i='.urlencode($Image);
}
?>
<p align="center"><img style="max-width: 220px;" src="<?=$Image?>" alt="<?=$FullName?>" onclick="lightbox.init(this,220);" /></p>
<? } else { ?>
<p align="center"><img src="<?=STATIC_SERVER?>common/noartwork/<?=$CategoryIcons[$CategoryID-1]?>" alt="<?=$CategoryName?>" title="<?=$CategoryName?>" width="220" height="220" border="0" /></p>

View File

@ -128,7 +128,7 @@
$FormatNameArray = array();
foreach($FormatArray as $Index => $MasterIndex) {
if(array_key_exists($Index, $Formats)) {
$FormatNameArray[$Index] = $Formats[$MasterIndex];
$FormatNameArray[$Index] = '"'.strtr($Formats[$MasterIndex], '-.', ' ').'"';
} else {
//Hax
error(0);
@ -145,7 +145,7 @@
$MediaNameArray = array();
foreach($MediaArray as $Index => $MasterIndex) {
if(array_key_exists($Index, $Media)) {
$MediaNameArray[$Index] = $Media[$MasterIndex];
$MediaNameArray[$Index] = '"'.strtr($Media[$MasterIndex], '-.', ' ').'"';
} else {
//Hax
error(0);
@ -162,7 +162,7 @@
$BitrateNameArray = array();
foreach($BitrateArray as $Index => $MasterIndex) {
if(array_key_exists($Index, $Bitrates)) {
$BitrateNameArray[$Index] = $SS->EscapeString($Bitrates[$MasterIndex]);
$BitrateNameArray[$Index] = '"'.strtr($SS->EscapeString($Bitrates[$MasterIndex]), '-.', ' ').'"';
} else {
//Hax
error(0);

View File

@ -233,7 +233,7 @@ function header_link($SortKey,$DefaultWay="desc") {
}
}
if(!empty($_GET['encoding'])) {
$Queries[]='@encoding "'.$SS->EscapeString($_GET['encoding']).'"'; // Note the quotes, for 24bit lossless
$Queries[]='@encoding "'.$SS->EscapeString(strtr($_GET['encoding'], '.', ' ')).'"'; // Conversion from period to space is necessary due to a sphinx limitation/bug
}
if(isset($_GET['haslog']) && $_GET['haslog']!=='') {