yWeb: drop obsolete CDATA comments

Origin commit data
------------------
Commit: 948cc523ef
Author: vanhofen <vanhofen@gmx.de>
Date: 2023-02-18 (Sat, 18 Feb 2023)

Origin message was:
------------------
- yWeb: drop obsolete CDATA comments
This commit is contained in:
vanhofen
2023-02-18 23:49:00 +01:00
parent eada778516
commit f43ab32c0a
55 changed files with 3 additions and 156 deletions

View File

@@ -302,10 +302,8 @@ start-block~head_ni
<script src="/Y_Baselib.js"></script>
<script src="/Y_NIlib.js"></script>
<script>
//<![CDATA[
// Clear y-Cache in our pages
yhttpd_cache_clear('');
//]]>
</script>
end-block~head_ni
@@ -325,10 +323,8 @@ end-block~js_prototype
start-block~js_jquery
<script src="/jquery/jquery.min.js"></script>
<script>
//<![CDATA[
// Use jQuery via jQuery(...)
jQuery.noConflict();
//]]>
</script>
end-block~js_jquery
@@ -350,14 +346,12 @@ start-block~start_wizard_page
{=include-block:Y_Blocks.txt;head=}
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
function do_submit()
{
show_waitbox(true);
yhttpd_cache_clear("");
document.f.submit();
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body">

View File

@@ -7,9 +7,7 @@ start-block~neutrino_form
{=include-block:Y_Blocks.txt;js_prototype=}
<script src="/Y_Baselib.js"></script>
<style type="text/css">
/*<![CDATA[*/
.line {border-top: 1px solid #6D96A9;}
/*]]>*/
</style>
{=include-block:Y_Blocks.txt;head_close=}
<body>
@@ -151,7 +149,6 @@ start-block~neutrino_form-data_record
</div>
</div>
<script>
//<![CDATA[
function form_init()
{
var val = "";
@@ -189,7 +186,6 @@ function do_submit()
document.f.submit();
}
form_init();
//]]>
</script>
end-block~neutrino_form-data_record
@@ -235,7 +231,6 @@ start-block~neutrino_form-data_movieplayer
</div>
</div>
<script>
//<![CDATA[
function form_init()
{
var val = "";
@@ -248,7 +243,6 @@ function do_submit()
document.f.submit();
}
form_init();
//]]>
</script>
end-block~neutrino_form-data_movieplayer
@@ -300,7 +294,6 @@ start-block~neutrino_form-data_parental
</div>
</div>
<script>
//<![CDATA[
function form_init()
{
var val = "";
@@ -323,7 +316,6 @@ function do_submit()
}
}
form_init();
//]]>
</script>
end-block~neutrino_form-data_parental
@@ -430,7 +422,6 @@ start-block~neutrino_form-data_epg
</div>
</div>
<script>
//<![CDATA[
function form_init()
{
obj_set_radio_value('epg_save', "{=ini-get:%(CONFIGDIR)/neutrino.conf;epg_save;false=}");
@@ -449,7 +440,6 @@ function do_submit()
document.f.submit();
}
form_init();
//]]>
</script>
end-block~neutrino_form-data_epg
@@ -703,7 +693,6 @@ start-block~neutrino_form-data_diverse
</div>
</div>
<script>
//<![CDATA[
function form_init()
{
var val = "";
@@ -754,7 +743,6 @@ function do_submit()
document.f.submit();
}
form_init();
//]]>
</script>
end-block~neutrino_form-data_diverse
@@ -825,7 +813,6 @@ start-block~neutrino_form-data_pictureviewer
</div>
<script>
//<![CDATA[
function form_init()
{
var val = "";
@@ -839,7 +826,6 @@ function do_submit()
document.f.submit();
}
form_init();
//]]>
</script>
end-block~neutrino_form-data_pictureviewer
@@ -927,7 +913,6 @@ start-block~neutrino_form-data_audioplayer
</div>
</div>
<script>
//<![CDATA[
function form_init()
{
var val = "";
@@ -948,7 +933,6 @@ function do_submit()
document.f.submit();
}
form_init();
//]]>
</script>
end-block~neutrino_form-data_audioplayer
@@ -1096,7 +1080,6 @@ start-block~neutrino_form-data_direct_recording
</div>
</div>
<script>
//<![CDATA[
function form_init()
{
var val = "{=ini-get:%(CONFIGDIR)/neutrino.conf;recordingmenu.ringbuffers;2~cache=}";
@@ -1117,7 +1100,6 @@ function do_submit()
document.f.submit();
}
form_init();
//]]>
</script>
end-block~neutrino_form-data_direct_recording

View File

@@ -2,7 +2,6 @@
{=include-block:Y_Blocks.txt;head=}
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
function do_submit(){
show_waitbox(true);
for (i=document.getElementById('channels').bchannels.length-1; i >= 0 ; i--) {
@@ -48,7 +47,6 @@ function poschannel(box, direction){
}
}
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}

View File

@@ -4,7 +4,6 @@
<meta http-equiv="expires" content="0" />
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
var gurl= "";
var gurl_last= "";
function hide_forms(){
@@ -96,7 +95,6 @@ function do_rename(){
else
alert("{=L:bou.no_bouquet_name=}!");
}
//]]>
</script>
<style type="text/css">
.fly_form

View File

@@ -2,7 +2,6 @@
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
function do_zap(channelid) {
stb_zapto(channelid);
window.location.reload();
@@ -22,7 +21,6 @@ function do_stream(channelid, channelname)
function do_streaminfo() {
window.open("Y_StreamInfo.yhtm", "stream", "width=520");
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body class="iframe">

View File

@@ -4,7 +4,6 @@
<script src="/Y_Baselib.js"></script>
<script src="/Y_yweb.js"></script>
<script>
//<![CDATA[
function epg_plus_popup() {
window.open("Y_EPG_Plus.yhtm","_blank","resizable=yes,scrollbars=yes");
}
@@ -136,7 +135,6 @@ function init() {
set_mute_button();
add_yExtensions('boxcontrol', 'secmenu_boxcontrol');
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body>
@@ -261,10 +259,8 @@ function init() {
</div>
</div>
<script>
//<![CDATA[
init();
window.setInterval("get_data();",5000);
//]]>
</script>
</body>
</html>

View File

@@ -3,7 +3,6 @@
{=include-block:Y_Blocks.txt;js_jquery=}
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
function do_send(mode) {
var msg = id(mode);
var res = "error";
@@ -12,7 +11,6 @@ function do_send(mode) {
jQuery("#out").html(res);
jQuery('#'+mode).val("");
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body>

View File

@@ -65,9 +65,7 @@
</table>
</div>
<script>
//<![CDATA[
epg_plus_init("{=ini-get:%(CONFIGDIR)/nhttpd.conf;Tuxbox.DisplayLogos;true=}");
//]]>
</script>
</body>

View File

@@ -5,8 +5,6 @@
<script src="/Y_Baselib.js"></script>
<script src="/Y_yweb.js"></script>
<script>
//<![CDATA[
function build_menu(){
// ext.read_items();
var ext_normal=ext.select_type("n");
@@ -21,7 +19,6 @@ function build_menu(){
y_add_li_to_ul(id("ext_management"),"ext",item);
});
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body onload="build_menu()">

View File

@@ -5,12 +5,10 @@
<script src="/Y_yweb.js"></script>
<script src="/Y_Ext_Update.js"></script>
<script>
//<![CDATA[
function do_submit(){
show_waitbox(true);
document.f.submit();
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body>

View File

@@ -5,11 +5,9 @@
<script src="/Y_yweb.js"></script>
<script src="/Y_Ext_Update.js"></script>
<script>
//<![CDATA[
function init(){
window.setTimeout("uninstall_build_list();",300);
}
//]]>
</script>
<style>
.type, .uninstall{

View File

@@ -83,10 +83,8 @@
</div>
</div>
<script>
//<![CDATA[
window.setTimeout("build_list();",500);
yversion_str="{=ini-get:Y_Version.txt;version=}";
//]]>
</script>
</body>
</html>

View File

@@ -3,13 +3,11 @@
<script src="/Y_Baselib.js"></script>
<script src="/Y_yweb.js"></script>
<script>
//<![CDATA[
function do_onload() {
yhttpd_cache_clear('');
ext.read_items();
parent.sec_menu.location.reload();
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body onload="do_onload()">

View File

@@ -4,7 +4,6 @@
<script src="/prototype/accordion.js"></script>
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
/* --------------------------------------------------------------*/
/* in development */
/* --------------------------------------------------------------*/
@@ -567,7 +566,6 @@ function do_edit(){
function ni() {
alert("not implemented");
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body onload="init()">

View File

@@ -2,7 +2,6 @@
{=include-block:Y_Blocks.txt;js_prototype=}
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
var Window_delta_w=0;;
var Window_delta_h=0;
function init(){
@@ -31,7 +30,6 @@ function do_reload(){
function ni(){
alert("not implemented");
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body onload="init()">

View File

@@ -1,13 +1,11 @@
{=include-block:Y_Blocks.txt;head=}
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
function check_updates()
{
loadSyncURL("/control/exec?Y_Tools&get_update_version");
location.reload();
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body>

View File

@@ -2,7 +2,6 @@
<script src="/jquery/jquery.stickytableheaders.min.js"></script>
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
/*sLog*/
var sLog_body;
var sLog_line_number;
@@ -112,7 +111,6 @@ function _show_epg()
show_waitbox(false);
jQuery('table').stickyTableHeaders();
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body onload="show_epg()" class="iframe">

View File

@@ -1,13 +1,11 @@
{=include-block:Y_Blocks.txt;head=}
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
function show_info(_desc, _info1, _info2){
document.getElementById("description").innerHTML = _desc;
document.getElementById("info1").innerHTML = _info1;
document.getElementById("info2").innerHTML = _info2;
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<a href="javascript:window.history.back()"><u>{=L:back=}</u></a>

View File

@@ -4,7 +4,6 @@
<script src="/Y_Baselib.js"></script>
<script src="/Y_yweb.js"></script>
<script>
//<![CDATA[
/*Indicator*/
var g_i_active = false;
var g_i_counter = 0;
@@ -70,7 +69,6 @@ function vlc() {
var vlc_url = loadSyncURL("/control/build_live_url?vlc_link=true");
window.open("/tmp/vlc.m3u?"+Math.random(),"_blank");
}
//]]>
</script>
<style>
#prim{
@@ -125,9 +123,7 @@ function vlc() {
</div>
</div>
<script>
//<![CDATA[
i_start();
//]]>
</script>
</body>

View File

@@ -20,7 +20,6 @@
{=var-set:boxmodel={=func:get_boxmodel=}=}
<script>
//<![CDATA[
jQuery(document).ready(function(){
if ("{=ani=}" == "false")
{
@@ -35,7 +34,6 @@ jQuery(document).ready(function(){
jQuery('#_mem_used_graph').delay(750).animate({ width: "{=var-get:_mem_used_percent=}%"}, 750);
}
});
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body>

View File

@@ -9,13 +9,11 @@
{=var-set:icons_dir=%(ICONSDIR)=}
{=include-block:Y_Blocks.txt;head_ni=}
<script>
//<![CDATA[
function do_submit()
{
show_waitbox(true);
document.f.submit();
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body>

View File

@@ -18,7 +18,6 @@
{=include-block:Y_Blocks.txt;head_ni=}
<script>
//<![CDATA[
function edit_popup()
{
popup = window.open('/Y_Filemgr_Edit.yhtm?file={=if-file-exists:/var/etc/{=L:ni.netfs-{=mount_type=}=}~/var/etc/{=L:ni.netfs-{=mount_type=}=}~/etc/{=L:ni.netfs-{=mount_type=}=}=}', 'edit', 'width=800,height=600,resizable=yes');
@@ -53,7 +52,6 @@ function do_submit()
show_waitbox(true);
document.f.submit();
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body>

View File

@@ -1,6 +1,5 @@
{=include-block:Y_Blocks.txt;head_ni=}
<script>
//<![CDATA[
function form_init()
{
if (document.f.type[0].checked == 1)
@@ -19,7 +18,6 @@ function do_submit()
show_waitbox(true);
document.f.submit();
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body onload="form_init()">

View File

@@ -1,10 +1,8 @@
{=include-block:Y_Blocks.txt;head_ni=}
<script>
//<![CDATA[
jQuery(document).ready(function(){
window.document.location.href='/Y_NI_NetFS-control.yhtm?mount_type={=mount_type=}&mount_type_s={=mount_type_s=}';
});
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body>

View File

@@ -1,11 +1,9 @@
{=include-block:Y_Blocks.txt;head=}
<script>
//<![CDATA[
function do_onload()
{
top.location.href="/";
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body onload="do_onload()">

View File

@@ -3,7 +3,6 @@
{=include-block:Y_Blocks.txt;head=}
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
function do_submit()
{
if(document.f.filename.value != "")
@@ -29,7 +28,6 @@ function do_backup2()
show_waitbox(false);
obj_disable("btBackup", false);
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body>

View File

@@ -1,7 +1,6 @@
{=include-block:Y_Blocks.txt;head=}
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
function automount_edit()
{
var mstr = loadSyncURL("/control/exec?Y_Tools&automount_getline&/var/etc/auto.net&{=R1=}");
@@ -126,7 +125,6 @@ function change_type()
show_obj("vpassword",true);
}
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body onLoad="form_init()">

View File

@@ -1,8 +1,6 @@
{=include-block:Y_Blocks.txt;head=}
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
function do_submit()
{
show_waitbox(true);
@@ -29,7 +27,6 @@ function do_delete()
location.reload();
}
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body>

View File

@@ -1,7 +1,6 @@
{=include-block:Y_Blocks.txt;management_check_top=}
{=include-block:Y_Blocks.txt;head=}
<style type="text/css">
/*<![CDATA[*/
.alink {
text-decoration: underline;
}
@@ -15,11 +14,9 @@ input[type="text"],select {
vertical-align: middle;
font-size: 9px;
}
/*]]>*/
</style>
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
function do_init()
{
var val = "";
@@ -204,7 +201,6 @@ function do_submit()
}
document.f.submit();
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body onload="do_init()">

View File

@@ -1,15 +1,12 @@
{=include-block:Y_Blocks.txt;management_check_top=}
{=include-block:Y_Blocks.txt;head=}
<style type="text/css">
/*<![CDATA[*/
.alink {
text-decoration: underline;
}
/*]]>*/
</style>
<script src="/Y_Baselib.js"></script>
<script>
/*<![CDATA[*/
function do_init()
{
var val = "";
@@ -55,7 +52,6 @@ function do_submit()
document.f.glcd_brightness_standby.value = 0;
document.f.submit();
}
/*]]>*/
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body onload="do_init()">

View File

@@ -1,15 +1,12 @@
{=include-block:Y_Blocks.txt;management_check_top=}
{=include-block:Y_Blocks.txt;head=}
<style type="text/css">
/*<![CDATA[*/
.alink {
text-decoration: underline;
}
/*]]>*/
</style>
<script src="/Y_Baselib.js"></script>
<script>
/*<![CDATA[*/
function do_init()
{
var val = "";
@@ -64,7 +61,6 @@ function do_submit()
document.f.lcd_standbybrightness.value = 0;
document.f.submit();
}
/*]]>*/
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body onload="do_init()">

View File

@@ -1,7 +1,6 @@
{=include-block:Y_Blocks.txt;head=}
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
function form_init()
{
var check = {=ini-get:%(CONFIGDIR)/neutrino.conf;network_nfs_type_{=R1=}=};
@@ -15,7 +14,6 @@ function do_submit()
show_waitbox(true);
document.f.submit();
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body onLoad="form_init()">

View File

@@ -1,7 +1,6 @@
{=include-block:Y_Blocks.txt;head=}
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
function do_mount()
{
show_waitbox(true);
@@ -20,7 +19,6 @@ function do_edit()
show_waitbox(true);
document.f.submit();
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body>

View File

@@ -4,7 +4,6 @@
{=include-block:Y_Blocks.txt;head=}
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
function form_init()
{
obj_set_radio_value('authenticate', "{=ini-get:%(CONFIGDIR)/nhttpd.conf;mod_auth.authenticate;false=}");
@@ -34,7 +33,6 @@ function do_check_input_LogosURL()
else
document.f.Tuxbox_LogosURL.readOnly = true;
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body onload="form_init()">

View File

@@ -3,7 +3,6 @@
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
function do_submit()
{
if(document.f.p_pincode.value.length < 4)
@@ -54,7 +53,6 @@ function do_init()
obj_set_radio_value('p_bluebutton', "{=ini-get:%(CONFIGDIR)/neutrino.conf;personalize_bluebutton;1~cache=}");
obj_set_radio_value('p_redbutton', "{=ini-get:%(CONFIGDIR)/neutrino.conf;personalize_redbutton;1~cache=}");
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}

View File

@@ -1,7 +1,6 @@
{=include-block:Y_Blocks.txt;head=}
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
function do_unmount()
{
var local_dir="";
@@ -16,7 +15,6 @@ function do_unmount()
document.f.submit();
}
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body>

View File

@@ -3,11 +3,10 @@
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
function do_init()
{
var val = "";
//video
//video
val = "{=ini-get:%(CONFIGDIR)/controld.conf;videooutput;1~open=}";
document.f.videooutput.selectedIndex = val;
obj_set_radio_value('vcroutput', "{=ini-get:%(CONFIGDIR)/controld.conf;vcroutput;0~cache=}");
@@ -25,7 +24,7 @@ function do_init()
val = "{=ini-get:%(CONFIGDIR)/neutrino.conf;video_csync;0~cache=}"
document.f.video_csync.value = val;
obj_set_radio_value('vcr_AutoSwitch', "{=ini-get:%(CONFIGDIR)/neutrino.conf;vcr_AutoSwitch;true~cache=}");
//audio
//audio
val = "{=ini-get:%(CONFIGDIR)/neutrino.conf;audio_AnalogMode;0~cache=}";
document.f.audio_AnalogMode.selectedIndex = val;
obj_set_radio_value('audiochannel_up_down_enable', "{=ini-get:%(CONFIGDIR)/neutrino.conf;audiochannel_up_down_enable;false~cache=}");
@@ -53,7 +52,6 @@ function do_submit()
document.f.submit();
}
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body onload="do_init()">

View File

@@ -2,7 +2,6 @@
{=include-block:Y_Blocks.txt;head=}
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
var g_wol = new Array(
"{=ini-get:%(CONFIGDIR)/Y-Web.conf;wol_mac_1=}",
"{=ini-get:%(CONFIGDIR)/Y-Web.conf;wol_mac_2=}",
@@ -19,7 +18,6 @@ function init_wol()
function goto_settings(){
top.top_main.prim_menu.nav("settings", "Y_Settings_yWeb.yhtm");
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body>
@@ -48,9 +46,7 @@ function goto_settings(){
</div>
</div>
<script>
//<![CDATA[
init_wol();
//]]>
</script>
</body>
</html>

View File

@@ -2,12 +2,10 @@
{=include-block:Y_Blocks.txt;head=}
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
function do_submit() {
show_waitbox(true);
document.f.submit();
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body>

View File

@@ -3,7 +3,6 @@
{=include-block:Y_Blocks.txt;head=}
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
function do_submit(){
show_waitbox(true);
do_reload = false;
@@ -79,7 +78,6 @@ function do_switch_hostname()
document.f.yweb_box_name.focus();
}
}
//]]>
</script>
<style type="text/css">
input[type="text"],

View File

@@ -1,6 +1,5 @@
{=include-block:Y_Blocks.txt;head=}
<script>
//<![CDATA[
function do_submit()
{
document.f.su.disabled=true;
@@ -17,7 +16,6 @@ function do_submit()
document.f.action=_url;
document.f.submit();
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body>

View File

@@ -4,7 +4,6 @@
{=include-block:Y_Blocks.txt;js_jquery=}
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
function my_display(id, state)
{
jQuery('#'+id).toggle(state);
@@ -77,7 +76,6 @@ function init()
var rd = "{=timer_recordingDir=}";
obj_set_select_value("rec_dir", rd);
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body onload="init()">

View File

@@ -3,7 +3,6 @@
{=include-block:Y_Blocks.txt;js_jquery=}
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
function goConfirmUrl(_meld, _url){
if (confirm(_meld)==true) goUrl(_url);
}
@@ -32,7 +31,6 @@ function init() {
set_btn_standby();
window.setInterval("set_btn_standby();", 5000);
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body onload="init()">
@@ -113,9 +111,7 @@ function init() {
</div>
</div>
<script>
//<![CDATA[
init();
window.setInterval("get_data();",5000);
//]]>
</body>
</html>

View File

@@ -2,7 +2,6 @@
{=include-block:Y_Blocks.txt;js_jquery=}
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
function do_start(){
jQuery('#statusline').show();
do_check();
@@ -100,7 +99,6 @@ function do_check(){
do_stop();
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body>
@@ -127,9 +125,7 @@ function do_check(){
</div>
</div>
<script>
//<![CDATA[
window.setTimeout("do_start();",500);
//]]>
</script>
</body>
</html>

View File

@@ -3,7 +3,6 @@
{=include-block:Y_Blocks.txt;head=}
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
function do_submit()
{
if(document.f.cmd.value != "")
@@ -38,7 +37,6 @@ function setCaretToEnd(control)
control.setSelectionRange(l, l);
}
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body>
@@ -73,11 +71,9 @@ function setCaretToEnd(control)
<iframe height="0" width="0" scrolling="no" align="left" frameborder="0" name="tmp" id="tmp">Your Browser does not support IFrames.</iframe>
<script >
//<![CDATA[
if(isIE)
document.f.appendx.checked = true;
window.document.f.cmd.focus();
//]]>
</script>
</body>
</html>

View File

@@ -1,12 +1,10 @@
{=include-block:Y_Blocks.txt;head=}
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
function goUrl(_url){
var res = loadSyncURL(_url);
id("out").innerHTML = res;
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body>

View File

@@ -3,7 +3,6 @@
{=include-block:Y_Blocks.txt;head=}
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
function do_submit()
{
if(document.f.filename.value != "")
@@ -32,7 +31,6 @@ function init(){
str="{=L:tools.yinstaller.not_determine=}";
id("free").innerHTML=str;
}
//]]>div
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body onload="init()">

View File

@@ -2,7 +2,6 @@
{=include-block:Y_Blocks.txt;head=}
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
function rcsim(_key)
{
if(_key == "KEY_POWER"){
@@ -14,7 +13,6 @@ function rcsim(_key)
}
loadSyncURL("/control/rcem?"+_key);
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body>

View File

@@ -6,7 +6,6 @@
{=include-block:Y_Blocks.txt;js_jquery_ui=}
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
var enableOSD;
var enableVideo;
var enablePiP;
@@ -116,7 +115,6 @@ function do_reload(){
else
clearInterval(interval);
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body onload="do_switchrc_txt(); do_snapshot();">

View File

@@ -2,7 +2,6 @@
{=include-block:Y_Blocks.txt;js_jquery=}
<script src="/Y_Baselib.js"></script>
<script>
//<![CDATA[
var interval;
function do_snapshot() {
@@ -43,7 +42,6 @@ function do_reload(){
else
clearInterval(interval);
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body onload="do_snapshot();">

View File

@@ -1,7 +1,6 @@
{=include-block:Y_Blocks.txt;head=}
{=include-block:Y_Blocks.txt;js_jquery=}
<script>
//<![CDATA[
var interval;
function do_showshot() {
@@ -15,7 +14,6 @@ function do_reload(){
else
clearInterval(interval);
}
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body onload="do_showshot();">

View File

@@ -1,3 +1,3 @@
version=3.0.31
version=3.0.32
date=18.02.2023
info=NI-Neutrino-Webinterface

View File

@@ -6,11 +6,9 @@
<title>yWeb</title>
<script src="/jquery/jquery.min.js"></script>
<script>
//<![CDATA[
jQuery.get("/etc/hostname", function(data) {
jQuery('html head').find('title').text(data);
});
//]]>
</script>
</head>
<frameset cols="*,1300,*" frameborder="0" framespacing="0">

View File

@@ -27,7 +27,6 @@
<meta name="theme-color" content="#212121">
<script>
//<![CDATA[
jQuery(document).ready(function(){
var time = new Date();
var hours = time.getHours();
@@ -41,11 +40,8 @@ jQuery(document).ready(function(){
jQuery('#clock').html(hours+':'+minutes);
jQuery('html head').find('title').text("yInfo");
});
//-->//]]>
</script>
<style type="text/css">
/*<![CDATA[*/
/* globals */
html {
margin: 0;
@@ -131,7 +127,6 @@ body {
.yinfo .spacer {
margin-bottom: 5vh;
}
/*]]>*/
</style>
{=include-block:Y_Blocks.txt;head_close=}

View File

@@ -11,7 +11,6 @@
<meta name="theme-color" content="#212121">
<style type="text/css">
/*<![CDATA[*/
html {
margin: 0;
padding: 0;
@@ -29,16 +28,13 @@ body {
top: 50%;
transform: translate(-50%, -50%);
}
/*]]>*/
</style>
<script>
//<![CDATA[
jQuery(document).ready(function() {
jQuery('#screenshot').attr("src", "{=var-get:lcd4linux_png=}?" + Math.random());
jQuery('html head').find('title').text("yLCD4Linux");
});
//]]>
</script>
{=include-block:Y_Blocks.txt;head_close=}