mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
yWeb/Y_About_yWeb: re-add management handling for update check
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0238a67744
Author: vanhofen <vanhofen@gmx.de>
Date: 2023-03-06 (Mon, 06 Mar 2023)
Origin message was:
------------------
- yWeb/Y_About_yWeb: re-add management handling for update check
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -13,6 +13,7 @@ jQuery(document).ready(function(){
|
||||
});
|
||||
</script>
|
||||
{=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=}=}
|
||||
<body>
|
||||
@@ -38,6 +39,7 @@ jQuery(document).ready(function(){
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
{=if-empty:{=var-get:management=}~~
|
||||
{=if-file-exists:/tmp/version.txt~
|
||||
<b>{=L:info.actual_version=}</b>
|
||||
<p>
|
||||
@@ -50,6 +52,7 @@ jQuery(document).ready(function(){
|
||||
<input type="button" onclick="check_updates()" value="{=L:info.check_for_updates=}"/>
|
||||
</p>
|
||||
=}
|
||||
=}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@@ -9,7 +9,6 @@ function init(){
|
||||
}
|
||||
</script>
|
||||
{=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~=}=}
|
||||
<body onload="init()">
|
||||
<div class="y_menu_sec_box">
|
||||
<div class="y_menu_sec_box_head"><h2>{=L:main.info=}</h2></div>
|
||||
|
@@ -1,3 +1,3 @@
|
||||
version=3.0.55
|
||||
version=3.0.56
|
||||
date=06.03.2023
|
||||
info=NI-Neutrino-Webinterface
|
||||
|
Reference in New Issue
Block a user