From d37e79ecbd12942923a1b2de3a867d777ebf6579 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 6 Mar 2023 23:44:01 +0100 Subject: [PATCH] yWeb/Y_Boxcontrol_Menue: protect timers with management ip Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/1e80304ce29e4daa7f9108fc4bdc4752fb867f19 Author: vanhofen Date: 2023-03-06 (Mon, 06 Mar 2023) Origin message was: ------------------ - yWeb/Y_Boxcontrol_Menue: protect timers with management ip ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- data/y-web/Y_Boxcontrol_Menue.yhtm | 5 ++++- data/y-web/Y_Version.txt | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/data/y-web/Y_Boxcontrol_Menue.yhtm b/data/y-web/Y_Boxcontrol_Menue.yhtm index f94db426b..b4f6735f9 100644 --- a/data/y-web/Y_Boxcontrol_Menue.yhtm +++ b/data/y-web/Y_Boxcontrol_Menue.yhtm @@ -138,6 +138,7 @@ function init() { {=include-block:Y_Blocks.txt;head_close=} +{=var-set:management={=if-equal:{=func:get_request_data client_addr=}~{=ini-get:%(CONFIGDIR)/yWeb.conf;management_ip;{=func:get_request_data client_addr=}=}~1~=}{=if-equal:{=func:get_request_data client_addr=}~{=ini-get:%(CONFIGDIR)/yWeb.conf;management_ip2=}~1~=}=}

{=L:main.boxcontrol=}

@@ -184,7 +185,9 @@ function init() { ~=}
  • - {=L:live.timer=} + {=var-set:m_link_href=Y_Timer_List.yhtm=} + {=var-set:m_link_text={=L:live.timer=}=} + {=include-block:Y_Blocks.txt;management_link=}
  • {=L:bc.pzapit=} diff --git a/data/y-web/Y_Version.txt b/data/y-web/Y_Version.txt index 455c2f3b5..3476948a4 100644 --- a/data/y-web/Y_Version.txt +++ b/data/y-web/Y_Version.txt @@ -1,3 +1,3 @@ -version=3.0.56 +version=3.0.57 date=06.03.2023 info=NI-Neutrino-Webinterface