mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
yWeb/Y_Boxcontrol_Menue: protect timers with management ip
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1e80304ce2
Author: vanhofen <vanhofen@gmx.de>
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
This commit is contained in:
@@ -138,6 +138,7 @@ function init() {
|
|||||||
</script>
|
</script>
|
||||||
{=include-block:Y_Blocks.txt;head_close=}
|
{=include-block:Y_Blocks.txt;head_close=}
|
||||||
<body>
|
<body>
|
||||||
|
{=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~=}=}
|
||||||
<div class="y_menu_sec_box">
|
<div class="y_menu_sec_box">
|
||||||
<div class="y_menu_sec_box_head"><h2>{=L:main.boxcontrol=}</h2></div>
|
<div class="y_menu_sec_box_head"><h2>{=L:main.boxcontrol=}</h2></div>
|
||||||
<div class="y_menu_sec_box_body">
|
<div class="y_menu_sec_box_body">
|
||||||
@@ -184,7 +185,9 @@ function init() {
|
|||||||
~=}
|
~=}
|
||||||
</ul>
|
</ul>
|
||||||
<li>
|
<li>
|
||||||
<a target="work" href="Y_Timer_List.yhtm">{=L:live.timer=}</a>
|
{=var-set:m_link_href=Y_Timer_List.yhtm=}
|
||||||
|
{=var-set:m_link_text={=L:live.timer=}=}
|
||||||
|
{=include-block:Y_Blocks.txt;management_link=}
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a target="work" href="Y_Boxcontrol_PZapit.yhtm">{=L:bc.pzapit=}</a>
|
<a target="work" href="Y_Boxcontrol_PZapit.yhtm">{=L:bc.pzapit=}</a>
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
version=3.0.56
|
version=3.0.57
|
||||||
date=06.03.2023
|
date=06.03.2023
|
||||||
info=NI-Neutrino-Webinterface
|
info=NI-Neutrino-Webinterface
|
||||||
|
Reference in New Issue
Block a user