mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 13:46:36 +00:00
Add D_HTTP_SENDING_PAGE
This commit is contained in:
parent
e4ac45d9a2
commit
bfb730a212
@ -132,6 +132,7 @@
|
|||||||
#define D_HTTP_MAIN_MENU "Main Menu"
|
#define D_HTTP_MAIN_MENU "Main Menu"
|
||||||
#define D_HTTP_REBOOT "Restart"
|
#define D_HTTP_REBOOT "Restart"
|
||||||
#define D_HTTP_CONFIGURATION "Configuration"
|
#define D_HTTP_CONFIGURATION "Configuration"
|
||||||
|
#define D_HTTP_SENDING_PAGE "Sent %S page to %s" // New
|
||||||
#define D_HTTP_FOOTER "by Francis Van Roie"
|
#define D_HTTP_FOOTER "by Francis Van Roie"
|
||||||
|
|
||||||
#define D_INFO_VERSION "Version"
|
#define D_INFO_VERSION "Version"
|
||||||
|
@ -132,7 +132,8 @@
|
|||||||
#define D_HTTP_MAIN_MENU "Főmenü"
|
#define D_HTTP_MAIN_MENU "Főmenü"
|
||||||
#define D_HTTP_REBOOT "Újraindítás"
|
#define D_HTTP_REBOOT "Újraindítás"
|
||||||
#define D_HTTP_CONFIGURATION "Beállítások"
|
#define D_HTTP_CONFIGURATION "Beállítások"
|
||||||
#define D_HTTP_FOOTER "by Francis Van Roie" // New
|
#define D_HTTP_SENDING_PAGE "Sent %S page to %s" // New
|
||||||
|
#define D_HTTP_FOOTER "by Francis Van Roie" // New
|
||||||
|
|
||||||
// New list:
|
// New list:
|
||||||
#define D_INFO_VERSION "Version"
|
#define D_INFO_VERSION "Version"
|
||||||
|
@ -131,6 +131,7 @@
|
|||||||
#define D_HTTP_MAIN_MENU "Hoofdmenu"
|
#define D_HTTP_MAIN_MENU "Hoofdmenu"
|
||||||
#define D_HTTP_REBOOT "Herstarten"
|
#define D_HTTP_REBOOT "Herstarten"
|
||||||
#define D_HTTP_CONFIGURATION "Configuratie"
|
#define D_HTTP_CONFIGURATION "Configuratie"
|
||||||
|
#define D_HTTP_SENDING_PAGE "Pagina %S verstuurd naar %s" // New
|
||||||
#define D_HTTP_FOOTER "door Francis Van Roie"
|
#define D_HTTP_FOOTER "door Francis Van Roie"
|
||||||
|
|
||||||
#define D_INFO_VERSION "Versie"
|
#define D_INFO_VERSION "Versie"
|
||||||
|
@ -132,7 +132,8 @@
|
|||||||
#define D_HTTP_MAIN_MENU "Meniu principal"
|
#define D_HTTP_MAIN_MENU "Meniu principal"
|
||||||
#define D_HTTP_REBOOT "Repornire"
|
#define D_HTTP_REBOOT "Repornire"
|
||||||
#define D_HTTP_CONFIGURATION "Setări"
|
#define D_HTTP_CONFIGURATION "Setări"
|
||||||
#define D_HTTP_FOOTER "by Francis Van Roie" // New
|
#define D_HTTP_SENDING_PAGE "Sent %S page to %s" // New
|
||||||
|
#define D_HTTP_FOOTER "by Francis Van Roie" // New
|
||||||
|
|
||||||
// New list:
|
// New list:
|
||||||
#define D_INFO_VERSION "Version"
|
#define D_INFO_VERSION "Version"
|
||||||
|
@ -244,10 +244,9 @@ bool httpIsAuthenticated(const __FlashStringHelper* fstr_page)
|
|||||||
if(!httpIsAuthenticated()) return false;
|
if(!httpIsAuthenticated()) return false;
|
||||||
|
|
||||||
#if defined(ARDUINO_ARCH_ESP32) || defined(ARDUINO_ARCH_ESP8266)
|
#if defined(ARDUINO_ARCH_ESP32) || defined(ARDUINO_ARCH_ESP8266)
|
||||||
LOG_TRACE(TAG_HTTP, F("Sending %S page to client connected from: %s"), fstr_page,
|
LOG_TRACE(TAG_HTTP, F(D_HTTP_SENDING_PAGE), fstr_page, webServer.client().remoteIP().toString().c_str());
|
||||||
webServer.client().remoteIP().toString().c_str());
|
|
||||||
#else
|
#else
|
||||||
// LOG_INFO(TAG_HTTP,F("Sending %s page to client connected from: %s"), page,
|
// LOG_INFO(TAG_HTTP,F(D_HTTP_SENDING_PAGE), page,
|
||||||
// String(webServer.client().remoteIP()).c_str());
|
// String(webServer.client().remoteIP()).c_str());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user