- yweb: remove obsolete ucodes-code

This commit is contained in:
svenhoefer
2012-07-21 12:53:18 +02:00
parent 05c4897504
commit 48dea3faf0
12 changed files with 2 additions and 103 deletions

View File

@@ -61,7 +61,6 @@ install_DATA = channels.js \
Y_Settings_personalize.yhtm \
Y_Settings_Skin.yhtm \
Y_Settings_Timer.yhtm \
Y_Settings_ucodes.yhtm \
Y_Settings_umount_liste.yhtm \
Y_Settings_video_audio.yhtm \
Y_Settings_VNC.yhtm \

View File

@@ -151,7 +151,6 @@ start-block~personalize_save_settings
{=ini-set:/var/tuxbox/config/neutrino.conf;personalize_getplugins;{=p_getplugins=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;personalize_restart;{=p_restart=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;personalize_epgrestart;{=p_epgrestart=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;personalize_ucodecheck;{=p_ucodecheck=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;personalize_chan_epg_stat;{=p_chan_epg_stat=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;personalize_imageinfo;{=p_imageinfo=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;personalize_update;{=p_update=}~cache=}

View File

@@ -51,7 +51,6 @@ function init(){
<li class="disabled" title="{=L:restriced_by_management_ip=}">{=L:set.menue.webserver=}</li>
<li class="disabled" title="{=L:restriced_by_management_ip=}">{=L:set.menue.zapit=}</li>
{=if-not-equal:{=global-var-get:boxtype=}~coolstream~
<li class="disabled" title="{=L:restriced_by_management_ip=}">{=L:set.menue.ucodes=}</li>
<li class="disabled" title="{=L:restriced_by_management_ip=}">{=L:set.menue.boot_logo=}</li>
~=}
<li class="disabled" title="{=L:restriced_by_management_ip=}">{=L:set.menue.timer_settings=}</a></li>
@@ -60,7 +59,6 @@ function init(){
<li><a target="work" href="Y_Settings_nhttpd.yhtm">{=L:set.menue.webserver=}</a></li>
<li><a target="work" href="Y_Settings_zapit.yhtm">{=L:set.menue.zapit=}</a></li>
{=if-not-equal:{=global-var-get:boxtype=}~coolstream~
<li><a target="work" href="Y_Settings_ucodes.yhtm">{=L:set.menue.ucodes=}</a></li>
<li><a target="work" href="Y_Tools_Bootlogo.yhtm">{=L:set.menue.boot_logo=}</a></li>
~=}
{=if-not-equal:{=global-var-get:boxtype=}~coolstream~

View File

@@ -49,7 +49,6 @@ function do_init()
obj_set_radio_value('p_getplugins', "{=ini-get:/var/tuxbox/config/neutrino.conf;personalize_getplugins;1~cache=}");
obj_set_radio_value('p_restart', "{=ini-get:/var/tuxbox/config/neutrino.conf;personalize_restart;1~cache=}");
obj_set_radio_value('p_epgrestart', "{=ini-get:/var/tuxbox/config/neutrino.conf;personalize_epgrestart;1~cache=}");
obj_set_radio_value('p_ucodecheck', "{=ini-get:/var/tuxbox/config/neutrino.conf;personalize_ucodecheck;1~cache=}");
obj_set_radio_value('p_chan_epg_stat', "{=ini-get:/var/tuxbox/config/neutrino.conf;personalize_chan_epg_stat;1~cache=}");
obj_set_radio_value('p_imageinfo', "{=ini-get:/var/tuxbox/config/neutrino.conf;personalize_imageinfo;1~cache=}");
obj_set_radio_value('p_update', "{=ini-get:/var/tuxbox/config/neutrino.conf;personalize_update;1~cache=}");
@@ -324,13 +323,6 @@ function do_init()
<input type="radio" name="p_epgrestart" value="2"/>PIN
</td>
</tr>
<tr><td>Ucodes &uuml;berpr&uuml;fen</td>
<td>
<input type="radio" name="p_ucodecheck" value="0"/>nicht sichtbar&nbsp;
<input type="radio" name="p_ucodecheck" value="1"/>sichtbar&nbsp;
<input type="radio" name="p_ucodecheck" value="2"/>PIN
</td>
</tr>
<tr><td>Sender/EPG Statistik</td>
<td>
<input type="radio" name="p_chan_epg_stat" value="0"/>nicht sichtbar&nbsp;

View File

@@ -1,58 +0,0 @@
{=include-block:Y_Blocks.txt;head=}
<script type="text/javascript">
//<![CDATA[
function do_submit()
{
document.f.su.disabled=true;
if (document.f.R1[0].checked == true) {
_url="/control/exec?Y_Tools&ucodes_upload&cam-alpha.bin";
} else if (document.f.R1[1].checked == true) {
_url="/control/exec?Y_Tools&ucodes_upload&avia500.ux";
} else if (document.f.R1[2].checked == true) {
_url="/control/exec?Y_Tools&ucodes_upload&avia600.ux";
} else if (document.f.R1[3].checked == true) {
_url="/control/exec?Y_Tools&ucodes_upload&ucode.bin";
} else {
alert("Bitte eine Auswahl treffen");
}
document.f.action=_url;
document.f.submit();
}
//]]>
</script>
</head>
<body>
<div class="work_box">
<div class="work_box_head"><div class="work_box_head_h2">
{=var-set:help_url=Help-Settings-ucodes=}{=var-set:menu=Ucodes=}{=include-block:Y_Blocks.txt;work_menu=}</div></div>
<div class="work_box_body">
<table border="0" cellpadding="5" width="100%">
<tr><td width="50%" class="y_form_header">Upload</td><td class="y_form_header">Download</td></tr>
<tr>
<td>
<form name="f" method="post" enctype="multipart/form-data" action="/control/exec?Y_Tools&amp;test_upload">
<p>
<input type="radio" name="R1" checked="checked" value="cam-alpha.bin"/>camalpha.bin<br/>
<input type="radio" name="R1" value="avia500.ux"/>avia500.ux<br/>
<input type="radio" name="R1" value="avia600.ux"/>avia600.ux<br/>
<input type="radio" name="R1" value="ucode.bin"/>ucode.bin<br/>
<input type="file" name="F1" size="20"/><br/>
<button type="button" id="su" ytype="save" name="B1" title="upload selected file" onclick="do_submit()">Absenden</button>
</p>
</form>
</td>
<td>
<ul>
<li><a type="application/octet-stream" href="/var/tuxbox/ucodes/avia500.ux"><u>avia500.ux</u></a></li>
<li><a type="application/octet-stream" href="/var/tuxbox/ucodes/avia600.ux"><u>avia600.ux</u></a></li>
<li><a type="application/octet-stream" href="/var/tuxbox/ucodes/cam-alpha.bin"><u>cam-alpha.bin</u></a></li>
<li><a type="application/octet-stream" href="/var/tuxbox/ucodes/ucode.bin"><u>ucode.bin</u></a></li>
</ul>
</td>
</tr>
</table>
</div>
</div>
</body>
</html>

View File

@@ -126,25 +126,6 @@ function do_check(){
=}
~=}
{=if-not-equal:{=global-var-get:boxtype=}~coolstream~
/*ucodes*/
{=if-file-exists:/var/tuxbox/ucodes/avia500.ux~
sLog_addRow(sLog_body, "green", "Ucodes: avia500.ux found", "ok");
~
sLog_addRow(sLog_body, "yellow", "Ucodes: avia500.ux not found. "+wiki_url("Ucodes"), "notice");
=}
{=if-file-exists:/var/tuxbox/ucodes/avia600.ux~
sLog_addRow(sLog_body, "green", "Ucodes: avia600.ux found", "ok");
~
sLog_addRow(sLog_body, "yellow", "Ucodes: avia600.ux not found. "+wiki_url("Ucodes"), "notice");
=}
{=if-file-exists:/var/tuxbox/ucodes/cam-alpha.bin~
sLog_addRow(sLog_body, "green", "Ucodes: cam-alpha found", "ok");
~
sLog_addRow(sLog_body, "red", "Ucodes: cam-alpha not found. "+wiki_url("Ucodes"), "failed");
=}
~=}
do_stop();
}
//]]>

View File

@@ -1,5 +1,5 @@
version=2.8.0.12
date=20.07.2012
version=2.8.0.13
date=21.07.2012
type=Release
info=Port Coolstream

View File

@@ -215,7 +215,6 @@ set.sync_with_neutrino=Zur Synchronisation mit Neutrino
========Settings General & Menue
set.menue.webserver=Webserver
set.menue.ucodes=Ucodes
set.menue.boot_logo=Boot Logo
set.menue.timer_settings=Timer Einstellungen
set.menue.zapit=Zapit

View File

@@ -218,7 +218,6 @@ set.sync_with_neutrino=Synchronization with Neutrino
=======Settings General & Menue
set.menue.webserver=Webserver
set.menue.ucodes=Ucodes
set.menue.boot_logo=Boot Logo
set.menue.timer_settings=Timer Settings
set.menue.zapit=Zapit

View File

@@ -222,7 +222,6 @@ set.sync_with_neutrino=Sincronização com Neutrino
=======Definições General & Menu
set.menue.webserver=Webserver
set.menue.ucodes=Ucodes
set.menue.boot_logo=Boot Logo
set.menue.timer_settings=Definições do Programador
set.menue.zapit=Zapit

View File

@@ -179,13 +179,6 @@ bootlogo_lcd_upload()
y_format_message_html
}
# -----------------------------------------------------------
ucodes_upload()
{
msg="$1 hochgeladen<br><a href='/Y_Settings_ucodes.htm'><u>next file</u></a>"
upload_copy "$y_path_ucodes/$1"
y_format_message_html
}
# -----------------------------------------------------------
zapit_upload()
{
msg="$1 hochgeladen<br><a href='/Y_Settings_zapit.yhtm'><u>next file</u></a>"
@@ -545,7 +538,6 @@ case "$1" in
image_delete) image_delete_download_page ;;
bootlogo_upload) bootlogo_upload ;;
bootlogo_lcd_upload) bootlogo_lcd_upload ;;
ucodes_upload) ucodes_upload $2 ;;
zapit_upload) zapit_upload $2 ;;
kernel-stack) msg=`dmesg`; y_format_message_html ;;
ps) msg=`ps`; y_format_message_html ;;

View File

@@ -19,7 +19,6 @@ y_path_scripts="$y_path_httpd/scripts"
y_path_usrbin="/var/bin"
y_path_config="/var/tuxbox/config"
y_path_tmp="/tmp"
y_path_ucodes="/var/tuxbox/ucodes"
y_path_zapit="/var/tuxbox/config/zapit"
y_path_plugin_tuxnew="/var/tuxbox/config/tuxnews"