mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
- yWeb: remove unused/obsolete bootoptions blocks
This commit is contained in:
@@ -106,11 +106,6 @@ function init(){
|
||||
{=var-set:m_link_text={=L:set.menue.key_settings=}=}
|
||||
{=include-block:Y_Blocks.txt;management_link=}
|
||||
</li>
|
||||
<li>
|
||||
{=var-set:m_link_href=Y_Settings_neutrino_forms.yhtm?form=neutrino_form-data_bootoptions=}
|
||||
{=var-set:m_link_text={=L:set.menue.boot_options=}=}
|
||||
{=include-block:Y_Blocks.txt;management_link=}
|
||||
</li>
|
||||
<li>
|
||||
{=var-set:m_link_href=Y_Settings_neutrino_forms.yhtm?form=neutrino_form-data_diverse=}
|
||||
{=var-set:m_link_text={=L:set.menue.others=}=}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
version=2.8.0.66
|
||||
version=2.8.0.67
|
||||
date=05.12.2014
|
||||
type=Release
|
||||
info=Port CST
|
||||
|
@@ -789,165 +789,6 @@ start-block~neutrino_diverse_save_settings
|
||||
{=ini-set:/var/tuxbox/config/zapit/zapit.conf;makeRemainingChannelsBouquet;{=bouquet_others=}~save=}
|
||||
end-block~neutrino_diverse_save_settings
|
||||
|
||||
|
||||
# ------- Neutrino form-data: bootoptions -------------------------------
|
||||
start-block~neutrino_form-data_bootoptions
|
||||
<div class="work_box">
|
||||
<div class="work_box_head"><div class="work_box_head_h2">
|
||||
{=var-set:help_url=Help-Settings-Bootoptionen=}{=var-set:menu=Treiber- und Bootoptionen=}{=include-block:Y_Blocks.txt;work_menu=}</div></div>
|
||||
<div class="work_box_body">
|
||||
<form name="f" class="y_form" action="/y/cgi">
|
||||
<table cellspacing="0" border="0" cellpadding="2" width="100%">
|
||||
<tr title="SPTS mode: off/on">
|
||||
<td width="35%">SPTS-Mode Treiber laden</td>
|
||||
<td>
|
||||
<input type="radio" name="misc_spts" value="false"/>{=L:off=}
|
||||
<input type="radio" name="misc_spts" value="true"/>{=L:on=}
|
||||
</td>
|
||||
</tr>
|
||||
<tr title="Bootinfo: off/on">
|
||||
<td>Infos beim Booten anzeigen</td>
|
||||
<td>
|
||||
<input type="radio" name="bootinfo" value="0"/>{=L:off=}
|
||||
<input type="radio" name="bootinfo" value="1"/>{=L:on=}
|
||||
</td>
|
||||
</tr>
|
||||
<tr title="HW Sections: off/on">
|
||||
<td>HW-Sections verwenden</td>
|
||||
<td>
|
||||
<input type="radio" name="hwsections" value="0"/>{=L:off=}
|
||||
<input type="radio" name="hwsections" value="1"/>{=L:on=}
|
||||
</td>
|
||||
</tr>
|
||||
<tr title="AVIA-Watchdog: off/on">
|
||||
<td>AVIA-Watchdog aktivieren</td>
|
||||
<td>
|
||||
<input type="radio" name="no_watchdog" value="0"/>{=L:off=}
|
||||
<input type="radio" name="no_watchdog" value="1"/>{=L:on=}
|
||||
</td>
|
||||
</tr>
|
||||
<tr title="eNX-Watchdog: off/on">
|
||||
<td>eNX-Watchdog aktivieren</td>
|
||||
<td>
|
||||
<input type="radio" name="no_enxwatchdog" value="0"/>{=L:off=}
|
||||
<input type="radio" name="no_enxwatchdog" value="1"/>{=L:on=}
|
||||
</td>
|
||||
</tr>
|
||||
<tr title="philips rc patch: off/on">
|
||||
<td>Philips/Sagem FB Workaround</td>
|
||||
<td>
|
||||
<input type="radio" name="philips_rc_patch" value="0"/>{=L:off=}
|
||||
<input type="radio" name="philips_rc_patch" value="1"/>{=L:on=}
|
||||
</td>
|
||||
</tr>
|
||||
<tr title="AVIA spts-fix: off/on">
|
||||
<td>SPTS-Fix AVIA500</td>
|
||||
<td>
|
||||
<input type="radio" name="sptsfix" value="0"/>{=L:off=}
|
||||
<input type="radio" name="sptsfix" value="1"/>{=L:on=}
|
||||
</td>
|
||||
</tr>
|
||||
<tr title="RTC: off/on">
|
||||
<td>Realtime Clock (RTC) aktivieren</td>
|
||||
<td>
|
||||
<input type="radio" name="rtc" value="0"/>{=L:off=}
|
||||
<input type="radio" name="rtc" value="1"/>{=L:on=}
|
||||
</td>
|
||||
</tr>
|
||||
<tr title="PMT Update: off/on">
|
||||
<td>PMT Update verwenden</td>
|
||||
<td>
|
||||
<input type="radio" name="no_pmt_update" value="0"/>{=L:off=}
|
||||
<input type="radio" name="no_pmt_update" value="1"/>{=L:on=}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>EXPERT! Boot-Konsole</td>
|
||||
<td>
|
||||
<select name="console" title="expert boot-console">
|
||||
<option value="null" selected="selected">null</option>
|
||||
<option value="ttyS0">seriell</option>
|
||||
<option value="tty">framebuffer</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr title="Fullduplex: off/on">
|
||||
<td>FullDuplex Mode</td>
|
||||
<td>
|
||||
<input type="radio" name="dbox_duplex" value="0"/>{=L:off=}
|
||||
<input type="radio" name="dbox_duplex" value="1"/>{=L:on=}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" width="35%" class="y_form_header">Diverses</td>
|
||||
</tr>
|
||||
<tr title="Bootmenu: off/on">
|
||||
<td>Bootmenü anzeigen</td>
|
||||
<td>
|
||||
<input type="radio" name="bootmenu" value="0"/>{=L:off=}
|
||||
<input type="radio" name="bootmenu" value="1"/>{=L:on=}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br/>
|
||||
<input type="hidden" name="tmpl" value="Y_Settings_neutrino_forms.yhtm"/>
|
||||
<input type="hidden" name="execute" value="include-block:Y_neutrino_Blocks.txt;neutrino_bootoptions_save_settings;nix"/>
|
||||
<input type="hidden" name="form" value="{=form=}"/>
|
||||
{=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=}
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
function form_init()
|
||||
{
|
||||
var val = "{=ini-get:/var/tuxbox/boot/boot.conf;console~open=}";
|
||||
var sel = 0;
|
||||
if(val=="ttyS0") sel=1;
|
||||
if(val=="tty") sel=2;
|
||||
document.f.console.selectedIndex = sel;
|
||||
|
||||
obj_set_radio_value('dbox_duplex', "{=ini-get:/var/tuxbox/boot/boot.conf;dbox_duplex~cache=}");
|
||||
obj_set_radio_value('misc_spts', "{=ini-get:/var/tuxbox/config/neutrino.conf;misc_spts~open=}");
|
||||
obj_set_radio_value('bootmenu', "{=if-file-exists:/var/etc/.neutrino~0~1=}");
|
||||
obj_set_radio_value('bootinfo', "{=if-file-exists:/var/etc/.boot_info~1~0=}");
|
||||
obj_set_radio_value('hwsections', "{=if-file-exists:/var/etc/.hw_sections~0~1=}");
|
||||
obj_set_radio_value('no_watchdog', "{=if-file-exists:/var/etc/.no_watchdog~0~1=}");
|
||||
obj_set_radio_value('no_enxwatchdog', "{=if-file-exists:/var/etc/.no_enxwatchdog~0~1=}");
|
||||
obj_set_radio_value('philips_rc_patch', "{=if-file-exists:/var/etc/.philips_rc_patch~1~0=}");
|
||||
obj_set_radio_value('sptsfix', "{=if-file-exists:/var/etc/.sptsfix~1~0=}");
|
||||
obj_set_radio_value('rtc', "{=if-file-exists:/var/etc/.rtc~1~0=}");
|
||||
obj_set_radio_value('no_pmt_update', "{=if-file-exists:/var/etc/.no_pmt_update~0~1=}");
|
||||
}
|
||||
|
||||
function do_submit()
|
||||
{
|
||||
show_waitbox(true);
|
||||
document.f.submit();
|
||||
}
|
||||
form_init();
|
||||
//]]>
|
||||
</script>
|
||||
end-block~neutrino_form-data_bootoptions
|
||||
|
||||
# ------- yWeb save Settings
|
||||
start-block~neutrino_bootoptions_save_settings
|
||||
{=ini-set:/var/tuxbox/config/neutrino.conf;misc_spts;{=misc_spts=}=}
|
||||
{=file-action:/var/etc/.neutrino;{=if-equal:{=bootmenu=}~0~add~delete=}=}
|
||||
{=file-action:/var/etc/.boot_info;{=if-equal:{=bootinfo=}~1~add~delete=}=}
|
||||
{=file-action:/var/etc/.hw_sections;{=if-equal:{=hwsections=}~0~add~delete=}=}
|
||||
{=file-action:/var/etc/.no_watchdog;{=if-equal:{=no_watchdog=}~0~add~delete=}=}
|
||||
{=file-action:/var/etc/.no_enxwatchdog;{=if-equal:{=no_enxwatchdog=}~0~add~delete=}=}
|
||||
{=file-action:/var/etc/.philips_rc_patch;{=if-equal:{=philips_rc_patch=}~1~add~delete=}=}
|
||||
{=file-action:/var/etc/.sptsfix;{=if-equal:{=sptsfix=}~1~add~delete=}=}
|
||||
{=file-action:/var/etc/.rtc;{=if-equal:{=rtc=}~1~add~delete=}=}
|
||||
{=file-action:/var/etc/.no_pmt_update;{=if-equal:{=no_pmt_update=}~0~add~delete=}=}
|
||||
{=ini-set:/var/tuxbox/boot/boot.conf;console;{=console=}=}
|
||||
{=ini-set:/var/tuxbox/boot/boot.conf;dbox_duplex;{=dbox_duplex=}=}
|
||||
|
||||
#{=file-action:/var/etc/.test;add;moin\nduu=}
|
||||
end-block~neutrino_bootoptions_save_settings
|
||||
|
||||
# ------- Neutrino form-data: pictureviewer -------------------------------
|
||||
start-block~neutrino_form-data_pictureviewer
|
||||
<div class="work_box">
|
||||
|
Reference in New Issue
Block a user