Browse Source

reload bug fix version change

causefx 9 years ago
parent
commit
fb7b162f51
9 changed files with 23 additions and 11 deletions
  1. 3 1
      lang/de.ini
  2. 2 1
      lang/en.ini
  3. 3 1
      lang/es.ini
  4. 3 1
      lang/fr.ini
  5. 3 1
      lang/it.ini
  6. 3 1
      lang/nl.ini
  7. 3 1
      lang/pl.ini
  8. 2 3
      settings.php
  9. 1 1
      user.php

+ 3 - 1
lang/de.ini

@@ -236,4 +236,6 @@ PLEX_PASSWORD = "Plex Password"
 BOTH = "Plus Other"
 ONLY = "Only"
 NO_CREATE = "Do Not Create Accounts"
-YES_CREATE = "Create Accounts As Needed"
+YES_CREATE = "Create Accounts As Needed"
+RECENT_CONTENT = "Recently Added Content"
+SETTINGS_SAVED = "Settings have been Saved"

+ 2 - 1
lang/en.ini

@@ -237,4 +237,5 @@ BOTH = "Plus Other"
 ONLY = "Only"
 NO_CREATE = "Do Not Create Accounts"
 YES_CREATE = "Create Accounts As Needed"
-RECENT_CONTENT = "Recently Added Content"
+RECENT_CONTENT = "Recently Added Content"
+SETTINGS_SAVED = "Settings have been Saved"

+ 3 - 1
lang/es.ini

@@ -236,4 +236,6 @@ PLEX_PASSWORD = "Plex Password"
 BOTH = "Plus Other"
 ONLY = "Only"
 NO_CREATE = "Do Not Create Accounts"
-YES_CREATE = "Create Accounts As Needed"
+YES_CREATE = "Create Accounts As Needed"
+RECENT_CONTENT = "Recently Added Content"
+SETTINGS_SAVED = "Settings have been Saved"

+ 3 - 1
lang/fr.ini

@@ -236,4 +236,6 @@ PLEX_PASSWORD = "Plex Password"
 BOTH = "Plus Other"
 ONLY = "Only"
 NO_CREATE = "Do Not Create Accounts"
-YES_CREATE = "Create Accounts As Needed"
+YES_CREATE = "Create Accounts As Needed"
+RECENT_CONTENT = "Recently Added Content"
+SETTINGS_SAVED = "Settings have been Saved"

+ 3 - 1
lang/it.ini

@@ -236,4 +236,6 @@ PLEX_PASSWORD = "Plex Password"
 BOTH = "Plus Other"
 ONLY = "Only"
 NO_CREATE = "Do Not Create Accounts"
-YES_CREATE = "Create Accounts As Needed"
+YES_CREATE = "Create Accounts As Needed"
+RECENT_CONTENT = "Recently Added Content"
+SETTINGS_SAVED = "Settings have been Saved"

+ 3 - 1
lang/nl.ini

@@ -236,4 +236,6 @@ PLEX_PASSWORD = "Plex Password"
 BOTH = "Plus Other"
 ONLY = "Only"
 NO_CREATE = "Do Not Create Accounts"
-YES_CREATE = "Create Accounts As Needed"
+YES_CREATE = "Create Accounts As Needed"
+RECENT_CONTENT = "Recently Added Content"
+SETTINGS_SAVED = "Settings have been Saved"

+ 3 - 1
lang/pl.ini

@@ -236,4 +236,6 @@ PLEX_PASSWORD = "Plex Password"
 BOTH = "Plus Other"
 ONLY = "Only"
 NO_CREATE = "Do Not Create Accounts"
-YES_CREATE = "Create Accounts As Needed"
+YES_CREATE = "Create Accounts As Needed"
+RECENT_CONTENT = "Recently Added Content"
+SETTINGS_SAVED = "Settings have been Saved"

+ 2 - 3
settings.php

@@ -278,9 +278,8 @@ endif;
 if($action == 'createLocation' || $action == 'homepageSettings') {
     unset($_POST['action']);
     updateConfig($_POST);
-    sleep(2.5);
-    header("Location: settings.php");
-    die();
+    echo "<script>parent.notify('<strong>".$language->translate("SETTINGS_SAVED")."</strong>','floppy-o','success','5000', '$notifyExplode[0]', '$notifyExplode[1]');</script>";
+    echo "<script>setTimeout(function() {window.location.href = window.location.href},1500);</script>";
 }
                 
 if(!isset($_POST['op'])) :

+ 1 - 1
user.php

@@ -12,7 +12,7 @@
 	require_once('functions.php');
 	
 	// Define Version
-	 define('INSTALLEDVERSION', '1.31');
+	 define('INSTALLEDVERSION', '1.32');
 	 
     // Autoload frameworks
 	require_once(__DIR__ . '/vendor/autoload.php');