mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 02:41:12 +02:00
yWeb: allow screenshot page as start page
Origin commit data
------------------
Branch: ni/coolstream
Commit: 75639e6e69
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-09-06 (Tue, 06 Sep 2016)
Origin message was:
------------------
- yWeb: allow screenshot page as start page
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -374,6 +374,7 @@ function do_submit()
|
|||||||
<option value="bouquets" selected="selected">{=L:bc.menue.bouquets=}</option>
|
<option value="bouquets" selected="selected">{=L:bc.menue.bouquets=}</option>
|
||||||
<option value="control">{=L:bc.menue.control=}</option>
|
<option value="control">{=L:bc.menue.control=}</option>
|
||||||
<option value="remote">{=L:bc.menue.remote=}</option>
|
<option value="remote">{=L:bc.menue.remote=}</option>
|
||||||
|
<option value="screenshot">{=L:bc.menue.screenshot=}</option>
|
||||||
<option value="none">{=L:empty=}</option>
|
<option value="none">{=L:empty=}</option>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -446,9 +447,16 @@ start-block~frame_boxcontrol
|
|||||||
~
|
~
|
||||||
{=if-equal:{=var-get:startpage=}~control~Y_Tools_Boxcontrol.yhtm
|
{=if-equal:{=var-get:startpage=}~control~Y_Tools_Boxcontrol.yhtm
|
||||||
~
|
~
|
||||||
{=if-equal:{=var-get:startpage=}~remote~Y_Tools_Rcsim.yhtm~Y_NI_blank.yhtm=}
|
{=if-equal:{=var-get:startpage=}~remote~Y_Tools_Rcsim.yhtm
|
||||||
|
~
|
||||||
|
{=if-equal:{=var-get:startpage=}~screenshot~Y_Tools_Screenshot.yhtm?osd=1
|
||||||
|
~
|
||||||
|
Y_NI_blank.yhtm
|
||||||
|
=}
|
||||||
|
=}
|
||||||
=}
|
=}
|
||||||
=}=}
|
=}
|
||||||
|
=}
|
||||||
{=include-block:Y_Blocks.txt;frame_secondary=}
|
{=include-block:Y_Blocks.txt;frame_secondary=}
|
||||||
end-block~frame_boxcontrol
|
end-block~frame_boxcontrol
|
||||||
|
|
||||||
|
@@ -48,11 +48,12 @@ function do_init(){
|
|||||||
document.f.fb.selectedIndex = sel;
|
document.f.fb.selectedIndex = sel;
|
||||||
obj_set_radio_value('screenshot_rc', "{=ini-get:/var/tuxbox/config/Y-Web.conf;screenshot_rc;false~cache=}");
|
obj_set_radio_value('screenshot_rc', "{=ini-get:/var/tuxbox/config/Y-Web.conf;screenshot_rc;false~cache=}");
|
||||||
val = "{=ini-get:/var/tuxbox/config/Y-Web.conf;start_page;bouquets~cache=}";
|
val = "{=ini-get:/var/tuxbox/config/Y-Web.conf;start_page;bouquets~cache=}";
|
||||||
var sel=3;
|
var sel=4;
|
||||||
switch(val){
|
switch(val){
|
||||||
case "bouquets": sel=0; break;
|
case "bouquets": sel=0; break;
|
||||||
case "control": sel=1; break;
|
case "control": sel=1; break;
|
||||||
case "remote": sel=2; break;
|
case "remote": sel=2; break;
|
||||||
|
case "screenshot": sel=3; break;
|
||||||
}
|
}
|
||||||
document.f.start_page.selectedIndex = sel;
|
document.f.start_page.selectedIndex = sel;
|
||||||
style_old = "{=ini-get:/var/tuxbox/config/Y-Web.conf;style~cache=}";
|
style_old = "{=ini-get:/var/tuxbox/config/Y-Web.conf;style~cache=}";
|
||||||
@@ -171,6 +172,7 @@ select {
|
|||||||
<option value="bouquets" selected="selected">{=L:bc.menue.bouquets=}</option>
|
<option value="bouquets" selected="selected">{=L:bc.menue.bouquets=}</option>
|
||||||
<option value="control">{=L:bc.menue.control=}</option>
|
<option value="control">{=L:bc.menue.control=}</option>
|
||||||
<option value="remote">{=L:bc.menue.remote=}</option>
|
<option value="remote">{=L:bc.menue.remote=}</option>
|
||||||
|
<option value="screenshot">{=L:bc.menue.screenshot=}</option>
|
||||||
<option value="none">{=L:empty=}</option>
|
<option value="none">{=L:empty=}</option>
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
|
Reference in New Issue
Block a user