diff --git a/data/y-web/Y_About_yWeb.yhtm b/data/y-web/Y_About_yWeb.yhtm index 699a770b2..930b46a3e 100644 --- a/data/y-web/Y_About_yWeb.yhtm +++ b/data/y-web/Y_About_yWeb.yhtm @@ -13,6 +13,7 @@ jQuery(document).ready(function(){ }); {=include-block:Y_Blocks.txt;head_close=} +{=var-set:management={=if-equal:{=func:get_request_data client_addr=}~{=ini-get:/var/tuxbox/config/yWeb.conf;management_ip;{=func:get_request_data client_addr=}=}~1~=}{=if-equal:{=func:get_request_data client_addr=}~{=ini-get:/var/tuxbox/config/yWeb.conf;management_ip2=}~1~=}=} {=var-set:alt_httpd={=ini-get:%(CONFIGDIR)/nhttpd.conf;WebsiteMain.override_directory;%(PUBLIC_HTTPDDIR)=}=} {=var-set:vf={=if-file-exists:{=var-get:alt_httpd=}/Y_Version.txt~{=var-get:alt_httpd=}/Y_Version.txt~Y_Version.txt=}=} @@ -38,6 +39,7 @@ jQuery(document).ready(function(){

+ {=if-empty:{=var-get:management=}~~ {=if-file-exists:/tmp/version.txt~ {=L:info.actual_version=}

@@ -50,6 +52,7 @@ jQuery(document).ready(function(){

=} + =} diff --git a/data/y-web/Y_Info_Menue.yhtm b/data/y-web/Y_Info_Menue.yhtm index fbfd87c48..4b041ec5e 100644 --- a/data/y-web/Y_Info_Menue.yhtm +++ b/data/y-web/Y_Info_Menue.yhtm @@ -9,7 +9,6 @@ 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.info=}

diff --git a/data/y-web/Y_Version.txt b/data/y-web/Y_Version.txt index 7bc7301ed..455c2f3b5 100644 --- a/data/y-web/Y_Version.txt +++ b/data/y-web/Y_Version.txt @@ -1,3 +1,3 @@ -version=3.0.55 +version=3.0.56 date=06.03.2023 info=NI-Neutrino-Webinterface