From 838192664d6bbc2ffb2c13de1aac32dc5bedbfd2 Mon Sep 17 00:00:00 2001 From: causefx Date: Sun, 29 Oct 2017 19:53:14 -0700 Subject: [PATCH 01/31] Brought back multiple Logins --- error.php | 20 +++++++++--------- lang/de.ini | 2 +- lang/en.ini | 2 +- lang/es.ini | 2 +- lang/fr.ini | 2 +- lang/it.ini | 2 +- lang/nl.ini | 2 +- lang/pl.ini | 2 +- settings.php | 1 + user.php | 60 +++++++++++++++++++++++----------------------------- 10 files changed, 45 insertions(+), 50 deletions(-) diff --git a/error.php b/error.php index ae27ef833..364f35cac 100755 --- a/error.php +++ b/error.php @@ -41,16 +41,16 @@ //error stuff $requested = $_SERVER['REQUEST_URI']; $codes = array( - 400 => array('Bad Request', 'The server cannot or will not process the request due to an apparent client error.', 'sowwy'), - 401 => array('Unauthorized', 'You do not have access to this page.', 'sowwy'), - 403 => array('Forbidden', 'The server has refused to fulfill your request.', 'sowwy'), - 404 => array('Not Found', $requested . ' was not found on this server.', 'confused'), - 405 => array('Method Not Allowed', 'The method specified in the Request-Line is not allowed for the specified resource.', 'confused'), - 408 => array('Request Timeout', 'Your browser failed to send a request in the time allowed by the server.', 'sowwy'), - 500 => array('Internal Server Error', 'The request was unsuccessful due to an unexpected condition encountered by the server.', 'confused'), - 502 => array('Bad Gateway', 'The server received an invalid response from the upstream server while trying to fulfill the request.', 'confused'), - 503 => array('Service Unavailable', 'The server is currently unavailable (because it is overloaded or down for maintenance).', 'confused'), - 504 => array('Gateway Timeout', 'The upstream server failed to send a request in the time allowed by the server.', 'confused'), + 400 => array('Bad Request', 'The server cannot or will not process the request due to an apparent client error.', 'sowwy','400'), + 401 => array('Unauthorized', 'You do not have access to this page.', 'sowwy','401'), + 403 => array('Forbidden', 'The server has refused to fulfill your request.', 'sowwy','403'), + 404 => array('Not Found', $requested . ' was not found on this server.', 'confused','404'), + 405 => array('Method Not Allowed', 'The method specified in the Request-Line is not allowed for the specified resource.', 'confused','405'), + 408 => array('Request Timeout', 'Your browser failed to send a request in the time allowed by the server.', 'sowwy','408'), + 500 => array('Internal Server Error', 'The request was unsuccessful due to an unexpected condition encountered by the server.', 'confused','500'), + 502 => array('Bad Gateway', 'The server received an invalid response from the upstream server while trying to fulfill the request.', 'confused','502'), + 503 => array('Service Unavailable', 'The server is currently unavailable (because it is overloaded or down for maintenance).', 'confused','503'), + 504 => array('Gateway Timeout', 'The upstream server failed to send a request in the time allowed by the server.', 'confused','504'), 999 => array('Not Logged In', 'You need to be logged in to access this page.', 'confused', '401'), ); $errorTitle = ($codes[$status][0]) ? $codes[$status][0] : "Error"; diff --git a/lang/de.ini b/lang/de.ini index 955a1b4ea..dd2fa3e3e 100644 --- a/lang/de.ini +++ b/lang/de.ini @@ -149,7 +149,7 @@ TRANSLATIONS_ABOUT = "Wir benötigen immer Hilfe bei der Übersetzung. Sollten S UPGRADE = "Upgrade" LOADING_COLOR = "Hintergrund Ladebildschirm" HOVER_TEXT = "Einblendungs-Text" -COOKIE_PASSWORD = "Cookie-Passwort" +COOKIE_PASSWORD = "Cookie-Passwort - used for Multiple Logins and Cookie Authorization" CREATE_USER = "Konto registrieren" ENTER_PASSWORD_TO_REGISTER = "Registrierungspasswort eingeben" SUBMIT = "Absenden" diff --git a/lang/en.ini b/lang/en.ini index b5da8a058..8ea0227ea 100644 --- a/lang/en.ini +++ b/lang/en.ini @@ -149,7 +149,7 @@ TRANSLATIONS_ABOUT = "We always need help with translations. If you speak anoth UPGRADE = "Upgrade" LOADING_COLOR = "Loading Background" HOVER_TEXT = "Hover Text" -COOKIE_PASSWORD = "Cookie Password" +COOKIE_PASSWORD = "Cookie Password - used for Multiple Logins and Cookie Authorization" CREATE_USER = "Create Account" ENTER_PASSWORD_TO_REGISTER = "Enter Password To Register" SUBMIT = "Submit" diff --git a/lang/es.ini b/lang/es.ini index c487b1c5a..85b39b45a 100644 --- a/lang/es.ini +++ b/lang/es.ini @@ -149,7 +149,7 @@ TRANSLATIONS_ABOUT = "We always need help with translations. If you speak anoth UPGRADE = "Upgrade" LOADING_COLOR = "Loading Background" HOVER_TEXT = "Hover Text" -COOKIE_PASSWORD = "Cookie Password" +COOKIE_PASSWORD = "Cookie Password - used for Multiple Logins and Cookie Authorization" CREATE_USER = "Create Account" ENTER_PASSWORD_TO_REGISTER = "Enter Password To Register" SUBMIT = "Submit" diff --git a/lang/fr.ini b/lang/fr.ini index 7016ef71b..dc3bc1a02 100644 --- a/lang/fr.ini +++ b/lang/fr.ini @@ -149,7 +149,7 @@ TRANSLATIONS_ABOUT = "We always need help with translations. If you speak anoth UPGRADE = "Upgrade" LOADING_COLOR = "Loading Background" HOVER_TEXT = "Hover Text" -COOKIE_PASSWORD = "Cookie Password" +COOKIE_PASSWORD = "Cookie Password - used for Multiple Logins and Cookie Authorization" CREATE_USER = "Create Account" ENTER_PASSWORD_TO_REGISTER = "Enter Password To Register" SUBMIT = "Submit" diff --git a/lang/it.ini b/lang/it.ini index f5e6ce938..874fbc7f6 100644 --- a/lang/it.ini +++ b/lang/it.ini @@ -149,7 +149,7 @@ TRANSLATIONS_ABOUT = "We always need help with translations. If you speak anoth UPGRADE = "Upgrade" LOADING_COLOR = "Loading Background" HOVER_TEXT = "Hover Text" -COOKIE_PASSWORD = "Cookie Password" +COOKIE_PASSWORD = "Cookie Password - used for Multiple Logins and Cookie Authorization" CREATE_USER = "Create Account" ENTER_PASSWORD_TO_REGISTER = "Enter Password To Register" SUBMIT = "Submit" diff --git a/lang/nl.ini b/lang/nl.ini index b1afc38b7..e56b3aa79 100644 --- a/lang/nl.ini +++ b/lang/nl.ini @@ -149,7 +149,7 @@ TRANSLATIONS_ABOUT = "We always need help with translations. If you speak anoth UPGRADE = "Upgrade" LOADING_COLOR = "Loading Background" HOVER_TEXT = "Hover Text" -COOKIE_PASSWORD = "Cookie Password" +COOKIE_PASSWORD = "Cookie Password - used for Multiple Logins and Cookie Authorization" CREATE_USER = "Create Account" ENTER_PASSWORD_TO_REGISTER = "Enter Password To Register" SUBMIT = "Submit" diff --git a/lang/pl.ini b/lang/pl.ini index b0da5e633..272532bfe 100644 --- a/lang/pl.ini +++ b/lang/pl.ini @@ -149,7 +149,7 @@ TRANSLATIONS_ABOUT = "Zawsze potrzebujemy pomocy z tłumaczeniami. Jeżeli znas UPGRADE = "Ulepsz" LOADING_COLOR = "Tło ładowania" HOVER_TEXT = "Tekst przy najechaniu kursorem" -COOKIE_PASSWORD = "Hasło ciasteczek" +COOKIE_PASSWORD = "Hasło ciasteczek - used for Multiple Logins and Cookie Authorization" CREATE_USER = "Stwórz konto" ENTER_PASSWORD_TO_REGISTER = "Wpisz hasło by zarejestrować" SUBMIT = "Prześlij" diff --git a/settings.php b/settings.php index 546a814d9..b0f9ead14 100755 --- a/settings.php +++ b/settings.php @@ -617,6 +617,7 @@ function submitTabs(form) { 'buttonType' => 'dark', 'buttonDrop' => '