Kaynağa Gözat

Fix Plex Search

causefx 8 yıl önce
ebeveyn
işleme
390d0fded9
3 değiştirilmiş dosya ile 5 ekleme ve 4 silme
  1. 1 0
      config/configDefaults.php
  2. 1 0
      homepage.php
  3. 3 4
      user.php

+ 1 - 0
config/configDefaults.php

@@ -85,4 +85,5 @@ return array(
 	"homepageNoticeType" => "success",
 	"homepageNoticeType" => "success",
 	"homepageNoticeAuth" => "false",
 	"homepageNoticeAuth" => "false",
 	"homepageNoticeLayout" => "elegant",
 	"homepageNoticeLayout" => "elegant",
+	"ipInfoToken" => "ddd0c072ad5021",
 );
 );

+ 1 - 0
homepage.php

@@ -492,6 +492,7 @@ $endDate = date('Y-m-d',strtotime("+".CALENDARENDDAY." days"));
         });
         });
 		$('#clearSearch').click(function(e){
 		$('#clearSearch').click(function(e){
             $('#searchInput').val("");
             $('#searchInput').val("");
+            $('#resultshere').html("");
             $('#searchInput').focus();
             $('#searchInput').focus();
             e.preventDefault();
             e.preventDefault();
         });
         });

+ 3 - 4
user.php

@@ -27,7 +27,6 @@
         return substr($ip, $start, $end);
         return substr($ip, $start, $end);
     }
     }
 
 
-
     define('GUEST_HASH', "guest-".guestHash(0, 5));
     define('GUEST_HASH', "guest-".guestHash(0, 5));
 
 
 	class User
 	class User
@@ -296,9 +295,9 @@
 			{
 			{
 				// send email notification
 				// send email notification
 				$subject = "Welcome to ".DOMAIN;
 				$subject = "Welcome to ".DOMAIN;
-			$language = new setLanguage;
-			$domain = getServerPath();
-			$body = orgEmail(
+				$language = new setLanguage;
+				$domain = getServerPath();
+				$body = orgEmail(
 					$header = $language->translate('EMAIL_NEWUSER_HEADER'),
 					$header = $language->translate('EMAIL_NEWUSER_HEADER'),
 					$title = $language->translate('EMAIL_NEWUSER_TITLE'), 
 					$title = $language->translate('EMAIL_NEWUSER_TITLE'), 
 					$user = $username, 
 					$user = $username,