From 35b4cc148314c258e40ba8efec4a23eef7ab4cdd Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Fri, 5 Dec 2014 22:30:14 +0100 Subject: [PATCH] - yWeb: use an include-block to paint submit/apply buttons --- src/nhttpd/web/Y_Version.txt | 2 +- src/nhttpd/web/Y_neutrino_Blocks.txt | 48 +++++++++++----------------- src/nhttpd/web/languages/Deutsch | 1 + src/nhttpd/web/languages/English | 3 +- 4 files changed, 23 insertions(+), 31 deletions(-) diff --git a/src/nhttpd/web/Y_Version.txt b/src/nhttpd/web/Y_Version.txt index 11e991a9c..14fadf2f3 100644 --- a/src/nhttpd/web/Y_Version.txt +++ b/src/nhttpd/web/Y_Version.txt @@ -1,4 +1,4 @@ -version=2.8.0.64 +version=2.8.0.65 date=05.12.2014 type=Release info=Port CST diff --git a/src/nhttpd/web/Y_neutrino_Blocks.txt b/src/nhttpd/web/Y_neutrino_Blocks.txt index 9269e9199..e69b9dbed 100644 --- a/src/nhttpd/web/Y_neutrino_Blocks.txt +++ b/src/nhttpd/web/Y_neutrino_Blocks.txt @@ -30,6 +30,15 @@ start-block~neutrino_form_helpbox end-block~neutrino_form_helpbox +# ------- Neutrino form submit buttons +start-block~neutrino_form_submit + +   + +   + {=L:help=} +end-block~neutrino_form_submit + # ------- Neutrino form-data: record ------------------------------- start-block~neutrino_form-data_record
@@ -139,9 +148,7 @@ start-block~neutrino_form-data_record - -   -  {=L:help=} + {=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=}
@@ -225,9 +232,7 @@ start-block~neutrino_form-data_movieplayer - -   -  {=L:help=} + {=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=} @@ -292,9 +297,7 @@ start-block~neutrino_form-data_parental - -   -  {=L:help=} + {=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=} @@ -424,8 +427,7 @@ start-block~neutrino_form-data_epg - -   + {=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=} @@ -697,9 +699,7 @@ start-block~neutrino_form-data_diverse - -   -  {=L:help=} + {=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=} @@ -893,9 +893,7 @@ start-block~neutrino_form-data_bootoptions - -   -  {=L:help=} + {=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=} @@ -981,9 +979,7 @@ start-block~neutrino_form-data_pictureviewer - -   -  {=L:help=} + {=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=} @@ -1086,9 +1082,7 @@ start-block~neutrino_form-data_audioplayer - -   -  {=L:help=} + {=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=} @@ -1257,9 +1251,7 @@ start-block~neutrino_form-data_direct_recording - -   -  {=L:help=} + {=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=} @@ -1330,9 +1322,7 @@ start-block~neutrino_form-data_esound - -   -  {=L:help=} + {=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=} diff --git a/src/nhttpd/web/languages/Deutsch b/src/nhttpd/web/languages/Deutsch index aa70dcb8f..51a45530d 100644 --- a/src/nhttpd/web/languages/Deutsch +++ b/src/nhttpd/web/languages/Deutsch @@ -30,6 +30,7 @@ save=Speichern save_all=Alle Änderungen speichern cancel=Abbrechen apply=Änderungen anwenden +apply_desc=Liest die Konfigurationsdatei von Neutrino neu ein answer=Antwort reboot=Neustart shutdown=Ausschalten diff --git a/src/nhttpd/web/languages/English b/src/nhttpd/web/languages/English index dd5f760e7..7f342bfe5 100644 --- a/src/nhttpd/web/languages/English +++ b/src/nhttpd/web/languages/English @@ -29,7 +29,8 @@ management=Management uninstaller=Uninstaller send=send cancel=cancel -apply=Apply changes +apply=apply changes +apply_desc=reload neutrino configfile answer=Answer reboot=reboot shutdown=shutdown