Empty commit

This commit is contained in:
Git 2012-02-17 08:00:18 +00:00
parent 094278d6b1
commit a8aaa81350
4 changed files with 41 additions and 29 deletions

View File

@ -644,6 +644,12 @@ function audiobook_form() {
<input type="text" id="tags" name="tags" size="60" value="<?=display_str($Torrent['TagList']) ?>" />
</td>
</tr>
<tr>
<td class="label">Image (optional)</td>
<td>
<input type="text" id="image" name="image" size="60" value="<?=display_str($Torrent['Image']) ?>" <?=$this->Disabled?>/>
</td>
</tr>
<tr>
<td class="label">Description</td>
<td>
@ -671,30 +677,35 @@ function simple_form($CategoryID) {
$Torrent = $this->Torrent;
?> <table cellpadding="3" cellspacing="1" border="0" class="border slice" width="100%">
<tr id="name">
<? if ($this->NewTorrent) {
if ($this->Categories[$CategoryID] == 'E-Books') { ?>
<td class="label">Author - Title</td>
<? } else { ?>
<td class="label">Title</td>
<? }
?>
<? if ($this->NewTorrent) {
if ($this->Categories[$CategoryID] == 'E-Books') { ?>
<td class="label">Author - Title</td>
<? } else { ?>
<td class="label">Title</td>
<? } ?>
<td>
<input type="text" id="title" name="title" size="60" value="<?=display_str($Torrent['Title']) ?>" />
</td>
</tr>
<tr>
<td class="label">Tags</td>
<td>
<input type="text" id="tags" name="tags" size="60" value="<?=display_str($Torrent['TagList']) ?>" />
</td>
</tr>
<tr>
<td class="label">Description</td>
<td>
<textarea name="desc" id="desc" cols="60" rows="8"><?=display_str($Torrent['GroupDescription']); ?></textarea>
</td>
</tr>
<? } ?>
</tr>
<tr>
<td class="label">Tags</td>
<td>
<input type="text" id="tags" name="tags" size="60" value="<?=display_str($Torrent['TagList']) ?>" />
</td>
</tr>
<tr>
<td class="label">Image (optional)</td>
<td>
<input type="text" id="image" name="image" size="60" value="<?=display_str($Torrent['Image']) ?>" <?=$this->Disabled?>/>
</td>
</tr>
<tr>
<td class="label">Description</td>
<td>
<textarea name="desc" id="desc" cols="60" rows="8"><?=display_str($Torrent['GroupDescription']); ?></textarea>
</td>
</tr>
<? } ?>
</table>
<? }//function simple_form

View File

@ -360,16 +360,13 @@ function header_link($SortKey,$DefaultWay="desc") {
if (!empty($ExtendedArtists[1]) || !empty($ExtendedArtists[4]) || !empty($ExtendedArtists[5]) || !empty($ExtendedArtists[6])) {
unset($ExtendedArtists[2]);
unset($ExtendedArtists[3]);
$DisplayName = display_artists($ExtendedArtists, false, false);
$DisplayName = display_artists($ExtendedArtists, false, false, true);
} elseif(!empty($Artists)) {
$DisplayName = display_artists(array(1=>$Artists), false, false);
$DisplayName = display_artists(array(1=>$Artists), false, false, true);
} else {
$DisplayName='';
}
$DisplayName.='<a href="torrents.php?id='.$GroupID.'" title="View Torrent" dir="ltr">'.$GroupName.'</a>';
if($GroupYear>0) { $DisplayName.=" [".$GroupYear."]"; }
if($GroupVanityHouse) { $DisplayName .= ' [<abbr title="This is a vanity house release">VH</abbr>]'; }
$DisplayName .= ' ['.$ReleaseTypes[$ReleaseType].']';
$LastRemasterYear = '-';
$LastRemasterTitle = '';
$LastRemasterRecordLabel = '';

View File

@ -498,7 +498,7 @@
'upload' => '0',
'warn' => '0',
'delete' => '0',
'pm' => 'The [url=http://'.NONSSL_SITE_URL.'/rules.php?p=upload#r2.3.10]Uploading Rules[/url] require all uploads to have proper file names. Your torrent has been marked as eligible for trumping, which is now visible to all interested users, who may trump your torrent at any time. [b]You can avoid a 1-week warning by fixing this torrent yourself![/b] It\'s easy, and only takes a few minutes: Fix the required file names and upload a new torrent to the site. Then, report (RP) the bad torrent for the reason "Bad File Names Trump", indicate in the report comments that you have fixed the file names, and provide a link (PL) to the new torrent'
'pm' => 'Reason: The [url=http://'.NONSSL_SITE_URL.'/rules.php?p=upload#r2.3.10]Uploading Rules[/url] require all uploads to have proper file names. Your torrent has been marked as eligible for trumping, which is now visible to all interested users, who may trump your torrent at any time. You are encouraged to fix this torrent yourself. It\'s easy, and only takes a few minutes: Fix the required file names and upload a new torrent to the site. Then, report (RP) the bad torrent for the reason "Bad File Names Trump," indicate in the report comments that you have fixed the file names, and provide a link (PL) to the new torrent'
)
),
'cassette' => array(

View File

@ -205,6 +205,8 @@
$Validate->SetFields('release_desc',
'0','string','The release description has a minimum length of 10 characters.',array('maxlength'=>1000000, 'minlength'=>10));
$Validate->SetFields('image',
'0','link','The image URL you entered was invalid.',array('maxlength'=>255, 'minlength'=>12));
break;
case 'Applications':
@ -219,7 +221,9 @@
$Validate->SetFields('release_desc',
'0','string','The release description has a minimum length of 10 characters.',array('maxlength'=>1000000, 'minlength'=>10));
$Validate->SetFields('image',
'0','link','The image URL you entered was invalid.',array('maxlength'=>255, 'minlength'=>12));
break;
}