From 26d5bcf758cfa5762aa2b7aaabf2fff76d190738 Mon Sep 17 00:00:00 2001 From: Git Date: Mon, 30 Jun 2014 08:00:26 +0000 Subject: [PATCH] Empty commit --- classes/notificationsmanager.class.php | 4 ++-- classes/pushserver.class.php | 4 ++-- feeds.php | 6 +++--- static/styles/80char/style.css | 24 ++++++++++++------------ 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/classes/notificationsmanager.class.php b/classes/notificationsmanager.class.php index 76f2f678..618a4926 100644 --- a/classes/notificationsmanager.class.php +++ b/classes/notificationsmanager.class.php @@ -761,7 +761,7 @@ public static function send_push($UserIDs, $Title, $Body, $URL = '', $Type = sel if ($Service === 'PushBullet') { $Options["user"]["device"] = $PushOptions['PushDevice']; - + } $JSON = json_encode($Options); @@ -772,7 +772,7 @@ public static function send_push($UserIDs, $Title, $Body, $URL = '', $Type = sel ('$Service', 1) ON DUPLICATE KEY UPDATE TimesUsed = TimesUsed + 1"); - + $PushServerSocket = fsockopen("127.0.0.1", 6789); fwrite($PushServerSocket, $JSON); fclose($PushServerSocket); diff --git a/classes/pushserver.class.php b/classes/pushserver.class.php index 45e6a513..6cc5a57a 100644 --- a/classes/pushserver.class.php +++ b/classes/pushserver.class.php @@ -152,7 +152,7 @@ private function push_pushover($UserKey, $Title, $Message, $URL) { * @param $Message Notification message * @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) { if (!empty($URL)) { $Message .= ' ' . $URL; @@ -175,7 +175,7 @@ private function push_pushbullet($UserKey, $DeviceID, echo "Push sent to Pushbullet"; curl_close($Curl); - + } } diff --git a/feeds.php b/feeds.php index 3382b546..c8a298c8 100644 --- a/feeds.php +++ b/feeds.php @@ -6,12 +6,12 @@ /*------------------------------------------------------*/ /********************************************************/ -// Lets prevent people from clearing feeds +// Let's prevent people from clearing feeds if (isset($_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/cache.class.php'); // Require the caching class @@ -27,7 +27,7 @@ function is_number($Str) { if ($Str < 0) { 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); } diff --git a/static/styles/80char/style.css b/static/styles/80char/style.css index 7140d47b..0ac4a5ac 100644 --- a/static/styles/80char/style.css +++ b/static/styles/80char/style.css @@ -859,7 +859,7 @@ tr.peer_list td { } .hide { - display:none; + display: none; } @@ -888,7 +888,7 @@ ul.poll li.graph { height: 28px; background: url('https://what.cd/static/styles/postmod/images/show.png') no-repeat center center; -moz-opacity: 0.5; - opacity:.50; + opacity: 0.50; filter: alpha(opacity=50); } @@ -897,7 +897,7 @@ ul.poll li.graph { height: 28px; background: url('https://what.cd/static/styles/postmod/images/hide.png') no-repeat center center; -moz-opacity: 0.5; - opacity:.50; + opacity: 0.50; filter: alpha(opacity=50); } @@ -913,13 +913,13 @@ ul.poll li.graph { } .filter_torrents { - width:750px; - margin:auto; + width: 750px; + margin: auto; } .filter_torrents .submit { - text-align:right; - padding-top:5px; + text-align: right; + padding-top: 5px; } #content form.search_form + .torrent_table { @@ -1112,9 +1112,9 @@ ul .invitetree { width: 100%; height: 100%; background: #111 50% 0 no-repeat fixed; - z-index:1001; + z-index: 1001; -moz-opacity: 0.9; - opacity:.90; + opacity: 0.90; filter: alpha(opacity=90); } @@ -1126,7 +1126,7 @@ ul .invitetree { width: 90%; height: 90%; padding: 0px; - z-index:1002; + z-index: 1002; overflow: auto; } @@ -1165,7 +1165,7 @@ input[type=text], input[type="password"] { 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; border: 1px solid #bbbbbb; color: #000000 @@ -1291,4 +1291,4 @@ margin: 3px; color: #000000; text-decoration: none; border: none; -} \ No newline at end of file +}