yeb: fix graphlcd; TODO: add locales

Origin commit data
------------------
Commit: 483b4b18e7
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-06-20 (Sat, 20 Jun 2020)

Origin message was:
------------------
- yeb: fix graphlcd; TODO: add locales
This commit is contained in:
vanhofen
2020-06-20 00:20:26 +02:00
parent bf183a583a
commit 0b99c6e8c5
3 changed files with 9 additions and 18 deletions

View File

@@ -148,19 +148,11 @@ function get_data(){
<li>
<a target="work" title="{=L:bc.menue.remote_desc=}" href="Y_Tools_Rcsim.yhtm">{=L:bc.menue.remote=}</a>
</li>
{=if-not-equal:{=var-get:boxtype=}~VU+ SOLO4K~
{=if-not-equal:{=var-get:boxtype=}~VU+ DUO4K~
{=if-not-equal:{=var-get:boxtype=}~VU+ ULTIMO4K~
{=if-not-equal:{=var-get:boxtype=}~VU+ UNO4K~
{=if-not-equal:{=var-get:boxtype=}~VU+ UNO4KSE~
{=if-equal:{=global-var-get:graphlcd=}~true~
<li>
<a target="work" title="{=L:bc.menue.glcd_screenshot_desc=}" href="Y_Tools_Glcd_Screenshot.yhtm">{=L:bc.menue.glcd_screenshot=}</a>
</li>
~=}
~=}
~=}
~=}
~=}
{=if-not-equal:{=global-var-get:boxtype=}~coolstream~
<li>
{=if-empty:{=var-get:lcshot=}~

View File

@@ -1,5 +1,12 @@
{=global-var-set:boxtype=coolstream=}
{=global-var-set:alpha=true=}
{=global-var-set:graphlcd=false=}
{=if-equal:{=var-get:boxtype=}~VU+ SOLO4K~ {=global-var-set:graphlcd=true=}~=}
{=if-equal:{=var-get:boxtype=}~VU+ DUO4K~ {=global-var-set:graphlcd=true=}~=}
{=if-equal:{=var-get:boxtype=}~VU+ ULTIMO4K~ {=global-var-set:graphlcd=true=}~=}
{=if-equal:{=var-get:boxtype=}~VU+ UNO4KSE~ {=global-var-set:graphlcd=true=}~=}
{=include-block:Y_Blocks.txt;head=}
<script type="text/javascript" src="/prototype.js"></script>
<script type="text/javascript" src="/Y_Baselib.js"></script>

View File

@@ -84,21 +84,13 @@ function init(){
{=var-set:m_link_text={=L:set.menue.pictureviewer=}=}
{=include-block:Y_Blocks.txt;management_link=}
</li>
{=if-not-equal:{=var-get:boxtype=}~VU+ SOLO4K~
{=if-not-equal:{=var-get:boxtype=}~VU+ DUO4K~
{=if-not-equal:{=var-get:boxtype=}~VU+ ULTIMO4K~
{=if-not-equal:{=var-get:boxtype=}~VU+ UNO4K~
{=if-not-equal:{=var-get:boxtype=}~VU+ UNO4KSE~
{=if-equal:{=global-var-get:graphlcd=}~true~
<li>
{=var-set:m_link_href=Y_Settings_glcd.yhtm=}
{=var-set:m_link_text={=L:set.menue.glcd_display=}=}
{=include-block:Y_Blocks.txt;management_link=}
</li>
~=}
~=}
~=}
~=}
~=}
{=if-not-equal:{=global-var-get:boxtype=}~coolstream~
<li>
{=var-set:m_link_href=Y_Settings_video_audio.yhtm=}