add simple Webif for WebTV WebRadio and xmltv

Conflicts:
	data/y-web/languages/Deutsch
	data/y-web/languages/English
This commit is contained in:
TangoCash
2021-09-09 23:32:37 +02:00
committed by Thilo Graf
parent b74e0aeb6a
commit 1c88cc8b2a
9 changed files with 164 additions and 0 deletions

View File

@@ -67,6 +67,7 @@ install_DATA = channels.js \
Y_Settings_video_audio.yhtm \
Y_Settings_VNC.yhtm \
Y_Settings_wol.yhtm \
Y_Settings_xmltv.yhtm \
Y_Settings_yWeb.yhtm \
Y_Settings_zapit.yhtm \
Y_StreamInfo.yhtm \

View File

@@ -107,6 +107,11 @@ function init(){
{=var-set:m_link_text={=L:set.menue.lcd_display=}=}
{=include-block:Y_Blocks.txt;management_link=}
</li>
<li>
{=var-set:m_link_href=Y_Settings_xmltv.yhtm=}
{=var-set:m_link_text={=L:set.menue.xmltv=}=}
{=include-block:Y_Blocks.txt;management_link=}
</li>
<li>
{=var-set:m_link_href=Y_Settings_buttons.yhtm=}
{=var-set:m_link_text={=L:set.menue.key_settings=}=}

View File

@@ -0,0 +1,52 @@
{=include-block:Y_Blocks.txt;management_check_top=}
{=include-block:Y_Blocks.txt;head=}
<script type="text/javascript" src="/Y_Baselib.js"></script>
<script type="text/javascript">
//<![CDATA[
function do_submit() {
show_waitbox(true);
document.f.submit();
}
//]]>
</script>
</head>
<body>
{=var-set:wait_text={=L:save_values=}=}{=include-block:Y_Blocks.txt;snip_wait=}
<div class="work_box">
<div class="work_box_head"><div class="work_box_head_h2">
{=var-set:help_url=Help-Settings-XMLTV_Settings=}{=var-set:menu={=L:set.xmltv.header=}=}{=include-block:Y_Blocks.txt;work_menu=}</div></div>
<div class="work_box_body">
<form name="f" class="y_form" accept-charset="UTF-8" action="/control/xmltvlist" method="POST" enctype="x-www-form-urlencoded">
<table border="0" width="100%">
<tr>
<td colspan="2" class="y_form_header">WebTV</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><textarea id="webtv" name="webtv" cols="120" rows="10">{=func:get_webtv_list=}</textarea></td>
</tr>
<tr>
<td colspan="2" class="y_form_header">WebRadio</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><textarea id="webradio" name="webradio" cols="120" rows="10">{=func:get_webradio_list=}</textarea></td>
</tr>
<tr>
<td colspan="2" class="y_form_header">XMLTV</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><textarea id="xmltv" name="xmltv" cols="120" rows="10">{=func:get_xmltv_list=}</textarea></td>
</tr>
</table>
<br/>
<input type="hidden" name="tmpl" value="Y_Settings_xmltv.yhtm"/>
<button type="button" ytype="save" title="submit and save values" onclick="do_submit()">{=L:save=}</button>
</form>
</div>
</div>
</body>
</html>
{=include-block:Y_Blocks.txt;management_check_bottom=}

View File

@@ -256,6 +256,8 @@ set.menue.boot_options=Bootoptionen
set.menue.peronalization=Personalisierung
set.menue.plugins=Plugins
set.menue.others=Diverses
set.menue.xmltv=XMLTV
========Neutrino Settings - Recording
set.rec.rec_dest=Aufnahmeziel
set.rec.device=Aufnahmeger&auml;t
@@ -406,6 +408,9 @@ set.settings.restore=Wiederherstellen
set.settings.restore_desc=Hochladen und wiederherstellen einer vorher erstellten Sicherung. Ihre Box startet danach neu.
set.settings.warning=Sichern &amp; Wiederherstellen ist nur bei einem gleichen Image mit gleichem Entwicklungsstand sinnvoll.
============Settings XMLTV
set.xmltv.header=XMLTV Einstellungen
============ Tools Info
tools.info.show_messages=Kernel Meldungen
tools.info.processes=Prozesse

View File

@@ -259,6 +259,8 @@ set.menue.boot_options=Boot options
set.menue.peronalization=Personalization
set.menue.plugins=Plugins
set.menue.others=Others
set.menue.xmltv=XMLTV
========Neutrino Settings - Recording
set.rec.rec_dest=Recoring destination
set.rec.device=Recording device
@@ -409,6 +411,9 @@ set.settings.restore=Restore
set.settings.restore_desc=Upload and restore your settings. Your STB will reboot.
set.settings.warning=Backup & Restore is only useful for the same image with the same level of development.
============Settings XMLTV
set.xmltv.header=XMLTV Settings
============ Tools Info
tools.info.show_messages=Kernel Messages
tools.info.processes=Processes