mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-02-21 20:59:02 +00:00
Empty commit
This commit is contained in:
parent
ce6be7185e
commit
ac922a526a
@ -60,8 +60,7 @@ function cleanImgurUrl($url) {
|
||||
$extension = pathinfo($url, PATHINFO_EXTENSION);
|
||||
$path = preg_replace('/\.[^.]*$/', '', $url);
|
||||
$last = $path[strlen($path)-1];
|
||||
|
||||
if($last == 'm' || $last == 'l' || $last == 's' || $last == 'b') {
|
||||
if($last == 'm' || $last == 's' || $last == 'b') {
|
||||
$path = substr($path, 0, -1);
|
||||
}
|
||||
return $path . "." . $extension;
|
||||
|
@ -20,7 +20,8 @@ class TEXT {
|
||||
//':\\' => 'hmm.gif',
|
||||
':whatlove:' => 'ilu.gif',
|
||||
':lol:' => 'laughing.gif',
|
||||
':loveflac:' => 'loveflac.gif',
|
||||
':loveflac:' => 'loveflac.gif',
|
||||
':flaclove:' => 'loveflac.gif',
|
||||
':ninja:' => 'ninja.gif',
|
||||
':no:' => 'no.gif',
|
||||
':nod:' => 'nod.gif',
|
||||
|
@ -408,6 +408,7 @@ function show() {
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<b id="format_warning" style="color:red"></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -25,6 +25,15 @@ function Format() {
|
||||
$('#bitrate').raw()[0].selected = true;
|
||||
$('#upload_logs').hide();
|
||||
}
|
||||
|
||||
if($('#format').raw().options[$('#format').raw().selectedIndex].value == 'AAC') {
|
||||
$('#format_warning').raw().innerHTML = 'Lossy AAC torrents may only be uploaded when they represent exclusive content not currently available in any other format. <a href="rules.php?p=upload#r2.1.24">(2.1.24)</a>';
|
||||
}
|
||||
else {
|
||||
$('#format_warning').raw().innerHTML = '';
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
function Bitrate() {
|
||||
|
Loading…
Reference in New Issue
Block a user