From f0c9aae535d1385b6a988a7888e405788005e99a Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sun, 5 Apr 2015 23:58:30 +0200 Subject: [PATCH] yWeb: disable LogosURL input, when DisplayLogos is disables Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/0bf3eaea75ea6195f7ef2c5123ae806867421f2b Author: vanhofen Date: 2015-04-05 (Sun, 05 Apr 2015) Origin message was: ------------------ - yWeb: disable LogosURL input, when DisplayLogos is disables ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/nhttpd/web/Y_Settings_nhttpd.yhtm | 13 +++++++++++-- src/nhttpd/web/Y_Version.txt | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/nhttpd/web/Y_Settings_nhttpd.yhtm b/src/nhttpd/web/Y_Settings_nhttpd.yhtm index a97d63800..872695929 100644 --- a/src/nhttpd/web/Y_Settings_nhttpd.yhtm +++ b/src/nhttpd/web/Y_Settings_nhttpd.yhtm @@ -9,6 +9,8 @@ function form_init() obj_set_radio_value('threading', "{=ini-get:/var/tuxbox/config/nhttpd.conf;webserver.threading;false=}"); obj_set_radio_value('mod_sendfile_sendAll', "{=ini-get:/var/tuxbox/config/nhttpd.conf;mod_sendfile.sendAll;false=}"); obj_set_radio_value('Tuxbox_DisplayLogos', "{=ini-get:/var/tuxbox/config/nhttpd.conf;Tuxbox.DisplayLogos;true=}"); // MARTII + + do_check_input_LogosURL() } function do_submit() { @@ -23,6 +25,13 @@ function do_submit() document.f.submit(); } } +function do_check_input_LogosURL() +{ + if(document.getElementById('Tuxbox_DisplayLogos').checked == true) + document.f.Tuxbox_LogosURL.readOnly = false; + else + document.f.Tuxbox_LogosURL.readOnly = true; +} //]]> @@ -102,8 +111,8 @@ function do_submit() {=L:set.nhttpd.display_logos=} - {=L:off=}  - {=L:on=} + {=L:off=}  + {=L:on=} diff --git a/src/nhttpd/web/Y_Version.txt b/src/nhttpd/web/Y_Version.txt index e8f31aaae..5d5537a62 100644 --- a/src/nhttpd/web/Y_Version.txt +++ b/src/nhttpd/web/Y_Version.txt @@ -1,4 +1,4 @@ -version=2.9.0.17 +version=2.9.0.18 date=05.04.2015 type=Release info=Port CST