mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
yWeb: disable LogosURL input, when DisplayLogos is disables
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0bf3eaea75
Author: vanhofen <vanhofen@gmx.de>
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
//]]>
|
||||
</script>
|
||||
</head>
|
||||
@@ -102,8 +111,8 @@ function do_submit()
|
||||
<tr>
|
||||
<td>{=L:set.nhttpd.display_logos=}</td>
|
||||
<td>
|
||||
<input type="radio" name="Tuxbox_DisplayLogos" value="false" />{=L:off=}
|
||||
<input type="radio" name="Tuxbox_DisplayLogos" value="true" />{=L:on=}
|
||||
<input type="radio" name="Tuxbox_DisplayLogos" value="false" onClick="do_check_input_LogosURL()" />{=L:off=}
|
||||
<input type="radio" name="Tuxbox_DisplayLogos" value="true" onClick="do_check_input_LogosURL()" id="Tuxbox_DisplayLogos" />{=L:on=}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
version=2.9.0.17
|
||||
version=2.9.0.18
|
||||
date=05.04.2015
|
||||
type=Release
|
||||
info=Port CST
|
||||
|
Reference in New Issue
Block a user