mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-02-22 21:29:08 +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);
|
$extension = pathinfo($url, PATHINFO_EXTENSION);
|
||||||
$path = preg_replace('/\.[^.]*$/', '', $url);
|
$path = preg_replace('/\.[^.]*$/', '', $url);
|
||||||
$last = $path[strlen($path)-1];
|
$last = $path[strlen($path)-1];
|
||||||
|
if($last == 'm' || $last == 's' || $last == 'b') {
|
||||||
if($last == 'm' || $last == 'l' || $last == 's' || $last == 'b') {
|
|
||||||
$path = substr($path, 0, -1);
|
$path = substr($path, 0, -1);
|
||||||
}
|
}
|
||||||
return $path . "." . $extension;
|
return $path . "." . $extension;
|
||||||
|
@ -21,6 +21,7 @@ class TEXT {
|
|||||||
':whatlove:' => 'ilu.gif',
|
':whatlove:' => 'ilu.gif',
|
||||||
':lol:' => 'laughing.gif',
|
':lol:' => 'laughing.gif',
|
||||||
':loveflac:' => 'loveflac.gif',
|
':loveflac:' => 'loveflac.gif',
|
||||||
|
':flaclove:' => 'loveflac.gif',
|
||||||
':ninja:' => 'ninja.gif',
|
':ninja:' => 'ninja.gif',
|
||||||
':no:' => 'no.gif',
|
':no:' => 'no.gif',
|
||||||
':nod:' => 'nod.gif',
|
':nod:' => 'nod.gif',
|
||||||
|
@ -408,6 +408,7 @@ function show() {
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</select>
|
</select>
|
||||||
|
<b id="format_warning" style="color:red"></b>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -25,6 +25,15 @@ function Format() {
|
|||||||
$('#bitrate').raw()[0].selected = true;
|
$('#bitrate').raw()[0].selected = true;
|
||||||
$('#upload_logs').hide();
|
$('#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() {
|
function Bitrate() {
|
||||||
|
Loading…
Reference in New Issue
Block a user