yWeb: fix paths

Origin commit data
------------------
Branch: ni/coolstream
Commit: 8312f407ee
Author: vanhofen <vanhofen@gmx.de>
Date: 2023-03-07 (Tue, 07 Mar 2023)

Origin message was:
------------------
- yWeb: fix paths

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2023-03-07 22:31:38 +01:00
parent ba2ba60e50
commit a159272861
4 changed files with 17 additions and 17 deletions

View File

@@ -13,7 +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: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~=}=}
{=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>

View File

@@ -165,20 +165,20 @@ function init() {
</li>
<ul>
<li>
<a target="work" title="OSD-{=L:bc.menue.screenshot=}" href="Y_Tools_Screenshot.yhtm?osd=1&rc={=ini-get:/var/tuxbox/config/yWeb.conf;screenshot_rc;false=}">OSD</a>
<a target="work" title="OSD-{=L:bc.menue.screenshot=}" href="Y_Tools_Screenshot.yhtm?osd=1&rc={=ini-get:%(CONFIGDIR)/yWeb.conf;screenshot_rc;false=}">OSD</a>
</li>
<li>
<a target="work" title="TV-{=L:bc.menue.screenshot=}" href="Y_Tools_Screenshot.yhtm?video=1&rc={=ini-get:/var/tuxbox/config/yWeb.conf;screenshot_rc;false=}">TV</a>
<a target="work" title="TV-{=L:bc.menue.screenshot=}" href="Y_Tools_Screenshot.yhtm?video=1&rc={=ini-get:%(CONFIGDIR)/yWeb.conf;screenshot_rc;false=}">TV</a>
</li>
{=if-equal:{=ini-get:/var/tuxbox/config/neutrino.conf;lcd4l_support;0=}~1~
{=if-equal:{=ini-get:/var/tuxbox/config/neutrino.conf;lcd4l_screenshots;0=}~1~
{=if-equal:{=ini-get:%(CONFIGDIR)/neutrino.conf;lcd4l_support;0=}~1~
{=if-equal:{=ini-get:%(CONFIGDIR)/neutrino.conf;lcd4l_screenshots;0=}~1~
<li>
<a target="work" title="LCD4Linux-{=L:bc.menue.screenshot=}" href="Y_Tools_Screenshot_LCD4Linux.yhtm">LCD4Linux</a>
<a target="blank" title="LCD4Linux-{=L:bc.menue.screenshot=} (Popup)" href="lcd4linux/ylcd4linux.yhtm" class="y_menu_popup_link" ><img src="/images/popup.png"/></a>
</li>
~=}
~=}
{=if-equal:{=ini-get:/var/tuxbox/config/neutrino.conf;glcd_enable;0=}~1~
{=if-equal:{=ini-get:%(CONFIGDIR)/neutrino.conf;glcd_enable;0=}~1~
<li>
<a target="work" title="GraphLCD-{=L:bc.menue.screenshot=}" href="Y_Tools_Screenshot_GraphLCD.yhtm">GraphLCD</a>
</li>

View File

@@ -35,10 +35,10 @@
=}
</td>
<td>
<input type="button" value="{=L:ni.configure=}" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/FritzCallMonitor.cfg","edit", "width=800,height=600,resizable=yes");' />
<input type="button" value="{=L:ni.configure=}" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=%(CONFIGDIR)/FritzCallMonitor.cfg","edit", "width=800,height=600,resizable=yes");' />
</td>
<td>
<input type="button" value="{=L:set.plugin-tools.fcm-addr=}" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/FritzCallMonitor.addr","edit", "width=800,height=600,resizable=yes");' />
<input type="button" value="{=L:set.plugin-tools.fcm-addr=}" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=%(CONFIGDIR)/FritzCallMonitor.addr","edit", "width=800,height=600,resizable=yes");' />
</td>
</tr>
<!-- nfs-server -->
@@ -93,7 +93,7 @@
=}
</td>
<td>
<input type="button" value="{=L:ni.configure=}" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/tuxcal/tuxcal.conf","edit", "width=800,height=600,resizable=yes");' />
<input type="button" value="{=L:ni.configure=}" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=%(CONFIGDIR)/tuxcal/tuxcal.conf","edit", "width=800,height=600,resizable=yes");' />
</td>
<td>
</td>
@@ -112,7 +112,7 @@
=}
</td>
<td>
<input type="button" value="{=L:ni.configure=}" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/tuxmail/tuxmail.conf","edit", "width=800,height=600,resizable=yes");' />
<input type="button" value="{=L:ni.configure=}" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=%(CONFIGDIR)/tuxmail/tuxmail.conf","edit", "width=800,height=600,resizable=yes");' />
</td>
<td>
</td>
@@ -274,10 +274,10 @@
&nbsp;
</td>
<td>
<input type="button" value="{=L:ni.configure=}" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/EPGscan.conf","edit", "width=800,height=600,resizable=yes");' />
<input type="button" value="{=L:ni.configure=}" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=%(CONFIGDIR)/EPGscan.conf","edit", "width=800,height=600,resizable=yes");' />
</td>
<td>
<input type="button" value="{=L:set.plugin-tools.epgscan-dat=}" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/EPGscan.dat","edit", "width=800,height=600,resizable=yes");' />
<input type="button" value="{=L:set.plugin-tools.epgscan-dat=}" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=%(CONFIGDIR)/EPGscan.dat","edit", "width=800,height=600,resizable=yes");' />
</td>
</tr>
<!-- pr-auto-timer -->
@@ -290,10 +290,10 @@
&nbsp;
</td>
<td>
<input type="button" value="{=L:ni.configure=}" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/pr-auto-timer.conf","edit", "width=800,height=600,resizable=yes");' />
<input type="button" value="{=L:ni.configure=}" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=%(CONFIGDIR)/pr-auto-timer.conf","edit", "width=800,height=600,resizable=yes");' />
</td>
<td>
<input type="button" value="{=L:set.plugin-tools.pat-rules=}" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/pr-auto-timer.rules","edit", "width=800,height=600,resizable=yes");' />
<input type="button" value="{=L:set.plugin-tools.pat-rules=}" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=%(CONFIGDIR)/pr-auto-timer.rules","edit", "width=800,height=600,resizable=yes");' />
</td>
</tr>
<!-- RSS-Reader -->
@@ -309,7 +309,7 @@
&nbsp;
</td>
<td>
<input type="button" value="{=L:set.plugin-tools.rssreader-conf=}" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/rssreader.conf","edit", "width=800,height=600,resizable=yes");' />
<input type="button" value="{=L:set.plugin-tools.rssreader-conf=}" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=%(CONFIGDIR)/rssreader.conf","edit", "width=800,height=600,resizable=yes");' />
</td>
</tr>
<!-- 2webTVxml -->
@@ -325,7 +325,7 @@
&nbsp;
</td>
<td>
<input type="button" value="{=L:set.plugin-tools.2webtvxmlurls-conf=}" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/2webTVxmlUrls.conf","edit", "width=800,height=600,resizable=yes");' />
<input type="button" value="{=L:set.plugin-tools.2webtvxmlurls-conf=}" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=%(CONFIGDIR)/2webTVxmlUrls.conf","edit", "width=800,height=600,resizable=yes");' />
</td>
</tr>
</table>

View File

@@ -1,3 +1,3 @@
version=3.0.58
version=3.0.59
date=06.03.2023
info=NI-Neutrino-Webinterface