mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
- Activate GraphLcd screenshot in Webif, if activated in Neutrino
This commit is contained in:
@@ -148,7 +148,7 @@ function get_data(){
|
|||||||
<li>
|
<li>
|
||||||
<a target="work" title="{=L:bc.menue.remote_desc=}" href="Y_Tools_Rcsim.yhtm">{=L:bc.menue.remote=}</a>
|
<a target="work" title="{=L:bc.menue.remote_desc=}" href="Y_Tools_Rcsim.yhtm">{=L:bc.menue.remote=}</a>
|
||||||
</li>
|
</li>
|
||||||
{=if-equal:{=global-var-get:graphlcd=}~true~
|
{=if-equal:{=ini-get:%(CONFIGDIR)/neutrino.conf;glcd_enable;0=}~1~
|
||||||
<li>
|
<li>
|
||||||
<a target="work" title="{=L:bc.menue.glcd_screenshot_desc=}" href="Y_Tools_Glcd_Screenshot.yhtm">{=L:bc.menue.glcd_screenshot=}</a>
|
<a target="work" title="{=L:bc.menue.glcd_screenshot_desc=}" href="Y_Tools_Glcd_Screenshot.yhtm">{=L:bc.menue.glcd_screenshot=}</a>
|
||||||
</li>
|
</li>
|
||||||
|
@@ -1,17 +1,5 @@
|
|||||||
{=global-var-set:boxtype=coolstream=}
|
{=global-var-set:boxtype=coolstream=}
|
||||||
{=global-var-set:alpha=true=}
|
{=global-var-set:alpha=true=}
|
||||||
|
|
||||||
{=var-set:boxtype={=func:get_boxtype=}=}
|
|
||||||
{=global-var-set:graphlcd={=if-equal:{=var-get:boxtype=}~VU+ SOLO4K~true~
|
|
||||||
{=if-equal:{=var-get:boxtype=}~VU+ DUO4K~true~
|
|
||||||
{=if-equal:{=var-get:boxtype=}~VU+ ULTIMO4K~true~
|
|
||||||
{=if-equal:{=var-get:boxtype=}~VU+ UNO4KSE~true~false
|
|
||||||
=}=}=}=}
|
|
||||||
=}
|
|
||||||
|
|
||||||
{=ini-get:%(CONFIGDIR)/neutrino.conf;glcd_enable;none=}
|
|
||||||
|
|
||||||
|
|
||||||
{=include-block:Y_Blocks.txt;head=}
|
{=include-block:Y_Blocks.txt;head=}
|
||||||
<script type="text/javascript" src="/prototype.js"></script>
|
<script type="text/javascript" src="/prototype.js"></script>
|
||||||
<script type="text/javascript" src="/Y_Baselib.js"></script>
|
<script type="text/javascript" src="/Y_Baselib.js"></script>
|
||||||
|
@@ -84,7 +84,7 @@ function init(){
|
|||||||
{=var-set:m_link_text={=L:set.menue.pictureviewer=}=}
|
{=var-set:m_link_text={=L:set.menue.pictureviewer=}=}
|
||||||
{=include-block:Y_Blocks.txt;management_link=}
|
{=include-block:Y_Blocks.txt;management_link=}
|
||||||
</li>
|
</li>
|
||||||
{=if-equal:{=global-var-get:graphlcd=}~true~
|
{=if-equal:{=ini-get:%(CONFIGDIR)/neutrino.conf;glcd_enable;0=}~1~
|
||||||
<li>
|
<li>
|
||||||
{=var-set:m_link_href=Y_Settings_glcd.yhtm=}
|
{=var-set:m_link_href=Y_Settings_glcd.yhtm=}
|
||||||
{=var-set:m_link_text={=L:set.menue.glcd_display=}=}
|
{=var-set:m_link_text={=L:set.menue.glcd_display=}=}
|
||||||
|
Reference in New Issue
Block a user