mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-02-20 20:29:03 +00:00
Empty commit
This commit is contained in:
parent
d3fa17b905
commit
88d8e565f0
@ -470,13 +470,14 @@ function show() {
|
||||
</tr>
|
||||
<?
|
||||
} ?>
|
||||
<? if($this->NewTorrent) { ?>
|
||||
<tr>
|
||||
<td class="label">Multi Format Uploader</td>
|
||||
<td><input type="button" value="+" id="add_format" /><input type="button" style="display: none" value="-" id="remove_format" /></td>
|
||||
</tr>
|
||||
<tr id="placeholder_row_top"></tr>
|
||||
<tr id="placeholder_row_bottom"></tr>
|
||||
<? if (check_perms('torrents_edit_vanityhouse') && $this->NewTorrent) { ?>
|
||||
<? } if (check_perms('torrents_edit_vanityhouse') && $this->NewTorrent) { ?>
|
||||
<tr>
|
||||
<td class="label">Vanity House:</td>
|
||||
<td>
|
||||
@ -502,17 +503,6 @@ function show() {
|
||||
<span id="cassette_true" class="hidden"><span class="important_text">Do NOT upload a cassette rip without first getting approval from a moderator!</span></span>
|
||||
</td>
|
||||
</tr>
|
||||
<?
|
||||
if($this->NewTorrent) { ?>
|
||||
<tr id="upload_logs" class="hidden">
|
||||
<td class="label">Log Files:</td>
|
||||
<td id="logfields">
|
||||
Check your log files here before uploading: <a href="logchecker.php" target="_blank">logchecker.php</a><br />
|
||||
<input id="file" type="file" name="logfiles[]" size="50" /> [<a href="javascript:;" onclick="AddLogField();">+</a>] [<a href="javascript:;" onclick="RemoveLogField();">-</a>]
|
||||
</td>
|
||||
</tr>
|
||||
<?
|
||||
} ?>
|
||||
<? if(!$this->NewTorrent && check_perms('users_mod')) { ?>
|
||||
<tr>
|
||||
<td class="label">Log/Cue:</td>
|
||||
|
@ -213,7 +213,7 @@
|
||||
<? if($Status != "Resolved") { ?>
|
||||
<tr>
|
||||
<td class="center" colspan="2">
|
||||
<input type="submit" name="submit" value="Resolved" />
|
||||
<input type="submit" name="submit" value="Resolve" />
|
||||
</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
@ -1,65 +0,0 @@
|
||||
<?php
|
||||
if (!check_perms('users_view_invites')) { error(403);
|
||||
}
|
||||
|
||||
View::show_header('Fishy Invites');
|
||||
|
||||
|
||||
if (isset($_POST['newcountry'])) {
|
||||
$country = mysql_escape_string(strtoupper($_POST['country']));
|
||||
$DB -> query("INSERT INTO country_invites (Country) VALUES ('$country')");
|
||||
|
||||
}
|
||||
|
||||
if (isset($_POST['changecountry'])) {
|
||||
$id = $_POST['id'];
|
||||
$country = mysql_escape_string(strtoupper($_POST['country']));
|
||||
|
||||
if ($_POST['save']) {
|
||||
$DB -> query("UPDATE country_invites SET Country = '$country' WHERE ID = '$id'");
|
||||
}
|
||||
if ($_POST['delete']) {
|
||||
$DB -> query("DELETE FROM country_invites WHERE ID = '$id'");
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="header">
|
||||
<h2>IRC highlight on (fishy) invites sent to countries</h2>
|
||||
</div>
|
||||
<table width="100%">
|
||||
<tr class="colhead">
|
||||
<td>Country</td>
|
||||
<td>Submit</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<form class="add_form" name="countries" method="post">
|
||||
<input type="hidden" name="newcountry" value="1" />
|
||||
<td>
|
||||
<input type="text" name="country" />
|
||||
</td>
|
||||
<td>
|
||||
<input type="submit" value="Add Country" />
|
||||
</td>
|
||||
</form>
|
||||
</tr>
|
||||
<?
|
||||
$DB->query("SELECT ID, Country FROM country_invites ORDER BY Country");
|
||||
while (list($ID, $Country) = $DB->next_record()) {
|
||||
?>
|
||||
<tr>
|
||||
<form class="manage_form" name="countries" method="post">
|
||||
<input type="hidden" name="changecountry" value="1" />
|
||||
<input type="hidden" name="id" value="<?=$ID?>" />
|
||||
<td>
|
||||
<input type="text" name="country" value="<?=$Country?>" />
|
||||
</td>
|
||||
<td>
|
||||
<input type="submit" name="save" value="Save Country" />
|
||||
<input type="submit" name="delete" value="Delete Country" />
|
||||
</td>
|
||||
</form>
|
||||
</tr>
|
||||
<? }?>
|
||||
</table>
|
||||
<? View::show_footer(); ?>
|
@ -31,5 +31,32 @@
|
||||
Torrents::write_group_log($GroupID, $ExtraTorrentID, $LoggedUser['ID'], "uploaded (" . number_format($ExtraTorrent['TotalSize'] / (1024 * 1024), 2) . " MB)", 0);
|
||||
|
||||
Torrents::update_hash($GroupID);
|
||||
|
||||
//IRC
|
||||
$Announce = "";
|
||||
$Announce .= Artists::display_artists($ArtistForm, false);
|
||||
$Announce .= trim($Properties['Title']) . " ";
|
||||
$Announce .= '[' . trim($Properties['Year']) . ']';
|
||||
if (($Properties['ReleaseType'] > 0)) {
|
||||
$Announce .= ' [' . $ReleaseTypes[$Properties['ReleaseType']] . ']';
|
||||
}
|
||||
$Announce .= " - ";
|
||||
$Announce .= trim($ExtraTorrent['Format']) . " / " . trim($ExtraTorrent['Bitrate']);
|
||||
$Announce .= " / " . trim($Properties['Media']);
|
||||
if ($T['FreeLeech'] == "1") {
|
||||
$Announce .= " / Freeleech!";
|
||||
}
|
||||
$Title = $Announce;
|
||||
|
||||
$AnnounceSSL = $Announce . " - https://" . SSL_SITE_URL . "/torrents.php?id=$GroupID / https://" . SSL_SITE_URL . "/torrents.php?action=download&id=$TorrentID";
|
||||
$Announce .= " - https://" . SSL_SITE_URL . "/torrents.php?id=$GroupID / https://" . SSL_SITE_URL . "/torrents.php?action=download&id=$TorrentID";
|
||||
|
||||
$AnnounceSSL .= " - " . trim($Properties['TagList']);
|
||||
$Announce .= " - " . trim($Properties['TagList']);
|
||||
|
||||
send_irc('PRIVMSG #' . NONSSL_SITE_URL . '-announce :' . html_entity_decode($Announce));
|
||||
send_irc('PRIVMSG #' . NONSSL_SITE_URL . '-announce-ssl :' . $AnnounceSSL);
|
||||
//send_irc('PRIVMSG #'.NONSSL_SITE_URL.'-announce :'.html_entity_decode($Announce));
|
||||
|
||||
}
|
||||
?>
|
131
static/functions/jquery-ui.js
vendored
131
static/functions/jquery-ui.js
vendored
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
(function ($) {
|
||||
var count = 1;
|
||||
var MAX_EXTRAS = 5;
|
||||
var FORMATS = [ 'MP3', 'FLAC', 'Ogg Vorbis', 'AAC', 'AC3', 'DTS' ];
|
||||
var FORMATS = [ 'MP3', 'FLAC', 'AAC', 'AC3', 'DTS' ];
|
||||
var BITRATES = [ '192', 'APS (VBR)', 'V2 (VBR)', 'V1 (VBR)', '256', 'APX (VBR)', 'V0 (VBR)', 'q8.x (VBR)', '320', 'Lossless', '24bit Lossless'];
|
||||
var filenames = new Array();
|
||||
$(document).ready(function () {
|
||||
|
Loading…
Reference in New Issue
Block a user