Empty commit

This commit is contained in:
Git 2014-06-30 08:00:26 +00:00
parent 29de6bd44c
commit 26d5bcf758
4 changed files with 19 additions and 19 deletions

View File

@ -761,7 +761,7 @@ public static function send_push($UserIDs, $Title, $Body, $URL = '', $Type = sel
if ($Service === 'PushBullet') { if ($Service === 'PushBullet') {
$Options["user"]["device"] = $PushOptions['PushDevice']; $Options["user"]["device"] = $PushOptions['PushDevice'];
} }
$JSON = json_encode($Options); $JSON = json_encode($Options);
@ -772,7 +772,7 @@ public static function send_push($UserIDs, $Title, $Body, $URL = '', $Type = sel
('$Service', 1) ('$Service', 1)
ON DUPLICATE KEY UPDATE ON DUPLICATE KEY UPDATE
TimesUsed = TimesUsed + 1"); TimesUsed = TimesUsed + 1");
$PushServerSocket = fsockopen("127.0.0.1", 6789); $PushServerSocket = fsockopen("127.0.0.1", 6789);
fwrite($PushServerSocket, $JSON); fwrite($PushServerSocket, $JSON);
fclose($PushServerSocket); fclose($PushServerSocket);

View File

@ -152,7 +152,7 @@ private function push_pushover($UserKey, $Title, $Message, $URL) {
* @param $Message Notification message * @param $Message Notification message
* @param $URL For compatibility with other command. Just gets appended. * @param $URL For compatibility with other command. Just gets appended.
*/ */
private function push_pushbullet($UserKey, $DeviceID, private function push_pushbullet($UserKey, $DeviceID,
$Title, $Message, $URL) { $Title, $Message, $URL) {
if (!empty($URL)) { if (!empty($URL)) {
$Message .= ' ' . $URL; $Message .= ' ' . $URL;
@ -175,7 +175,7 @@ private function push_pushbullet($UserKey, $DeviceID,
echo "Push sent to Pushbullet"; echo "Push sent to Pushbullet";
curl_close($Curl); curl_close($Curl);
} }
} }

View File

@ -6,12 +6,12 @@
/*------------------------------------------------------*/ /*------------------------------------------------------*/
/********************************************************/ /********************************************************/
// Lets prevent people from clearing feeds // Let's prevent people from clearing feeds
if (isset($_GET['clearcache'])) { if (isset($_GET['clearcache'])) {
unset($_GET['clearcache']); unset($_GET['clearcache']);
} }
require 'classes/config.php'; // The config contains all site wide configuration information as well as memcached rules require 'classes/config.php'; // The config contains all site-wide configuration information as well as memcached rules
require(SERVER_ROOT.'/classes/misc.class.php'); // Require the misc class require(SERVER_ROOT.'/classes/misc.class.php'); // Require the misc class
require(SERVER_ROOT.'/classes/cache.class.php'); // Require the caching class require(SERVER_ROOT.'/classes/cache.class.php'); // Require the caching class
@ -27,7 +27,7 @@ function is_number($Str) {
if ($Str < 0) { if ($Str < 0) {
return false; return false;
} }
// We're converting input to a int, then string and comparing to original // We're converting input to an int, then string, and comparing to the original
return ($Str == strval(intval($Str)) ? true : false); return ($Str == strval(intval($Str)) ? true : false);
} }

View File

@ -859,7 +859,7 @@ tr.peer_list td {
} }
.hide { .hide {
display:none; display: none;
} }
@ -888,7 +888,7 @@ ul.poll li.graph {
height: 28px; height: 28px;
background: url('https://what.cd/static/styles/postmod/images/show.png') no-repeat center center; background: url('https://what.cd/static/styles/postmod/images/show.png') no-repeat center center;
-moz-opacity: 0.5; -moz-opacity: 0.5;
opacity:.50; opacity: 0.50;
filter: alpha(opacity=50); filter: alpha(opacity=50);
} }
@ -897,7 +897,7 @@ ul.poll li.graph {
height: 28px; height: 28px;
background: url('https://what.cd/static/styles/postmod/images/hide.png') no-repeat center center; background: url('https://what.cd/static/styles/postmod/images/hide.png') no-repeat center center;
-moz-opacity: 0.5; -moz-opacity: 0.5;
opacity:.50; opacity: 0.50;
filter: alpha(opacity=50); filter: alpha(opacity=50);
} }
@ -913,13 +913,13 @@ ul.poll li.graph {
} }
.filter_torrents { .filter_torrents {
width:750px; width: 750px;
margin:auto; margin: auto;
} }
.filter_torrents .submit { .filter_torrents .submit {
text-align:right; text-align: right;
padding-top:5px; padding-top: 5px;
} }
#content form.search_form + .torrent_table { #content form.search_form + .torrent_table {
@ -1112,9 +1112,9 @@ ul .invitetree {
width: 100%; width: 100%;
height: 100%; height: 100%;
background: #111 50% 0 no-repeat fixed; background: #111 50% 0 no-repeat fixed;
z-index:1001; z-index: 1001;
-moz-opacity: 0.9; -moz-opacity: 0.9;
opacity:.90; opacity: 0.90;
filter: alpha(opacity=90); filter: alpha(opacity=90);
} }
@ -1126,7 +1126,7 @@ ul .invitetree {
width: 90%; width: 90%;
height: 90%; height: 90%;
padding: 0px; padding: 0px;
z-index:1002; z-index: 1002;
overflow: auto; overflow: auto;
} }
@ -1165,7 +1165,7 @@ input[type=text], input[type="password"] {
border-width: 1px; border-width: 1px;
} }
#quickpost input[type=text], .box_search input[type=text], #AddArtists input[type=text], .add_torrent_container input[type=text], .add_torrent_container input[type=text], .box_addtag input[type=text], .pad .search_form input[type=text], .edit_form input[type=text], .rename_form input[type=text], .merge_form input[type=text], #compose input[type=text], .add_form input[type=text]{ #quickpost input[type=text], .box_search input[type=text], #AddArtists input[type=text], .add_torrent_container input[type=text], .add_torrent_container input[type=text], .box_addtag input[type=text], .pad .search_form input[type=text], .edit_form input[type=text], .rename_form input[type=text], .merge_form input[type=text], #compose input[type=text], .add_form input[type=text] {
background: #fff; background: #fff;
border: 1px solid #bbbbbb; border: 1px solid #bbbbbb;
color: #000000 color: #000000
@ -1291,4 +1291,4 @@ margin: 3px;
color: #000000; color: #000000;
text-decoration: none; text-decoration: none;
border: none; border: none;
} }