diff --git a/data/y-web/Y_Boxcontrol_Menue.yhtm b/data/y-web/Y_Boxcontrol_Menue.yhtm index b8283068a..2f1eb8ab4 100644 --- a/data/y-web/Y_Boxcontrol_Menue.yhtm +++ b/data/y-web/Y_Boxcontrol_Menue.yhtm @@ -148,7 +148,7 @@ function get_data(){
  • {=L:bc.menue.remote=}
  • - {=if-equal:{=global-var-get:graphlcd=}~true~ + {=if-equal:{=ini-get:%(CONFIGDIR)/neutrino.conf;glcd_enable;0=}~1~
  • {=L:bc.menue.glcd_screenshot=}
  • diff --git a/data/y-web/Y_Menue.yhtm b/data/y-web/Y_Menue.yhtm index 92579404a..7263711a8 100644 --- a/data/y-web/Y_Menue.yhtm +++ b/data/y-web/Y_Menue.yhtm @@ -1,17 +1,5 @@ {=global-var-set:boxtype=coolstream=} {=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=} diff --git a/data/y-web/Y_Settings_Menue.yhtm b/data/y-web/Y_Settings_Menue.yhtm index b22cd89dd..6d4cceca7 100644 --- a/data/y-web/Y_Settings_Menue.yhtm +++ b/data/y-web/Y_Settings_Menue.yhtm @@ -84,12 +84,12 @@ function init(){ {=var-set:m_link_text={=L:set.menue.pictureviewer=}=} {=include-block:Y_Blocks.txt;management_link=} - {=if-equal:{=global-var-get:graphlcd=}~true~ -
  • - {=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=} -
  • + {=if-equal:{=ini-get:%(CONFIGDIR)/neutrino.conf;glcd_enable;0=}~1~ +
  • + {=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=} +
  • ~=} {=if-not-equal:{=global-var-get:boxtype=}~coolstream~