From af7247fd4a5b6ce980c9dbc09b15818d5fb155a3 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 25 Jun 2013 10:37:00 +0200 Subject: [PATCH] yweb: a more suitable caption of remotecontrol button Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/5f87a1246da9621005495c8b24e3e17750c50880 Author: vanhofen Date: 2013-06-25 (Tue, 25 Jun 2013) Origin message was: ------------------ - yweb: a more suitable caption of remotecontrol button --- src/nhttpd/web/Y_Main.css | 2 +- src/nhttpd/web/Y_Tools_Screenshot.yhtm | 16 ++++++++++++---- src/nhttpd/web/languages/Deutsch | 2 ++ src/nhttpd/web/languages/English | 2 ++ 4 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/nhttpd/web/Y_Main.css b/src/nhttpd/web/Y_Main.css index 705b64cad..ea0f859d3 100644 --- a/src/nhttpd/web/Y_Main.css +++ b/src/nhttpd/web/Y_Main.css @@ -51,7 +51,7 @@ button[ytype="timedown"]{background-image:url(/images/time_down.png);} button[ytype="timeadd"]{background-image:url(/images/time_add.png);} button[ytype="snapshot"]{background-image:url(/images/snapshot.png);} button[ytype="clearshot"]{background-image:url(/images/remove.png);} -button[ytype="zoomshot"]{background-image:url(/images/fullscreen.png);} +button[ytype="switchrc"]{background-image:url(/images/fb.png);} button[ytype="go"]{background-image:url(/images/accept.png);} button[ytype="download"]{background-image:url(/images/wget.gif);} button[ytype="clear"]{background-image:url(/images/remove.png);} diff --git a/src/nhttpd/web/Y_Tools_Screenshot.yhtm b/src/nhttpd/web/Y_Tools_Screenshot.yhtm index 6adee9bc7..2e25e5d3d 100644 --- a/src/nhttpd/web/Y_Tools_Screenshot.yhtm +++ b/src/nhttpd/web/Y_Tools_Screenshot.yhtm @@ -65,17 +65,25 @@ function do_clearshot(){ loadSyncURL("/control/exec?Y_Tools&screenshot_clear"); } -function do_zoomshot(){ - // not a really zoom-function +function do_switchrc(){ if (id('remote').style.display == 'none') $('remote').show(); else $('remote').hide(); + + do_switchrc_txt(); +} + +function do_switchrc_txt(){ + if (id('remote').style.display == 'none') + $('switchrc').update("{=L:bc.control.remote=} {=L:show=}"); + else + $('switchrc').update("{=L:bc.control.remote=} {=L:hide=}"); } //]]> - +
{=var-set:help_url==}{=var-set:menu={=L:bc.menue.screenshot=}=}{=include-block:Y_Blocks.txt;work_menu=}
@@ -85,7 +93,7 @@ function do_zoomshot(){
    -   +  
diff --git a/src/nhttpd/web/languages/Deutsch b/src/nhttpd/web/languages/Deutsch index 943dfe257..0457b64cf 100644 --- a/src/nhttpd/web/languages/Deutsch +++ b/src/nhttpd/web/languages/Deutsch @@ -54,6 +54,8 @@ directory=Verzeichnis filename=Dateiname restriced_by_management_ip=Zugriff verwehrt wg. ManagementIP automatic=automatisch +show=zeigen +hide=verstecken # ==========Main Menue main.boxcontrol=Boxsteuerung diff --git a/src/nhttpd/web/languages/English b/src/nhttpd/web/languages/English index df3181952..7e28b9afa 100644 --- a/src/nhttpd/web/languages/English +++ b/src/nhttpd/web/languages/English @@ -54,6 +54,8 @@ directory=Directory filename=Filename restriced_by_management_ip=restricted by ManagementIP automatic=automatically +show=show +hide=hide #========= MAIN Menue main.live_tv_desc=LiveTV